@progress/kendo-react-spreadsheet 5.14.0-dev.202305151331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +11 -0
- package/NOTICE.txt +117 -0
- package/README.md +46 -0
- package/about.md +3 -0
- package/dist/cdn/js/kendo-react-spreadsheet.js +1 -0
- package/dist/es/FormulaInput.d.ts +5 -0
- package/dist/es/FormulaInput.js +116 -0
- package/dist/es/List.d.ts +5 -0
- package/dist/es/List.js +17 -0
- package/dist/es/NameBox.d.ts +5 -0
- package/dist/es/NameBox.js +88 -0
- package/dist/es/SheetsBar.d.ts +5 -0
- package/dist/es/SheetsBar.js +233 -0
- package/dist/es/Spreadsheet.d.ts +3 -0
- package/dist/es/Spreadsheet.js +206 -0
- package/dist/es/SpreadsheetProps.d.ts +104 -0
- package/dist/es/SpreadsheetProps.js +1 -0
- package/dist/es/main.d.ts +3 -0
- package/dist/es/main.js +2 -0
- package/dist/es/messages.d.ts +76 -0
- package/dist/es/messages.js +208 -0
- package/dist/es/package-metadata.d.ts +5 -0
- package/dist/es/package-metadata.js +11 -0
- package/dist/es/tools/align.d.ts +9 -0
- package/dist/es/tools/align.js +39 -0
- package/dist/es/tools/backgroundColor.d.ts +5 -0
- package/dist/es/tools/backgroundColor.js +12 -0
- package/dist/es/tools/bold.d.ts +5 -0
- package/dist/es/tools/bold.js +5 -0
- package/dist/es/tools/defaultTools.d.ts +2 -0
- package/dist/es/tools/defaultTools.js +42 -0
- package/dist/es/tools/export.d.ts +5 -0
- package/dist/es/tools/export.js +16 -0
- package/dist/es/tools/fontFamily.d.ts +5 -0
- package/dist/es/tools/fontFamily.js +18 -0
- package/dist/es/tools/fontSize.d.ts +5 -0
- package/dist/es/tools/fontSize.js +20 -0
- package/dist/es/tools/format.d.ts +5 -0
- package/dist/es/tools/format.js +23 -0
- package/dist/es/tools/gridLines.d.ts +6 -0
- package/dist/es/tools/gridLines.js +22 -0
- package/dist/es/tools/index.d.ts +17 -0
- package/dist/es/tools/index.js +17 -0
- package/dist/es/tools/italic.d.ts +5 -0
- package/dist/es/tools/italic.js +5 -0
- package/dist/es/tools/open.d.ts +5 -0
- package/dist/es/tools/open.js +33 -0
- package/dist/es/tools/redo.d.ts +5 -0
- package/dist/es/tools/redo.js +5 -0
- package/dist/es/tools/tableTools.d.ts +20 -0
- package/dist/es/tools/tableTools.js +72 -0
- package/dist/es/tools/textColor.d.ts +5 -0
- package/dist/es/tools/textColor.js +12 -0
- package/dist/es/tools/textWrap.d.ts +6 -0
- package/dist/es/tools/textWrap.js +23 -0
- package/dist/es/tools/underline.d.ts +5 -0
- package/dist/es/tools/underline.js +5 -0
- package/dist/es/tools/undo.d.ts +5 -0
- package/dist/es/tools/undo.js +5 -0
- package/dist/es/tools/utils.d.ts +79 -0
- package/dist/es/tools/utils.js +102 -0
- package/dist/npm/FormulaInput.d.ts +5 -0
- package/dist/npm/FormulaInput.js +119 -0
- package/dist/npm/List.d.ts +5 -0
- package/dist/npm/List.js +20 -0
- package/dist/npm/NameBox.d.ts +5 -0
- package/dist/npm/NameBox.js +91 -0
- package/dist/npm/SheetsBar.d.ts +5 -0
- package/dist/npm/SheetsBar.js +237 -0
- package/dist/npm/Spreadsheet.d.ts +3 -0
- package/dist/npm/Spreadsheet.js +209 -0
- package/dist/npm/SpreadsheetProps.d.ts +104 -0
- package/dist/npm/SpreadsheetProps.js +2 -0
- package/dist/npm/main.d.ts +3 -0
- package/dist/npm/main.js +20 -0
- package/dist/npm/messages.d.ts +76 -0
- package/dist/npm/messages.js +211 -0
- package/dist/npm/package-metadata.d.ts +5 -0
- package/dist/npm/package-metadata.js +14 -0
- package/dist/npm/tools/align.d.ts +9 -0
- package/dist/npm/tools/align.js +43 -0
- package/dist/npm/tools/backgroundColor.d.ts +5 -0
- package/dist/npm/tools/backgroundColor.js +15 -0
- package/dist/npm/tools/bold.d.ts +5 -0
- package/dist/npm/tools/bold.js +8 -0
- package/dist/npm/tools/defaultTools.d.ts +2 -0
- package/dist/npm/tools/defaultTools.js +45 -0
- package/dist/npm/tools/export.d.ts +5 -0
- package/dist/npm/tools/export.js +20 -0
- package/dist/npm/tools/fontFamily.d.ts +5 -0
- package/dist/npm/tools/fontFamily.js +22 -0
- package/dist/npm/tools/fontSize.d.ts +5 -0
- package/dist/npm/tools/fontSize.js +24 -0
- package/dist/npm/tools/format.d.ts +5 -0
- package/dist/npm/tools/format.js +27 -0
- package/dist/npm/tools/gridLines.d.ts +6 -0
- package/dist/npm/tools/gridLines.js +26 -0
- package/dist/npm/tools/index.d.ts +17 -0
- package/dist/npm/tools/index.js +33 -0
- package/dist/npm/tools/italic.d.ts +5 -0
- package/dist/npm/tools/italic.js +8 -0
- package/dist/npm/tools/open.d.ts +5 -0
- package/dist/npm/tools/open.js +37 -0
- package/dist/npm/tools/redo.d.ts +5 -0
- package/dist/npm/tools/redo.js +8 -0
- package/dist/npm/tools/tableTools.d.ts +20 -0
- package/dist/npm/tools/tableTools.js +75 -0
- package/dist/npm/tools/textColor.d.ts +5 -0
- package/dist/npm/tools/textColor.js +15 -0
- package/dist/npm/tools/textWrap.d.ts +6 -0
- package/dist/npm/tools/textWrap.js +27 -0
- package/dist/npm/tools/underline.d.ts +5 -0
- package/dist/npm/tools/underline.js +8 -0
- package/dist/npm/tools/undo.d.ts +5 -0
- package/dist/npm/tools/undo.js +8 -0
- package/dist/npm/tools/utils.d.ts +79 -0
- package/dist/npm/tools/utils.js +108 -0
- package/dist/systemjs/kendo-react-spreadsheet.js +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-drawing"),require("@progress/kendo-date-math"),require("@progress/kendo-licensing"),require("react-dom"),require("react-transition-group"),require("@progress/kendo-react-intl")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-drawing","@progress/kendo-date-math","@progress/kendo-licensing","react-dom","react-transition-group","@progress/kendo-react-intl"],t):"object"==typeof exports?exports.KendoReactSpreadsheet=t(require("react"),require("prop-types"),require("@progress/kendo-drawing"),require("@progress/kendo-date-math"),require("@progress/kendo-licensing"),require("react-dom"),require("react-transition-group"),require("@progress/kendo-react-intl")):e.KendoReactSpreadsheet=t(e.React,e.PropTypes,e.KendoDrawing,e.KendoDateMath,e.KendoLicensing,e.ReactDOM,e.ReactTransitionGroup,e.KendoReactIntl)}(self,(function(e,t,n,r,o,i,a,s){return(()=>{var l={6377:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormulaInput=void 0;const r=n(3899),o=n(5362),i=n(5964),a=n(6039);t.FormulaInput=r.forwardRef(((e,t)=>{const[n,s]=r.useState(!1),[l,c]=r.useState(0),[u,h]=r.useState([]),d=r.useMemo((()=>({})),[]);d.showPopup=n,d.popupContentKey=l,d.data=u;const p=r.useRef(null),f=r.useRef(null),m=r.useRef(null),v=r.useCallback((()=>{if(m.current&&m.current.element)return m.current.element.querySelector(".k-focus")}),[]),g=r.useCallback((()=>{const e=v();e&&e.classList.remove("k-focus")}),[]),b=r.useCallback((e=>{const t=Array.from(m.current&&m.current.element.children||[]),n=v();let r;if(n){const o=t.indexOf(n);n.classList.remove("k-focus"),r=t[o+e]?t[o+e]:1===e?t[0]:t[t.length-1]}else r=1===e?t[0]:t[t.length-1];r&&r.classList.add("k-focus")}),[]);r.useImperativeHandle(p,(()=>({element:f.current,props:e,popup:{open:()=>{s(!0)},close:()=>{s(!1)},position:()=>{c(d.popupContentKey+1)},visible:()=>d.showPopup},list:{get element(){return m.current&&m.current.element},data:e=>{if(!e)return d.data;h(e)},value:()=>({}),focus:()=>Array.from(m.current&&m.current.element&&m.current.element.children||[]).indexOf(v()),focusNext:()=>{b(1)},focusPrev:()=>{b(-1)},focusFirst:()=>{const e=m.current&&m.current.element;e&&e.children.item(0)&&(g(),e.children.item(0).classList.add("k-focus"))},focusLast:()=>{const e=m.current&&m.current.element;e&&e.children.length&&(g(),e.children.item(e.children.length-1).classList.add("k-focus"))},itemClick:e=>{d.itemClick=e}}})),[]),r.useImperativeHandle(t,(()=>p.current),[]);const y=r.useCallback((e=>{d.itemClick&&d.itemClick(e)}),[]);return r.createElement(r.Fragment,null,r.createElement("div",{className:(0,a.classNames)("k-spreadsheet-formula-input",e.className),contentEditable:"true",spellCheck:"false",style:{whiteSpace:"pre"},ref:f}),r.createElement(o.Popup,{show:n,anchor:f.current,animate:{openDuration:100,closeDuration:100},contentKey:l},r.createElement(i.List,{data:u,ref:m,onItemClick:y})))})),t.FormulaInput.displayName="FormulaInput",t.FormulaInput.propTypes={}},5964:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;const r=n(3899);t.List=r.forwardRef(((e,t)=>{const n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(()=>({element:o.current,props:e}))),r.useImperativeHandle(t,(()=>n.current)),r.createElement("ul",{ref:o,className:"k-spreadsheet-formula-list k-list-ul k-popup k-group k-reset",onMouseDown:e=>e.preventDefault()},e.data.map((t=>r.createElement("li",{key:t.text,className:"k-list-item",onClick:()=>e.onItemClick(t.value)},r.createElement("span",{className:"k-list-item-text"},t.text)))))})),t.List.displayName="List",t.List.propTypes={}},9248:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NameBox=void 0;const r=n(3899),o=n(6448),i=n(6039),a=n(8696),s=n(499),l=n(5003);t.NameBox=r.forwardRef(((e,t)=>{const n=r.useRef(null),c=r.useRef(null),[u,h]=r.useState([]),[d,p]=r.useState(!1),[f,m]=r.useState(""),v=r.useMemo((()=>({})),[]);v.data=u,r.useImperativeHandle(n,(()=>({value:e=>{if(void 0===e){const e=c.current&&c.current.value;return e&&e.name||e}m(e||"")}})),[]),r.useImperativeHandle(t,(()=>n.current),[]);const g=r.useCallback((t=>{const n=e.nameEditor();n&&n.trigger("delete",{name:t})}),[]),b=r.useCallback(((e,t)=>{const n=r.createElement(r.Fragment,null,e.props.children,r.createElement("span",{role:"button",className:"k-button-delete",onClick:()=>g(t.dataItem[t.textField]),onMouseDown:e=>e.preventDefault(),onPointerDown:e=>e.preventDefault(),"data-role":"delete"},r.createElement(i.IconWrap,{name:"x",icon:a.xIcon})));return r.cloneElement(e,e.props,n)}),[]),y=r.useCallback((e=>r.cloneElement(e,Object.assign({},e.props),r.createElement("div",null))),[]),w=r.useCallback((t=>{if(t.syntheticEvent&&"change"===t.syntheticEvent.type)return;const n=e.nameEditor();n&&(h(n.readData()),p(!0))}),[]),x=r.useCallback((()=>{p(!1)}),[]),k=r.useCallback((t=>{if(t.syntheticEvent.target.closest("[data-role]"))return;const n=e.nameEditor();n&&t.value&&(n.trigger("select",{name:t.value.name}),m(t.value.name))}),[]),z=r.useCallback((t=>{const n=e.nameEditor();if(n)if("Enter"===t.key){const e=t.target.value;n.trigger("enter",{value:e}),m(e)}else"Escape"===t.key&&(n.trigger("cancel"),m(v.prevValue))}),[]),C=r.useCallback((e=>{v.prevValue=e.value.name}),[]);return r.createElement("div",{className:"k-spreadsheet-name-editor",onKeyDown:z},r.createElement(o.ComboBox,{ref:c,title:(0,s.useLocalization)().toLanguageString(l.keys.nameBox,l.messages[l.keys.nameBox]),popupSettings:{className:"k-spreadsheet-names-popup"},clearButton:!1,dataItemKey:"name",textField:"name",itemRender:b,data:u,value:f?u.find((e=>e.name===name))||{name:f}:null,onChange:k,opened:d,onOpen:w,onClose:x,onFocus:C,listNoDataRender:y,allowCustom:!0}))})),t.NameBox.displayName="NameBox",t.NameBox.propTypes={}},5666: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};Object.defineProperty(t,"__esModule",{value:!0}),t.SheetsBar=void 0;const o=n(3899),i=n(6496),a=n(6039),s=n(9207),l=n(8696),c=n(499),u=n(5003),h=o.createContext({onSelect:()=>{},onDelete:()=>{},onEnterEdit:()=>{},onCancelEdit:()=>{},onExitEdit:()=>{},onEdit:()=>{}}),d=e=>{const t=e.dataItem,{onSelect:n,onDelete:r,onEnterEdit:i,onExitEdit:s,onCancelEdit:c,onEdit:u}=o.useContext(h),d=o.useCallback((e=>{e.target instanceof HTMLElement&&"INPUT"===e.target.nodeName||n.call(void 0,t,e)}),[t,n]),p=o.useCallback((e=>{r.call(void 0,t,e)}),[t,r]),f=o.useCallback((e=>{e.target instanceof HTMLElement&&"INPUT"===e.target.nodeName||i.call(void 0,t,e)}),[t,i]),m=o.useCallback((e=>{s.call(void 0,t,e)}),[t,s]),v=o.useCallback((e=>{"Enter"===e.key?s.call(void 0,t,e):"Escape"===e.key&&c.call(void 0,t,e)}),[t,s,c]),g=o.useCallback((e=>{u.call(void 0,Object.assign(Object.assign({},t),{text:e.target.value}),e)}),[t,u]);return o.createElement("li",Object.assign({style:e.style},e.attributes,{ref:e.forwardRef,role:"tab",className:(0,a.classNames)("k-item k-tabstrip-item",{"k-disabled":e.isDisabled,"k-active k-state-tab-on-top k-spreadsheet-sheets-bar-active":t.active,"k-spreadsheet-sheets-bar-inactive":!t.active,"k-first":t.first,"k-last":t.last}),onClick:d,onDoubleClick:f}),t.inEdit?o.createElement("input",{type:"text",className:"k-textbox k-spreadsheet-sheets-editor",value:t.text,onChange:g,maxLength:50,autoFocus:!0,onBlur:m,onKeyDown:v}):o.createElement(o.Fragment,null,o.createElement("span",{className:"k-link"},t.text),t.first&&t.last?null:o.createElement("span",{className:"k-link k-spreadsheet-sheets-remove",onClick:p},o.createElement(a.IconWrap,{name:"x",icon:l.xIcon}))))},p=o.forwardRef(((e,t)=>{const{children:n,className:i}=e,s=r(e,["children","className"]);return o.createElement("ul",Object.assign({className:(0,a.classNames)("k-tabstrip-items k-reset",i),role:"tablist"},s,{ref:t}),n)}));p.displayName="TabsList";const f=e=>{const{sheets:t,setSheets:n,onSheetSelect:r,onSheetDelete:i,onSheetEdit:a,onSheetReorderEnd:l}=e,[c,u]=o.useState(null),f=o.useRef(!1),m=o.useRef(-1),v=o.useCallback((e=>{n(e.map(((e,t,n)=>Object.assign(Object.assign({},e),{first:0===t,last:t===n.length-1}))))}),[]),g=o.useCallback((e=>{v(e.newState)}),[v,l]),b=o.useCallback((e=>{l.call(void 0,e)}),[l]),y=o.useCallback((e=>{f.current=!0,m.current=e.prevIndex}),[]),w=o.useCallback((e=>{setTimeout((()=>{f.current=!1}),50),l.call(void 0,Object.assign(Object.assign({},e),{prevIndex:m.current}))}),[]),x=o.useCallback(((e,t)=>{f.current||r.call(void 0,e,t)}),[r]),k=o.useCallback(((e,t)=>{t.stopPropagation(),i.call(void 0,e)}),[t,i]),z=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((t=>Object.assign(Object.assign({},t),{active:t.id===e.id,inEdit:t.id===e.id})));n(o),u(Object.assign({},e))}),[t]),C=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((e=>Object.assign(Object.assign({},e),{inEdit:!1,text:e.inEdit&&c?c.text:e.text})));n(o),u(null)}),[t,c]),_=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((e=>Object.assign(Object.assign({},e),{inEdit:!1}))),i=t.findIndex((t=>t.id===e.id));n(o),u(null),a.call(void 0,e,i)}),[t,a]),I=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((t=>Object.assign(Object.assign({},t),{text:e.id===t.id?e.text:t.text})));n(o)}),[t]);return o.createElement("div",{className:"k-spreadsheet-sheets-items k-tabstrip k-floatwrap k-tabstrip-bottom"},o.createElement("div",{className:"k-tabstrip-items-wrapper k-hstack"},o.createElement(h.Provider,{value:{onSelect:x,onDelete:k,onEnterEdit:z,onCancelEdit:C,onExitEdit:_,onEdit:I}},o.createElement(s.Sortable,{idField:"id",data:t,itemUI:d,itemsWrapUI:p,onDragOver:g,onNavigate:b,onDragStart:y,onDragEnd:w}))))};t.SheetsBar=e=>{const{spreadsheetRef:t}=e,[n,r]=o.useState([]),s=o.useRef((n.find((e=>e.active))||{}).text),h=o.useCallback((()=>{t.current&&(t.current.view.sheetsbar.onSheetSelect(s.current),r(((e,t)=>e.map(((e,n,r)=>({text:e.name(),id:(0,a.guid)(),first:0===n,last:n===r.length-1,active:e.name()===t}))))(t.current.sheets(),s.current)))}),[]),d=o.useCallback((()=>{if(t.current){const e=t.current.sheets();e.find((e=>e.name()===s.current))||(s.current=e[e.length-1].name()),h()}}),[]);o.useEffect((()=>(t.current&&(s.current=t.current.sheets()[0].name(),h(),t.current.view.bind("update",d)),()=>{t.current&&t.current.view.unbind("update",d)})),[t.current]);const p=o.useCallback((e=>{s.current!==e.text&&(s.current=e.text,h())}),[]),m=o.useCallback((()=>{if(t.current){t.current.view.sheetsbar.onAddSelect();const e=t.current.sheets();s.current=e[e.length-1].name(),h()}}),[]),v=o.useCallback((e=>{if(t.current){if(s.current===e.text){const n=t.current.sheets(),r=n.findIndex((t=>t.name()===e.text)),o=n[r+1]||n[r-1];s.current=o?o.name():""}t.current.view.sheetsbar.onSheetRemove(e.text),h()}}),[]),g=o.useCallback(((e,n)=>{if(t.current){let r=e.text;const o=t.current.sheets();r&&!o.find((e=>e.name()===r))||(r=o[n].name()),t.current.view.sheetsbar.onSheetRename(r,n),s.current=r,h()}}),[]),b=o.useCallback((e=>{if(t.current){const{prevIndex:n,nextIndex:r}=e;t.current.view.sheetsbar.onSheetReorderEnd({oldIndex:n,newIndex:r})}}),[]);return o.createElement("div",{className:"k-spreadsheet-sheets-bar"},o.createElement(i.Button,{fillMode:"flat",icon:"plus",title:(0,c.useLocalization)().toLanguageString(u.keys.addNewSheet,u.messages[u.keys.addNewSheet]),svgIcon:l.plusIcon,onClick:m}),o.createElement(f,{sheets:n,setSheets:r,onSheetSelect:p,onSheetDelete:v,onSheetEdit:g,onSheetReorderEnd:b}))}},4737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spreadsheet=void 0;const r=n(3899),o=n(189),i=n(727),a=n(6496),s=n(6861),l=n(1495),c=n(1676),u=n(6377),h=n(9248),d=n(5666),p=n(3960),f=n(6039),m=n(7363),v=n(8696),g=n(499),b=n(5003),y=["bold","italic","underline","fontFamily","fontSize","color","background","textAlign","verticalAlign","wrap","gridLines"],w={Bold:e=>e.bold,Italic:e=>e.italic,Underline:e=>e.underline,FontFamily:e=>e.fontFamily,FontSize:e=>e.fontSize,TextColor:e=>e.color,BackgroundColor:e=>e.background,Alignment:e=>({textAlign:e.textAlign,verticalAlign:e.verticalAlign}),Wrap:e=>e.wrap,GridLines:e=>e.gridLines},x=":not(.k-dropdownlist button):not(.k-combobox button):not(.k-upload-button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",k=["button"+x,".k-button-group > button"+x,".k-dropdownlist",".k-combobox",".k-colorpicker"];t.Spreadsheet=r.forwardRef(((e,t)=>{(0,f.validatePackage)(m.packageMetadata);const[n,o]=r.useState(0),[x,z]=r.useState(!1),C=r.useRef(null),_=r.useRef(null),I=r.useRef(null),E=r.useRef(null),S=r.useRef(null),[M,O]=r.useState({}),R=r.useRef({});R.current=M;const H=r.useRef({});H.current=e;const F=r.useCallback((e=>{H.current.onRender&&H.current.onRender.call(void 0,e)}),[]),V=r.useCallback((e=>{H.current.onSelect&&H.current.onSelect.call(void 0,e)}),[]),D=r.useCallback((e=>{H.current.onChange&&H.current.onChange.call(void 0,e)}),[]),B=r.useCallback((e=>{H.current.onChangeFormat&&H.current.onChangeFormat.call(void 0,e)}),[]),A=r.useCallback((e=>{H.current.onExcelImport&&H.current.onExcelImport.call(void 0,e)}),[]),N=r.useCallback((e=>{H.current.onExcelExport&&H.current.onExcelExport.call(void 0,e)}),[]),L=r.useRef(null);r.useImperativeHandle(L,(()=>({element:C.current,get instance(){return S.current},props:e})),[e]),r.useImperativeHandle(t,(()=>L.current));const P=r.useCallback((()=>S.current&&S.current.view.nameEditor),[]),T=r.useCallback((e=>{const t={};y.forEach((n=>{"function"==typeof e.range[n]?t[n]=e.range[n]():"gridLines"===n&&(t[n]=e.range.sheet().showGridLines())})),y.some((e=>t[e]!==R.current[e]))&&O(t)}),[]),j=(0,g.useInternationalization)(),U=(0,g.useLocalization)();r.useEffect((()=>{var t;const n=Object.assign(Object.assign({},e.defaultProps),{sheets:structuredClone(null===(t=e.defaultProps)||void 0===t?void 0:t.sheets),messages:{workbook:{defaultSheetName:U.toLanguageString(b.keys.defaultSheetName,b.messages[b.keys.defaultSheetName])}},intl:{localeInfo:()=>j.localeInfo(),parseDate:(e,t)=>j.parseDate(e,t),toString:(e,t)=>j.toString(e,t),format:(e,...t)=>j.format(e,...t)},formulaBarInputRef:_,formulaCellInputRef:I,nameBoxRef:E}),r=new i.Spreadsheet(C.current,n);S.current=r,r.bind("render",F),r.bind("select",V),r.bind("change",D),r.bind("changeFormat",B),r.bind("excelImport",A),r.bind("excelExport",N),r.view.bind("update",T);const o=r.activeSheet();o&&T({range:o.range(o.activeCell())}),z(!0);const a=C.current&&C.current.querySelector(".k-spreadsheet-quick-access-toolbar"),s=C.current&&C.current.querySelector(".k-spreadsheet-tabstrip .k-tabstrip-items");return a&&s&&(s.style.paddingLeft=a.offsetWidth+"px"),()=>{r.destroy()}}),[]);const K=r.useCallback(((e,t)=>{const n=r.createElement(e,{spreadsheetRef:S,value:w[e.displayName]?w[e.displayName](M):void 0,key:t});return n.type===a.ToolbarSeparator?r.createElement(e,{key:t}):n}),[M]),{toolbar:W=p.defaultTabs}=e,q=[];"boolean"==typeof W?q.push(...W?p.defaultTabs:[]):q.push(...W);let $=null;return q.length&&($=r.createElement(s.TabStrip,{selected:n,animation:!1,className:"k-floatwrap k-spreadsheet-tabstrip",style:{minHeight:"auto"},onSelect:e=>o(e.selected)},q.map((e=>{const t=e.textKey?U.toLanguageString(e.textKey,b.messages[e.textKey]):e.text;return r.createElement(s.TabStripTab,{key:e.textKey||e.text,title:t},r.createElement(a.Toolbar,{buttons:k,className:"k-spreadsheet-toolbar"},e.tools.map(((e,t)=>Array.isArray(e)?r.createElement(a.ButtonGroup,{key:t},e.map(((e,t)=>K(e,t)))):K(e,t)))))})))),r.createElement("div",{ref:C,style:e.style,className:(0,f.classNames)("k-widget k-spreadsheet",e.className),role:"application"},$&&r.createElement("div",{className:"k-spreadsheet-quick-access-toolbar"},r.createElement(l.Undo,{spreadsheetRef:S}),r.createElement(c.Redo,{spreadsheetRef:S})),$,r.createElement("div",{className:"k-spreadsheet-action-bar"},r.createElement(h.NameBox,{ref:E,nameEditor:P}),r.createElement("div",{className:"k-spreadsheet-formula-bar"},r.createElement(f.IconWrap,{name:"formula-fx",icon:v.formulaFxIcon}),r.createElement(u.FormulaInput,{ref:_}))),r.createElement("div",{className:"k-spreadsheet-view"},r.createElement("div",{className:"k-spreadsheet-fixed-container"}),r.createElement("div",{className:"k-spreadsheet-scroller"},r.createElement("div",{className:"k-spreadsheet-view-size"})),r.createElement("div",{tabIndex:0,className:"k-spreadsheet-clipboard",contentEditable:"true"}),r.createElement(u.FormulaInput,{ref:I,className:"k-spreadsheet-cell-editor"})),r.createElement(d.SheetsBar,{spreadsheetRef:S}))})),t.Spreadsheet.displayName="KendoReactSpreadsheet",t.Spreadsheet.propTypes={className:o.string,defaultProps:o.any,toolbar:o.oneOfType([o.bool,o.arrayOf(o.any)]),style:o.object,onRender:o.func,onSelect:o.func,onChange:o.func,onChangeFormat:o.func,onExcelImport:o.func,onExcelExport:o.func}},468: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}),t.Spreadsheet=void 0;var i=n(4737);Object.defineProperty(t,"Spreadsheet",{enumerable:!0,get:function(){return i.Spreadsheet}}),o(n(5652),t)},5003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keys=t.messages=void 0;const n="spreadsheet.bold",r="spreadsheet.italic",o="spreadsheet.underline",i="spreadsheet.openFile",a="spreadsheet.textColor",s="spreadsheet.background",l="spreadsheet.addRowAbove",c="spreadsheet.addRowBelow",u="spreadsheet.addColumnLeft",h="spreadsheet.addColumnRight",d="spreadsheet.deleteRow",p="spreadsheet.deleteColumn",f="spreadsheet.undo",m="spreadsheet.redo",v="spreadsheet.fontSize",g="spreadsheet.fontName",b="spreadsheet.format",y="spreadsheet.align",w="spreadsheet.alignLeft",x="spreadsheet.alignRight",k="spreadsheet.alignCenter",z="spreadsheet.alignJustify",C="spreadsheet.alignTop",_="spreadsheet.alignMiddle",I="spreadsheet.alignBottom",E="spreadsheet.textWrap",S="spreadsheet.gridLines",M="spreadsheet.exportToExcel",O="spreadsheet.nameBox",R="spreadsheet.defaultSheetName",H="spreadsheet.home",F="spreadsheet.insert",V="spreadsheet.addNewSheet";t.messages={[n]:"Bold",[r]:"Italic",[o]:"Underline",[f]:"Undo",[m]:"Redo",[v]:"Font size",[g]:"Font",[b]:"Custom format...",[y]:"Align",[w]:"Align Left",[x]:"Align Right",[k]:"Align Center",[z]:"Align Justify",[C]:"Align Top",[_]:"Align Middle",[I]:"Align Bottom",[a]:"Text Color",[s]:"Background color",[l]:"Add row above",[c]:"Add row below",[u]:"Add column left",[h]:"Add column right",[d]:"Delete row",[p]:"Delete column",[i]:"Open...",[M]:"Export to Excel",[E]:"Text Wrap",[S]:"Toggle gridlines",[O]:"Name Box",[R]:"Sheet",[H]:"Home",[F]:"Insert",[V]:"Add new sheet"},t.keys={bold:n,italic:r,underline:o,undo:f,redo:m,fontSize:v,fontName:g,format:b,align:y,alignLeft:w,alignRight:x,alignCenter:k,alignJustify:z,alignTop:C,alignMiddle:_,alignBottom:I,textColor:a,background:s,addRowAbove:l,addRowBelow:c,addColumnLeft:u,addColumnRight:h,deleteRow:d,deleteColumn:p,open:i,exportToExcel:M,textWrap:E,gridLines:S,nameBox:O,defaultSheetName:R,home:H,insert:F,addNewSheet:V}},7363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-spreadsheet",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684156698,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},7628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alignment=void 0;const r=n(3899),o=n(6496),i=n(6039),a=n(8696),s=n(499),l=n(5003),c=[{icon:"align-left",svgIcon:a.alignLeftIcon,textKey:l.keys.alignLeft,commandName:"textAlign",value:"left"},{icon:"align-center",svgIcon:a.alignCenterIcon,textKey:l.keys.alignCenter,commandName:"textAlign",value:"center"},{icon:"align-right",svgIcon:a.alignRightIcon,textKey:l.keys.alignRight,commandName:"textAlign",value:"right"},{icon:"align-justify",svgIcon:a.alignJustifyIcon,textKey:l.keys.alignJustify,commandName:"textAlign",value:"justify"},{icon:"align-top",svgIcon:a.alignTopIcon,textKey:l.keys.alignTop,commandName:"verticalAlign",value:"top"},{icon:"align-middle",svgIcon:a.alignMiddleIcon,textKey:l.keys.alignMiddle,commandName:"verticalAlign",value:"center"},{icon:"align-bottom",svgIcon:a.alignBottomIcon,textKey:l.keys.alignBottom,commandName:"verticalAlign",value:"bottom"}];t.Alignment=e=>{const{value:t,spreadsheetRef:n}=e,{textAlign:u,verticalAlign:h}=t||{},d=(0,s.useLocalization)(),p=r.useCallback((e=>{if(n.current){const t=e.item,r={command:"PropertyChangeCommand",options:{property:t.commandName,value:t.value||null}};n.current.executeCommand(r)}}),[]);let f=c.slice();return f=f.map((e=>Object.assign(Object.assign({},e),{text:d.toLanguageString(e.textKey,l.messages[e.textKey])}))),u&&(f=f.map((e=>"textAlign"===e.commandName?Object.assign(Object.assign({},e),{selected:e.value===u}):e))),h&&(f=f.map((e=>"verticalAlign"===e.commandName?Object.assign(Object.assign({},e),{selected:e.value===h}):e))),r.createElement(o.DropDownButton,{icon:"align-left",svgIcon:a.alignLeftIcon,items:f,onItemClick:p,title:d.toLanguageString(l.keys.align,l.messages[l.keys.align]),text:r.createElement(i.IconWrap,{name:"caret-alt-down",icon:a.caretAltDownIcon})})},t.Alignment.displayName="Alignment"},3560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundColor=void 0;const r=n(5003),o=n(2226),i=n(8696);t.BackgroundColor=(0,o.ColorTool)({icon:"droplet",svgIcon:i.dropletIcon,view:"palette",property:"background",titleKey:r.keys.background,ariaLabel:"Background"}),t.BackgroundColor.displayName="BackgroundColor"},9466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bold=void 0;const r=n(8696),o=n(2226),i=n(5003);t.Bold=(0,o.PropertyChangeTool)({property:"bold",icon:"bold",svgIcon:r.boldIcon,titleKey:i.keys.bold}),t.Bold.displayName="Bold"},3960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTabs=void 0;const r=n(6496),o=n(8062),i=n(1258),a=n(9466),s=n(8858),l=n(4300),c=n(2233),u=n(102),h=n(3515),d=n(3560),p=n(7628),f=n(1315),m=n(4082),v=n(4218),g=n(6561),b=n(5003);t.defaultTabs=[{textKey:b.keys.home,tools:[i.Open,o.ExcelExport,r.ToolbarSeparator,[a.Bold,s.Italic,l.Underline],c.FontFamily,u.FontSize,h.TextColor,d.BackgroundColor,p.Alignment,f.TextWrap,m.GridLines,v.Format]},{textKey:b.keys.insert,tools:[[g.AddColumnLeft,g.AddColumnRight,g.AddRowBelow,g.AddRowAbove],r.ToolbarSeparator,[g.DeleteColumn,g.DeleteRow]]}]},8062:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExcelExport=void 0;const r=n(3899),o=n(6496),i=n(2202),a=n(6904),s=n(8696);t.ExcelExport=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((()=>{t.current&&t.current.saveAsExcel(Object.assign(Object.assign({},t.current.options.excel),{saveAs:i.saveAs,Workbook:a.Workbook}))}),[]);return r.createElement(o.Button,{className:"k-toolbar-button",title:"Export...",icon:"download",svgIcon:s.downloadIcon,onClick:n})},t.ExcelExport.displayName="ExcelExport"},2233:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontFamily=void 0;const r=n(3899),o=n(6448),i=n(2226),a=n(499),s=n(5003);t.FontFamily=e=>{const{spreadsheetRef:t,value:n}=e,l=r.useCallback((e=>{if(t.current){const n={command:"PropertyChangeCommand",options:{property:"fontFamily",value:e.value||null}};t.current.executeCommand(n)}}),[]);return r.createElement(o.DropDownList,{onChange:l,value:n,data:i.FONT_FAMILIES,defaultValue:i.DEFAULT_FONT_FAMILY,title:(0,a.useLocalization)().toLanguageString(s.keys.fontName,s.messages[s.keys.fontName]),leftRightKeysNavigation:!1})},t.FontFamily.displayName="FontFamily"},102:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontSize=void 0;const r=n(3899),o=n(6448),i=n(2226),a=n(5003),s=n(499);t.FontSize=e=>{const{spreadsheetRef:t,value:n}=e,l=r.useCallback((e=>{if(t.current){const n={command:"PropertyChangeCommand",options:{property:"fontSize",value:e.value||null}};setTimeout((()=>{t.current.executeCommand(n)}),0)}}),[]);return r.createElement(o.ComboBox,{onChange:l,value:n,data:i.FONT_SIZES,defaultValue:i.DEFAULT_FONT_SIZE,allowCustom:!0,title:(0,s.useLocalization)().toLanguageString(a.keys.fontSize,a.messages[a.keys.fontSize]),tabIndex:-1})},t.FontSize.displayName="FontSize"},4218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Format=void 0;const r=n(3899),o=n(6496),i=n(8696),a=n(2226),s=n(6039),l=n(499),c=n(5003);t.Format=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((e=>{const n=e.item.value||null;setTimeout((()=>{if(t.current){const e={command:"PropertyChangeCommand",options:{property:"format",value:n}};t.current.executeCommand(e)}}),0)}),[]);return r.createElement(o.DropDownButton,{icon:"custom-format",svgIcon:i.customFormatIcon,onItemClick:n,items:a.FORMATS,title:(0,l.useLocalization)().toLanguageString(c.keys.format,c.messages[c.keys.format]),text:r.createElement(s.IconWrap,{name:"caret-alt-down"})})},t.Format.displayName="Format"},4082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridLines=void 0;const r=n(3899),o=n(6496),i=n(8696),a=n(499),s=n(5003);t.GridLines=e=>{const{value:t,spreadsheetRef:n}=e,l=r.useCallback((()=>{if(n.current){const e=n.current.activeSheet();if(e){const t={command:"GridLinesChangeCommand",options:{property:"gridLines",value:!e.showGridLines()}};n.current.executeCommand(t)}}}),[]);return r.createElement(o.Button,{type:"button",togglable:!0,icon:"borders-none",svgIcon:i.bordersNoneIcon,title:(0,a.useLocalization)().toLanguageString(s.keys.gridLines,s.messages[s.keys.gridLines]),onClick:l,selected:t})},t.GridLines.displayName="GridLines"},5652: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(7628),t),o(n(3560),t),o(n(9466),t),o(n(3960),t),o(n(8062),t),o(n(2233),t),o(n(102),t),o(n(4218),t),o(n(4082),t),o(n(8858),t),o(n(1258),t),o(n(1676),t),o(n(6561),t),o(n(3515),t),o(n(1315),t),o(n(4300),t),o(n(1495),t)},8858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Italic=void 0;const r=n(8696),o=n(2226),i=n(5003);t.Italic=(0,o.PropertyChangeTool)({property:"italic",icon:"italic",svgIcon:r.italicIcon,titleKey:i.keys.italic}),t.Italic.displayName="Italic"},1258:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Open=void 0;const r=n(3899),o=n(6496),i=n(3567),a=n(8696),s=n(499),l=n(5003);t.Open=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((e=>{const t=e.target;if(t instanceof HTMLElement&&t.parentNode){const e=t.closest(".k-toolbar"),n=e&&e.querySelector(".k-upload input");n&&n.click()}}),[]),c=r.useCallback((e=>{const n=e.newState;if(n[0]&&n[0].getRawFile){const e=n[0].getRawFile();t.current&&t.current.fromFile(e)}}),[]);return r.createElement(r.Fragment,null,r.createElement(o.Button,{className:"k-toolbar-button",title:(0,s.useLocalization)().toLanguageString(l.keys.open,l.messages[l.keys.open]),icon:"folder-open",svgIcon:a.folderOpenIcon,onClick:n}),r.createElement("div",{style:{display:"none"}},r.createElement(i.Upload,{restrictions:{allowedExtensions:[".xlsx"]},onAdd:c,autoUpload:!1,defaultFiles:[],multiple:!1,accept:".xlsx,.XLSX",withCredentials:!1})))},t.Open.displayName="Open"},1676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Redo=void 0;const r=n(8696),o=n(2226),i=n(5003);t.Redo=(0,o.UndoRedo)({action:"redo",icon:"redo",svgIcon:r.redoIcon,titleKey:i.keys.redo}),t.Redo.displayName="Redo"},6561:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteRow=t.DeleteColumn=t.AddRowAbove=t.AddRowBelow=t.AddColumnRight=t.AddColumnLeft=void 0;const r=n(3899),o=n(6496),i=n(8696),a=n(5003),s=n(499),l=e=>t=>{const{spreadsheetRef:n}=t,i=r.useCallback((()=>{if(n.current){const t={command:e.command,options:{value:e.value}};n.current.executeCommand(t)}}),[]);return r.createElement(o.Button,{type:"button",icon:e.icon,svgIcon:e.svgIcon,title:(0,s.useLocalization)().toLanguageString(e.titleKey,a.messages[e.titleKey]),onClick:i})},c={command:"AddColumnCommand",value:"left",icon:"table-column-insert-left",svgIcon:i.tableColumnInsertLeftIcon,titleKey:a.keys.addColumnLeft},u={command:"AddColumnCommand",value:"right",icon:"table-column-insert-right",svgIcon:i.tableColumnInsertRightIcon,titleKey:a.keys.addColumnRight},h={command:"AddRowCommand",value:"below",icon:"table-row-insert-below",svgIcon:i.tableRowInsertBelowIcon,titleKey:a.keys.addRowBelow},d={command:"AddRowCommand",value:"above",icon:"table-row-insert-above",svgIcon:i.tableRowInsertAboveIcon,titleKey:a.keys.addRowAbove},p={command:"DeleteColumnCommand",icon:"table-column-delete",svgIcon:i.tableColumnDeleteIcon,titleKey:a.keys.deleteColumn},f={command:"DeleteRowCommand",icon:"table-row-delete",svgIcon:i.tableRowDeleteIcon,titleKey:a.keys.deleteRow};t.AddColumnLeft=l(c),t.AddColumnRight=l(u),t.AddRowBelow=l(h),t.AddRowAbove=l(d),t.DeleteColumn=l(p),t.DeleteRow=l(f),t.AddColumnLeft.displayName="AddColumnLeft",t.AddColumnRight.displayName="AddColumnRight",t.AddRowBelow.displayName="AddRowBelow",t.AddRowAbove.displayName="AddRowAbove",t.DeleteColumn.displayName="DeleteColumn",t.DeleteRow.displayName="DeleteRow"},3515:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextColor=void 0;const r=n(5003),o=n(2226),i=n(8696);t.TextColor=(0,o.ColorTool)({icon:"foreground-color",svgIcon:i.foregroundColorIcon,view:"palette",property:"color",titleKey:r.keys.textColor,ariaLabel:"Text Color"}),t.TextColor.displayName="TextColor"},1315:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextWrap=void 0;const r=n(3899),o=n(6496),i=n(8696),a=n(499),s=n(5003);t.TextWrap=e=>{const{value:t,spreadsheetRef:n}=e,l=r.useCallback((()=>{if(n.current){const e=n.current.activeSheet();if(e){const t={command:"TextWrapCommand",options:{property:"wrap",value:!e.range(e.activeCell()).wrap()}};n.current.executeCommand(t)}}}),[]);return r.createElement(o.Button,{type:"button",togglable:!0,icon:"text-wrap",svgIcon:i.textWrapIcon,title:(0,a.useLocalization)().toLanguageString(s.keys.textWrap,s.messages[s.keys.textWrap]),onClick:l,selected:t})},t.TextWrap.displayName="TextWrap"},4300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Underline=void 0;const r=n(8696),o=n(2226),i=n(5003);t.Underline=(0,o.PropertyChangeTool)({property:"underline",icon:"underline",svgIcon:r.underlineIcon,titleKey:i.keys.underline}),t.Underline.displayName="Underline"},1495:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Undo=void 0;const r=n(8696),o=n(2226),i=n(5003);t.Undo=(0,o.UndoRedo)({action:"undo",icon:"undo",svgIcon:r.undoIcon,titleKey:i.keys.undo}),t.Undo.displayName="Undo"},2226: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};Object.defineProperty(t,"__esModule",{value:!0}),t.UndoRedo=t.ColorTool=t.PropertyChangeTool=t.FORMATS=t.DEFAULT_FONT_SIZE=t.FONT_SIZES=t.DEFAULT_FONT_FAMILY=t.FONT_FAMILIES=void 0;const o=n(3899),i=n(6496),a=n(3062),s=n(499),l=n(5003);t.FONT_FAMILIES=["Arial","Courier New","Georgia","Times New Roman","Trebuchet MS","Verdana"],t.DEFAULT_FONT_FAMILY="Arial",t.FONT_SIZES=[8,9,10,11,12,13,14,16,18,20,22,24,26,28,36,48,72],t.DEFAULT_FONT_SIZE=12,t.FORMATS=[{text:"Automatic",value:null},{text:"Text",value:"@"},{text:"Number",value:"#,0.00"},{text:"Percent",value:"0.00%"},{text:"Financial",value:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)'},{text:"Currency",value:"$#,##0.00;[Red]$#,##0.00"},{text:"Date",value:"m/d/yyyy"},{text:"Time",value:"h:mm:ss AM/PM"},{text:"Date time",value:"m/d/yyyy h:mm"},{text:"Duration",value:"[h]:mm:ss"}],t.PropertyChangeTool=e=>t=>{const{property:n,icon:r,svgIcon:a,titleKey:c}=e,{spreadsheetRef:u,value:h}=t,d=o.useCallback((()=>{if(u.current){const e={command:"PropertyChangeCommand",options:{property:n,value:!h}};u.current.executeCommand(e)}}),[h]);return o.createElement(i.Button,{type:"button",icon:r,svgIcon:a,togglable:!0,onClick:d,selected:h,title:(0,s.useLocalization)().toLanguageString(c,l.messages[c])})},t.ColorTool=e=>t=>{const{property:n,titleKey:i}=e,c=r(e,["property","titleKey"]),{spreadsheetRef:u,value:h}=t,d=o.useCallback((e=>{if(u.current){const t={command:"PropertyChangeCommand",options:{property:n,value:e.value||null}};u.current.executeCommand(t)}}),[n]);return o.createElement(a.ColorPicker,Object.assign({onChange:d,onActiveColorClick:d},c,{title:(0,s.useLocalization)().toLanguageString(i,l.messages[i]),value:h}))},t.UndoRedo=e=>t=>{const{spreadsheetRef:n}=t,r=o.useCallback((()=>{n.current&&n.current.workbook.undoRedoStack[e.action]()}),[]);return o.createElement(i.Button,{type:"button",fillMode:"flat",icon:e.icon,svgIcon:e.svgIcon,title:(0,s.useLocalization)().toLanguageString(e.titleKey,l.messages[e.titleKey]),onClick:r})}},4343:(e,t,n)=>{"use strict";n.d(t,{f:()=>y});var r,o=n(3899),i=n(189),a=n(8047),s=n(3228),l=n(6144),c=n(9013),u=(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(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)}),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)},d=c.Z.styles,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=o.createRef(),t}return u(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,i=t.appear,s=t.enter,c=t.exit,u=t.transitionName,p=t.transitionEnterDuration,f=t.transitionExitDuration,m=t.className,v=t.onEnter,g=t.onEntering,b=t.onEntered,y=t.onExit,w=t.onExiting,x=t.onExited,k=t.onAfterExited,z=t.mountOnEnter,C=t.unmountOnExit,_=t.animationEnteringStyle,I=t.animationEnteredStyle,E=t.animationExitingStyle,S=t.animationExitedStyle,M=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}(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),O=(0,a.A)(m,d["child-animation-container"]),R=h({transitionDelay:"0ms"},r),H={entering:h({transitionDuration:"".concat(p,"ms")},_),entered:h({},I),exiting:h({transitionDuration:"".concat(f,"ms")},E),exited:h({},S)},F={in:this.props.in,appear:i,enter:s,exit:c,mountOnEnter:z,unmountOnExit:C,timeout:{enter:p,exit:f},onEnter:function(){v&&v.call(void 0,{animatedElement:e.element,target:e})},onEntering:function(){g&&g.call(void 0,{animatedElement:e.element,target:e})},onEntered:function(){b&&b.call(void 0,{animatedElement:e.element,target:e})},onExit:function(){y&&y.call(void 0,{animatedElement:e.element,target:e})},onExiting:function(){w&&w.call(void 0,{animatedElement:e.element,target:e})},onExited:function(){k&&k.call(void 0,{animatedElement:e.element,target:e}),x&&x.call(void 0,{animatedElement:e.element,target:e})},classNames:{appear:d["".concat(u,"-appear")]||"".concat(u,"-appear"),appearActive:d["".concat(u,"-appear-active")]||"".concat(u,"-appear-active"),enter:d["".concat(u,"-enter")]||"".concat(u,"-enter"),enterActive:d["".concat(u,"-enter-active")]||"".concat(u,"-enter-active"),exit:d["".concat(u,"-exit")]||"".concat(u,"-exit"),exitActive:d["".concat(u,"-exit-active")]||"".concat(u,"-exit-active")}};return o.createElement(l.CSSTransition,h({},F,M,{nodeRef:this.elementRef}),(function(t){return o.createElement("div",{style:h(h({},R),H[t]),className:O,ref:e.elementRef},n)}))},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:s.Z,onEntering:s.Z,onEntered:s.Z,onExit:s.Z,onExiting:s.Z,onExited:s.Z,onAfterExited:s.Z,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(o.Component),f=n(4006),m={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684154554,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return g=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},g.apply(this,arguments)},b=c.Z.styles,y=function(e){function t(t){var n=e.call(this,t)||this;return(0,f.s)(m),n}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,s=e.className,c=e.childFactory,u=(e.stackChildren,e.componentChildStyle),h=e.componentChildClassName,d=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,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),f={id:t,style:n,component:i,childFactory:c,className:(0,a.A)(b["animation-container"],b["animation-container-relative"],s)},m=o.Children.map(r||null,(function(e){return o.createElement(p,g({},d,{style:u,className:h}),e)}));return o.createElement(l.TransitionGroup,g({},f),m)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(o.Component)},8686:(e,t,n)=>{"use strict";n.d(t,{U:()=>h});var r,o=n(3899),i=n(189),a=n(4343),s=n(3228),l=n(9013),c=(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(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)}),u=function(){return u=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},u.apply(this,arguments)},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props,r=n.onEnter,o=n.onBeforeEnter;o&&o.call(void 0,e),t.updateContainerDimensions(e.animatedElement,(function(){r&&r.call(void 0,e)}))},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.updateContainerDimensions=function(e,n){void 0===n&&(n=s.Z);var r=e.firstChild;if(r){var o=l.Z.outerHeight(r),i=l.Z.outerWidth(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return c(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,i=t.childFactory,s=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}(t,["direction","children","childFactory"]),l=this.state,c=l.maxHeight,h=l.maxWidth,d={maxHeight:(e="vertical"===n?{maxHeight:c?"".concat(c,"px"):""}:{maxWidth:h?"".concat(h,"px"):""}).maxHeight,maxWidth:e.maxWidth};return o.createElement(a.f,u({},s,{childFactory:function(t){var n=i?i(t):t;return n.props.in?n:o.cloneElement(n,u(u({},n.props),{style:u(u({},n.props.style),{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-".concat(n)}),r)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component)},9013:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={outerHeight:function(e){if(!e||!e.ownerDocument.defaultView)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},outerWidth:function(e){if(!e||!e.ownerDocument.defaultView)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},styles:{"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}}},7037:(e,t,n)=>{"use strict";n.d(t,{z:()=>f});var r,o=n(3899),i=n(189),a=n(8130),s=n(8047),l=n(2697),c=n(3218),u=n(4006),h=n(2709),d=(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(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)}),p=function(){return p=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},p.apply(this,arguments)},f=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.handleClick=function(e){n.toggleIfApplicable(),n.props.onClick&&n.props.onClick.call(void 0,e)},(0,u.s)(h.k),n.state={selected:!0===n.props.togglable&&!0===n.props.selected},n}return d(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return void 0!==this._selectedTemp?this._selectedTemp:this.state.selected},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){return e.togglable&&void 0!==e.selected&&e.selected!==t.selected?{selected:e.selected}:null},t.prototype.render=function(){var e,n=this,r=this.props,i=r.children,c=r.togglable,u=r.icon,h=r.iconClass,d=r.svgIcon,f=r.imageUrl,m=r.imageAlt,v=(r.className,r.onClick,r.size),g=void 0===v?t.defaultProps.size:v,b=r.rounded,y=void 0===b?t.defaultProps.rounded:b,w=r.fillMode,x=void 0===w?t.defaultProps.fillMode:w,k=r.themeColor,z=void 0===k?t.defaultProps.themeColor:k,C=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,["children","togglable","icon","iconClass","svgIcon","imageUrl","imageAlt","className","onClick","size","rounded","fillMode","themeColor"]),_=void 0!==u||void 0!==h||void 0!==f,I=void 0!==i,E=function(e){var t=e.imageUrl,n=e.name,r=e.iconClass,i=e.svgIcon,l=e.imageAlt;return t?o.createElement("img",{role:"presentation",className:"k-button-icon",alt:l,src:t}):n||i?o.createElement(a.a,{className:"k-button-icon",name:n,icon:i}):r?o.createElement("span",{role:"presentation",className:(0,s.A)("k-button-icon",r)}):null}({name:u,svgIcon:d,iconClass:h,imageUrl:f,imageAlt:m});return o.createElement("button",p({ref:function(e){return n._element=e},"aria-pressed":c?this.state.selected:void 0},C,{onClick:this.handleClick,className:(0,s.A)("k-button",(e={},e["k-button-".concat(l.G.sizeMap[g]||g)]=g,e["k-button-".concat(x)]=x,e["k-button-".concat(x,"-").concat(z)]=Boolean(x&&z),e["k-rounded-".concat(l.G.roundedMap[y]||y)]=y,e["k-icon-button"]=!I&&_,e["k-disabled"]=this.props.disabled,e["k-selected"]=this.state.selected,e["k-rtl"]="rtl"===this.props.dir,e),this.props.className)}),E,i&&o.createElement("span",{className:"k-button-text"},i))},t.prototype.toggleIfApplicable=function(){var e=this;if(this.props.togglable&&void 0===this.props.selected){var t=!this.state.selected;this._selectedTemp=t,this.setState({selected:t},(function(){return e._selectedTemp=void 0}))}},t.propTypes={children:i.node,selected:i.bool,togglable:i.bool,icon:i.string,svgIcon:c.wi,iconClass:i.string,imageUrl:i.string,imageAlt:i.string,size:i.oneOf([null,"small","medium","large"]),rounded:i.oneOf([null,"small","medium","large","full"]),fillMode:i.oneOf([null,"flat","link","outline","solid"]),themeColor:i.oneOf([null,"base","primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"])},t.defaultProps={togglable:!1,size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(o.Component)},7711:(e,t,n)=>{"use strict";n.d(t,{h:()=>p});var r,o=n(3899),i=n(189),a=n(8047),s=n(4006),l=n(2709),c=n(1889),u=(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(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)}),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)},d=c.Z.styles,p=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,(0,s.s)(l.k),n}return u(t,e),t.prototype.render=function(){var e,t=this,n=this.mapButtons(this.props.children),r=(0,a.A)([d["button-group"]],((e={})["k-disabled"]=this.props.disabled,e[d["button-group-stretched"]]=!!this.props.width,e),this.props.className),i={className:r,style:{width:"".concat(this.props.width)},dir:this.props.dir,role:"group","aria-disabled":this.props.disabled};return o.createElement("div",h({ref:function(e){t._element=e}},i,{className:r}),n)},t.prototype.mapButtons=function(e){var t=this,n=o.Children.count(e),r=void 0!==this.props.dir?"rtl"===this.props.dir:this._element&&"rtl"===getComputedStyle(this._element).direction||!1;return o.Children.map(e,(function(e,i){return o.isValidElement(e)?t.renderButton(e,i,i===n-1,r):e}))},t.prototype.renderButton=function(e,t,n,r){var i,s=(0,a.A)(e.props.className,((i={})[d["group-start"]]=r?n:0===t,i[d["group-end"]]=r?0===t:n,i)),l=h(h({},this.props.width?{width:this.props.width}:{}),e.props.style||{}),c=this.props.disabled||e.props.disabled,u=h(h(h(h({},e.props),s?{className:s}:{}),Object.keys(l).length?{style:l}:{}),void 0!==c?{disabled:c}:{});return o.Children.count(e.props.children)>0?o.cloneElement(e,u,e.props.children):o.cloneElement(e,u)},t.propTypes={children:i.oneOfType([i.arrayOf(i.element),i.element]),className:i.string,disabled:i.bool,width:i.string,dir:i.string},t}(o.Component)},1711:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(3899),o=n(189),i=n(228),a=n(8199),s=n(3493),l=n(4703),c=n(8047),u=n(2697),h=n(8130),d=n(3218),p=n(4163),f=n(5770),m=n(5209),v=n(4006),g=n(2709),b=n(3322),y=function(){return y=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},y.apply(this,arguments)},w=r.forwardRef((function(e,t){var n;(0,v.s)(g.k);var o=r.useRef(null),w=r.useRef(null),x=(0,a.n)(w,e.dir);r.useImperativeHandle(o,(function(){return{element:w.current,props:e}})),r.useImperativeHandle(t,(function(){return o.current}));var k=r.useContext(i.Wn),z=k[0],C=k[1],_=r.useContext(i.OW),I=_[0],E=_[1],S=r.useContext(i.zD)[1],M=r.useMemo((function(){return e.selected||(Array.isArray(z)?z.some((function(t){return t===e.value})):z===e.value)}),[e.selected,e.value,z]),O=r.useMemo((function(){return I===e.value}),[e.value,I]);r.useEffect((function(){O&&w.current&&w.current.focus()}),[O]);var R=r.useCallback((function(t){C({type:m.ey.toggle,payload:e.value,event:t})}),[C,e.value]),H=r.useCallback((function(t){e.removable&&(S({type:f.V.remove,payload:e.value,event:t}),E({type:p.E.reset,payload:e.value,event:t}),C({type:m.ey.remove,payload:e.value,event:t}),e.onRemove&&e.onRemove.call(void 0,{target:o.current,syntheticEvent:t}))}),[e.onRemove,e.value,e.removable,S,E,C]),F=r.useCallback((function(t){switch(t.keyCode){case s.R.left:E({type:p.E.prev,payload:e.value,event:t});break;case s.R.right:E({type:p.E.next,payload:e.value,event:t});break;case s.R.enter:C({type:m.ey.toggle,payload:e.value,event:t});break;case s.R.delete:H(t)}e.onKeyDown&&e.onKeyDown.call(void 0,{target:o.current,syntheticEvent:t})}),[e.onKeyDown,e.value,E,C,H]),V=r.useCallback((function(t){E({payload:e.value,type:p.E.current,event:t}),e.onFocus&&e.onFocus.call(void 0,{target:o.current,syntheticEvent:t})}),[e.onFocus,e.value,E]),D=r.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:o.current,syntheticEvent:t})}),[e.onBlur]),B=(0,b.i)(e,o,{onClick:R});return r.createElement("div",y({},B,{role:e.role,id:e.value,style:e.style,ref:w,dir:x,tabIndex:(0,l.p)(e.tabIndex,e.disabled,void 0),className:(0,c.A)("k-chip",(n={"k-rtl":"rtl"===x,"k-disabled":e.disabled,"k-selected":M,"k-focus":O},n["k-chip-".concat(u.G.sizeMap[e.size]||e.size)]=e.size,n["k-rounded-".concat(u.G.roundedMap[e.rounded]||e.rounded)]=e.rounded,n["k-chip-".concat(e.fillMode)]=e.fillMode,n["k-chip-".concat(e.fillMode,"-").concat(e.themeColor)]=Boolean(e.fillMode&&e.themeColor),n),e.className),"aria-checked":M,"aria-disabled":e.disabled,"aria-describedby":e.ariaDescribedBy,onFocus:V,onBlur:D,onKeyDown:F}),M&&(e.selectedIcon||e.selectedSvgIcon)&&r.createElement(h.a,{className:"k-chip-icon",name:e.selectedIcon?(0,d.iJ)(e.selectedIcon):void 0,icon:e.selectedSvgIcon}),(e.icon||e.svgIcon)&&r.createElement(h.a,{className:"k-chip-icon",name:e.icon?(0,d.iJ)(e.icon):void 0,icon:e.svgIcon}),r.createElement("span",{className:"k-chip-content"},void 0!==e.children?e.children:e.text&&r.createElement("span",{"aria-label":e.text,className:"k-chip-label"},e.text)),e.removable&&r.createElement("span",{className:"k-chip-actions"},r.createElement("span",{className:(0,c.A)("k-chip-action","k-chip-remove-action"),onClick:H},r.createElement(h.a,{name:e.removeIcon?(0,d.iJ)(e.removeIcon):void 0,icon:e.removeSvgIcon}))))})),x={id:o.string,text:o.string,value:o.any,dir:o.oneOf(["ltr","rtl"]),removable:o.bool,removeIcon:o.string,removeIconSvg:d.wi,disabled:o.bool,icon:o.string,svgIcon:d.wi,selectedIcon:o.string,selectedIconSvg:d.wi,onRemove:o.func,dataItem:o.any,selected:o.bool,ariaDescribedBy:o.string,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"outline","solid"]),themeColor:o.oneOf([null,"base","info","success","warning","error"])};w.displayName="KendoReactChip",w.propTypes=x,w.defaultProps={disabled:!1,removable:!1,removeIcon:"k-i-x-circle",dir:"ltr",size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"}},228:(e,t,n)=>{"use strict";n.d(t,{Wn:()=>b,OW:()=>y,zD:()=>w,jg:()=>x});var r=n(3899),o=n(189),i=n(8199),a=n(9659),s=n(3322),l=n(4703),c=n(8047),u=n(2697),h=n(5209),d=n(4163),p=n(5770),f=n(1711),m=n(4006),v=n(2709),g=function(){return g=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},g.apply(this,arguments)},b=r.createContext([null,function(e){}]),y=r.createContext([null,function(e){}]),w=r.createContext([null,function(e){}]),x=r.forwardRef((function(e,t){var n;(0,m.s)(v.k);var o=r.useRef(null),x=r.useRef(null),k=(0,i.n)(x,e.dir),C=e.chip,_=e.id,I=e.style,E=e.tabIndex,S=e.disabled,M=e.size,O=e.className,R=e.ariaDescribedBy,H=e.ariaLabelledBy,F=e.selection,V=void 0===F?z.selection:F,D=e.value,B=void 0===D?z.defaultValue:D,A=e.defaultData,N=void 0===A?z.defaultData:A,L=e.valueField,P=void 0===L?z.valueField:L,T=e.textField,j=void 0===T?z.textField:T,U=e.onChange,K=e.onDataChange,W=r.useMemo((function(){return C||f.A}),[C,f.A]);r.useImperativeHandle(o,(function(){return{element:x.current,props:e}})),r.useImperativeHandle(t,(function(){return o.current}));var q=r.useCallback((function(e,t){U&&o.current&&U.call(void 0,{value:e,target:o.current,syntheticEvent:t})}),[U]),$=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1];return[i,function(e){var r=(0,h.TX)(t.state||i,g(g({},e),t));n&&n(r,e.event),a(r)}]}(B,{selection:V,state:B},q),G=$[0],Y=$[1],X=r.useCallback((function(e,t){K&&o.current&&K.call(void 0,{value:e,target:o.current,syntheticEvent:t})}),[K]),Z=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1];return[i,function(e){var r=(0,p.I)(t.state||i,g(g({},e),t));n&&n(r,e.event),a(r)}]}(e.data||N,{state:e.data,valueField:P},X),J=Z[0],Q=Z[1],ee=r.useCallback((function(e,t){return e.push(t[P]),e}),[P]),te=r.useMemo((function(){return e.data||J}),[e.data,J]),ne=r.useMemo((function(){return B||G}),[B,G]),re=r.useMemo((function(){return te.reduce(ee,[])}),[te,ee]),oe=r.useCallback((function(e){return(0,a.Y)(P)(e)}),[P]),ie=r.useCallback((function(e){return(0,a.Y)(j)(e)}),[j]),ae=function(e){var t=r.useState(null),n=t[0],o=t[1];return[n,function(t){var n=(0,d.L)(t.payload,g(g({},t),e));o(n)}]}({items:re}),se=ae[0],le=ae[1],ce=(0,s.i)(e,o);return r.createElement(b.Provider,{value:[ne,Y]},r.createElement(y.Provider,{value:[se,le]},r.createElement(w.Provider,{value:[te,Q]},r.createElement("div",g({ref:x},ce,{role:"listbox",id:_,dir:k,style:I,tabIndex:(0,l.p)(E,S,void 0),className:(0,c.A)("k-chip-list",(n={"k-rtl":"rtl"===k,"k-disabled":S},n["k-chip-list-".concat(u.G.sizeMap[M]||M)]=M,n),O),"aria-labelledby":H,"aria-describedby":R}),te.map((function(e,t){return r.createElement(W,{role:"option",dataItem:e,size:M,key:[oe(e),t].join("-"),text:ie(e),value:oe(e)})}))))))})),k={id:o.string,className:o.string,tabIndex:o.number,data:o.any,defaultData:o.arrayOf(o.any),onDataChange:o.func,value:o.oneOfType([o.any,o.arrayOf(o.any)]),defaultValue:o.oneOfType([o.any,o.arrayOf(o.any)]),onChange:o.func,selection:o.oneOf(["single","none","multiple"]),textField:o.string,valueField:o.string,disabled:o.bool,dir:o.oneOf(["ltr","rtl"]),ariaLabelledBy:o.string,ariaDescribedBy:o.string,size:o.oneOf([null,"small","medium","large"])},z={chip:f.A,size:"medium",disabled:!1,defaultValue:null,defaultData:[],dir:"ltr",selection:"none",textField:"text",valueField:"value",removable:"removable"};x.displayName="KendoReactChipList",x.propTypes=k,x.defaultProps=z},5770:(e,t,n)=>{"use strict";var r;n.d(t,{V:()=>r,I:()=>o}),function(e){e.remove="remove",e.add="add",e.reorder="reorder"}(r||(r={}));var o=function(e,t){switch(t.type){case r.add:break;case r.remove:return e.filter((function(e){return e[t.valueField]!==t.payload}));case r.reorder:break;default:return e}}},4163:(e,t,n)=>{"use strict";var r;n.d(t,{E:()=>r,L:()=>o}),function(e){e.next="next",e.prev="prev",e.current="current",e.reset="reset"}(r||(r={}));var o=function(e,t){var n=t.items.findIndex((function(t){return t===e}));switch(t.type){case r.next:return n===t.items.length-1?e:t.items[n+1];case r.prev:return 0===n?e:t.items[n-1];case r.current:return t.payload;case r.reset:return null;default:return e}}},5209:(e,t,n)=>{"use strict";n.d(t,{ey:()=>o,TX:()=>a});var r,o,i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};!function(e){e.single="single",e.multiple="multiple",e.none="none"}(r||(r={})),function(e){e.toggle="toggle",e.remove="remove"}(o||(o={}));var a=function(e,t){switch(t.selection){case r.single:switch(t.type){case o.toggle:if(!Array.isArray(e)||null===e)return t.payload===e?null:t.payload;throw new Error("State cannot be an array in single selection");case o.remove:return t.payload===e?null:e;default:return e}case r.multiple:switch(t.type){case o.toggle:if(Array.isArray(e))return e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):i(i([],e,!0),[t.payload],!1);if(null===e)return[t.payload];throw new Error("State cannot be non-array in multiple selection");case o.remove:return Array.isArray(e)?e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):i(i([],e,!0),[t.payload],!1):e;default:return e}case r.none:return null;default:return e}}},6496:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Button:()=>r.z,ButtonGroup:()=>o.h,Chip:()=>T.A,ChipList:()=>j.jg,DropDownButton:()=>R,DropDownButtonItem:()=>S,FloatingActionButton:()=>Q,FloatingActionButtonItem:()=>$,SplitButton:()=>I,SplitButtonItem:()=>g,Toolbar:()=>D,ToolbarItem:()=>A,ToolbarSeparator:()=>L,ToolbarSpacer:()=>P,toolbarButtons:()=>H.w});var r=n(7037),o=n(7711),i=n(3899),a=n(189),s=n(3198),l=n(3493),c=n(8047),u=n(2697),h=n(3218),d=n(5407),p=n(8130),f=function(e){var t=i.useCallback((function(t){e.onClick(t,e.index)}),[e]),n=e.dataItem.render||e.item||(void 0===e.item?e.render:null),r=void 0!==e.dataItem.text?e.dataItem.text:e.textField?e.dataItem[e.textField]:e.dataItem,o=i.createElement("li",{id:e.id,className:(0,c.A)("k-item",e.className,{"k-focus":e.focused}),tabIndex:-1,onClick:t,onMouseDown:e.onDown,onPointerDown:e.onDown,role:"menuitem","aria-disabled":e.dataItem.disabled||void 0},i.createElement("span",{tabIndex:-1,className:(0,c.A)("k-link k-menu-link",{"k-selected":e.dataItem.selected,"k-disabled":e.dataItem.disabled}),key:"icon"},n?i.createElement(n,{item:e.dataItem,itemIndex:e.index}):i.createElement(i.Fragment,null,(e.dataItem.icon||e.dataItem.iconClass)&&i.createElement(p.a,{className:e.dataItem.iconClass,name:e.dataItem.icon,icon:e.dataItem.svgIcon}),e.dataItem.imageUrl&&i.createElement("img",{role:"presentation",alt:"",src:e.dataItem.imageUrl,className:"k-icon"}),r&&i.createElement("span",{className:"k-menu-link-text"},r))));return void 0!==e.item&&void 0!==e.render?e.render.call(void 0,o,e):o};f.displayName="KendoReactButtonItem";var m,v=(m=function(e,t){return m=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])},m(e,t)},function(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}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,disabled:a.bool,render:a.any},t}(i.Component),b=function(e,t,n,r){if(n)return e;var o=Math.min(r-1,Math.max(0,e));switch(t){case l.R.enter:case l.R.space:case l.R.esc:return-1;case l.R.up:case l.R.left:return o-1<0?r-1:o-1;case l.R.down:case l.R.right:return o+1>=r?0:o+1;case l.R.home:return 0;case l.R.end:return r-1;default:return e}},y=n(1754);function w(e){var t={horizontal:"left",vertical:"bottom"};return e&&(t.horizontal="right"),t}function x(e){var t={horizontal:"left",vertical:"top"};return e&&(t.horizontal="right"),t}var k=n(4006),z=n(2709);const C={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"};var _=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1,focusedIndex:-1,opened:!1},n.wrapper=null,n.mainButton=null,n.list=null,n.guid=(0,s.M)(),n.skipFocus=!1,n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==l.R.down?n.opened&&e.keyCode===l.R.up&&(n.dispatchPopupEvent(e,!1),n.setState({focusedIndex:-1,opened:!1})):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0,opened:!0}));else{var r=void 0;if(e.keyCode===l.R.enter||e.keyCode===l.R.space?(e.preventDefault(),n.dispatchClickEvent(e,t),t>=0&&(r={focusedIndex:n.opened?-1:0,opened:!n.opened},n.dispatchPopupEvent(e,r.opened))):n.opened&&e.keyCode===l.R.esc&&(r={focusedIndex:-1,opened:!1},n.dispatchPopupEvent(e,r.opened)),n.opened){var o=b(t,e.keyCode,e.altKey,n.buttonsData.length);o!==t&&((r=r||{}).focusedIndex=o);var i=e.keyCode===l.R.up||e.keyCode===l.R.down||e.keyCode===l.R.left||e.keyCode===l.R.right;e.altKey||!i&&e.keyCode!==l.R.home&&e.keyCode!==l.R.end||e.preventDefault()}r&&n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.onFocus=function(e){n.skipFocus||((0,d.N)(n.props.onFocus,e,n,void 0),n.setState({focused:!0}))},n.onItemClick=function(e,t){var r=n.opened;r&&n.setState({focusedIndex:0,opened:!1}),n.dispatchClickEvent(e,t),r&&n.dispatchPopupEvent(e,!1)},n.onBlur=function(e){n.skipFocus||(n.setState({focused:!1,focusedIndex:-1,opened:!1}),(0,d.N)(n.props.onBlur,e,n,void 0),n.opened&&n.dispatchPopupEvent(e,!1))},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))}))},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onSplitPartClick=function(e){if(n.buttonsData.length){var t=!n.opened;n.dispatchPopupEvent(e,t),n.setState({focusedIndex:t?0:-1,opened:t,focused:!0})}},n.onDownSplitPart=function(e){e.preventDefault(),n.element&&document.activeElement!==n.element&&document.activeElement!==n.list&&n.element.focus()},n.onItemDown=function(e){document.activeElement===n.list&&e.preventDefault()},n.dispatchPopupEvent=function(e,t){(0,d.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0)},(0,k.s)(z.k),n}return _(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;this.buttonsData=this.props.items||i.Children.toArray(this.props.children).filter((function(e){return e&&e.type===g})).map((function(e){return e.props}));var t=this.isRtl(),n=t?"rtl":void 0,o=this.props,a=o.id,s=o.style,l=o.tabIndex,h=o.disabled;return i.createElement("div",{id:a,style:s,className:(0,c.A)("k-split-button","k-button-group",{"k-focus":this.state.focused},"k-rounded-".concat(u.G.roundedMap[this.props.rounded||"medium"]),this.props.className),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,dir:n,ref:function(t){return e.wrapper=t}},i.createElement(r.z,{ref:function(t){return e.mainButton=t&&t.element},type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:function(t){return e.onItemClick(t,-1)},disabled:h||void 0,tabIndex:l,accessKey:this.props.accessKey,className:this.props.buttonClass,icon:this.props.icon,svgIcon:this.props.svgIcon,iconClass:this.props.iconClass,imageUrl:this.props.imageUrl,dir:n,"aria-disabled":h,"aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),i.createElement(r.z,{type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,icon:"caret-alt-down",svgIcon:C,className:"k-split-button-arrow",disabled:h||void 0,tabIndex:-1,onClick:this.onSplitPartClick,onMouseDown:this.onDownSplitPart,onPointerDown:this.onDownSplitPart,dir:n,"aria-label":"menu toggling button"}),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(-1===t?(0,d.N)(this.props.onButtonClick,e,this,void 0):(0,d.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t}))},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,o=this.state.focusedIndex;return i.createElement(y.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,c.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||w(e),popupAlign:r.popupAlign||x(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},i.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,ref:this.listRef,"aria-activedescendant":o>=0?"".concat(this.guid,"-").concat(o):void 0,className:(0,c.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(u.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,o=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,a){return i.createElement(f,{className:"k-menu-item",dataItem:t,textField:o,focused:e.state.focusedIndex===a,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,key:a,index:a,id:"".concat(e.guid,"-").concat(a)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onButtonClick:a.func,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,text:a.string,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,svgIcon:h.wi,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.any,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(i.Component),E=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,selected:a.bool,disabled:a.bool,render:a.any},t}(i.Component),M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(){return O=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},O.apply(this,arguments)},R=function(e){function t(t){var n=e.call(this,t)||this;return n.state={opened:!1,focused:!1,focusedIndex:-1},n.wrapper=null,n.mainButton=null,n.list=null,n.skipFocus=!1,n.guid=(0,s.M)(),n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==l.R.down?n.opened&&e.keyCode===l.R.up&&(n.dispatchPopupEvent(e,!1),n.setState({focusedIndex:-1,opened:!1})):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0,opened:!0}));else{var r=O({},n.state);if(e.keyCode===l.R.enter||e.keyCode===l.R.space?(t>=0&&n.dispatchClickEvent(e,t),e.preventDefault(),r.focusedIndex=n.opened?-1:0,r.opened=!n.opened,n.dispatchPopupEvent(e,r.opened)):n.opened&&e.keyCode===l.R.esc&&(r.focusedIndex=-1,r.opened=!1,n.dispatchPopupEvent(e,r.opened)),n.opened){var o=b(t,e.keyCode,e.altKey,n.buttonsData.length);r.focusedIndex=o;var i=e.keyCode===l.R.up||e.keyCode===l.R.down||e.keyCode===l.R.left||e.keyCode===l.R.right;e.altKey||!i&&e.keyCode!==l.R.home&&e.keyCode!==l.R.end||e.preventDefault()}n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.handleFocus=function(e){n.skipFocus||(n.setState({focused:!0,focusedIndex:n.opened?0:-1}),(0,d.N)(n.props.onFocus,e,n,void 0))},n.handleBlur=function(e){n.skipFocus||(n.setState({focused:!1,opened:!1,focusedIndex:-1}),(0,d.N)(n.props.onBlur,e,n,void 0),n.opened&&n.dispatchPopupEvent(e,!1))},n.onItemClick=function(e,t){n.setState({focusedIndex:-1,opened:!1}),n.dispatchClickEvent(e,t),n.dispatchPopupEvent(e,!1)},n.onItemDown=function(e){document.activeElement===n.list&&e.preventDefault()},n.mouseDown=function(e){e.preventDefault(),n.element&&document.activeElement!==n.element&&document.activeElement!==n.list&&n.element.focus()},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))}))},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onClickMainButton=function(e){if(n.buttonsData.length){var t=!n.opened;n.setState({opened:t,focused:!0,focusedIndex:t?0:-1}),n.dispatchPopupEvent(e,t)}},n.dispatchPopupEvent=function(e,t){(0,d.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0)},(0,k.s)(z.k),n}return M(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.isRtl(),n=t?"rtl":void 0,o=this.props,a=o.id,s=o.style,l=o.tabIndex,u=o.disabled;return this.buttonsData=this.props.items||i.Children.toArray(this.props.children).filter((function(e){return e&&e.type===S})).map((function(e){return e.props})),i.createElement("div",{id:a,style:s,className:(0,c.A)("k-dropdown-button",{"k-focus":this.state.focused},this.props.className),onKeyDown:this.onKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,dir:n,ref:function(t){return e.wrapper=t}},i.createElement(r.z,{size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:this.onClickMainButton,onMouseDown:this.mouseDown,disabled:u||void 0,tabIndex:l,accessKey:this.props.accessKey,icon:this.props.icon,svgIcon:this.props.svgIcon,iconClass:this.props.iconClass,className:this.props.buttonClass,imageUrl:this.props.imageUrl,dir:n,ref:function(t){return e.mainButton=t&&t.element},type:"button","aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(0,d.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t})},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,o=this.state.focusedIndex;return i.createElement(y.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,c.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||w(e),popupAlign:r.popupAlign||x(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},i.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,"aria-activedescendant":o>=0?"".concat(this.guid,"-").concat(o):void 0,ref:this.listRef,className:(0,c.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(u.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,o=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,a){return i.createElement(f,{className:"k-menu-item",dataItem:t,textField:o,focused:e.state.focusedIndex===a,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,index:a,key:a,id:"".concat(e.guid,"-").concat(a)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,svgIcon:h.wi,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.func,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(i.Component),H=n(1889),F=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),V=function(){return V=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},V.apply(this,arguments)},D=function(e){function t(n){var r=e.call(this,n)||this;return r._element=null,r.offsetHeight=0,r.offsetWidth=0,r.buttons=[],r.focusedSelector=r.selectors.map((function(e){return e+":focus"})).join(","),r.setTabIndex=function(e){var n=r.props.tabIndex,o=void 0===n?t.defaultProps.tabIndex:n;r.buttons.forEach((function(t,n){t.tabIndex=n===e?o:-1}))},r.onKeyDown=function(e){var t=e.target;if((e.keyCode===l.R.left||e.keyCode===l.R.right)&&!e.defaultPrevented&&-1!==r.buttons.findIndex((function(e){return e===t}))){var n=r.focusedIndex;e.keyCode===l.R.left?r.focusButton(n,n-1):r.focusButton(n,n+1)}},r.onWindowResize=function(e){var t=r.element;if(t){var n=t.offsetWidth,o=t.offsetHeight;if(r.offsetWidth!==n||r.offsetHeight!==o){r.offsetWidth=n,r.offsetHeight=o;var i={offsetWidth:r.offsetWidth,offsetHeight:r.offsetHeight};r.props.onResize&&r.props.onResize.call(void 0,V(V({target:r},i),{nativeEvent:e}))}}},(0,k.s)(z.k),r}return F(t,e),Object.defineProperty(t.prototype,"selectors",{get:function(){return this.props.buttons||H.w},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusedIndex",{get:function(){var e=this.element&&this.element.querySelector(this.focusedSelector);return Math.max(0,this.buttons.findIndex((function(t){return t===e})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.onWindowResize);var e=this.element;e&&(this.offsetWidth=e.offsetWidth,this.offsetHeight=e.offsetHeight,!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(0)))},t.prototype.componentDidUpdate=function(){var e=this.element;e&&!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(this.focusedIndex))},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.onWindowResize),this.buttons.length=0},t.prototype.render=function(){var e,t=this;return i.createElement("div",{id:this.props.id,"aria-label":this.props.ariaLabel,className:(0,c.A)("k-toolbar",(e={},e["k-toolbar-".concat(u.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,e),this.props.className),style:this.props.style,role:void 0!==this.props.role?this.props.role||void 0:"toolbar",dir:this.props.dir,ref:function(e){return t._element=e},onKeyDown:!1!==this.props.keyboardNavigation?this.onKeyDown:void 0},this.props.children)},t.prototype.focusButton=function(e,n){var r=this.props.tabIndex,o=void 0===r?t.defaultProps.tabIndex:r,i=this.buttons[n];if(i){i.tabIndex=o,i.focus();var a=this.buttons[e];a&&(a.tabIndex=-1)}},t.propTypes={tabIndex:a.number,dir:a.string,keyboardNavigation:a.bool,style:a.object,className:a.string,role:a.string,onResize:a.func,buttons:a.arrayOf(a.string),size:a.oneOf([null,"small","medium","large"])},t.defaultProps={tabIndex:0,size:"medium"},t}(i.Component),B=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t}return B(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return i.createElement("div",{id:this.props.id,className:(0,c.A)("k-toolbar-item",this.props.className),style:this.props.style,ref:function(t){return e._element=t}},this.props.children)},t.propTypes={className:a.string},t}(i.PureComponent),N=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.prototype.render=function(){return i.createElement("div",{className:(0,c.A)("k-separator",this.props.className)})},t}(i.PureComponent),P=i.forwardRef((function(e,t){var n=i.useRef(null),r=i.useRef(null);i.useImperativeHandle(r,(function(){return{element:n.current}})),i.useImperativeHandle(t,(function(){return{element:n.current}}));var o=i.useMemo((function(){return(0,c.A)("k-spacer",e.className)}),[e.className]);return i.createElement("span",{ref:n,className:o})}));P.displayName="KendoReactToolbarSpacer",P.propTypes={className:a.string};var T=n(1711),j=n(228),U=n(8259),K=n(8199),W=n(4703),q=function(){return q=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},q.apply(this,arguments)},$=i.forwardRef((function(e,t){var n=e.className,r=e.disabled,o=e.text,a=e.icon,s=e.style,l=e.id,u=e.focused,h=e.tabIndex,d=e.index,p=e.dataItem,f=e.item,m=e.onDown,v=e.onClick,g=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,["className","disabled","text","icon","style","id","focused","tabIndex","index","dataItem","item","onDown","onClick"]),b=i.useRef(null),y=i.useCallback((function(){b.current&&b.current.focus()}),[]),w=i.useCallback((function(){return{element:b.current,focus:y}}),[y]);i.useImperativeHandle(t,w);var x=i.useCallback((function(e){v&&void 0!==d&&!r&&v(e,d)}),[v,d]),k=i.useMemo((function(){return(0,c.A)("k-fab-item",{"k-focus":u,"k-disabled":r},n)}),[n,r,u]),z=f;return i.createElement("li",q({ref:b,id:l,className:k,style:s,role:"menuitem",tabIndex:(0,W.p)(h,r),"aria-disabled":r,"aria-label":"".concat(o||""," floatingactionbutton item"),onClick:x,onMouseDown:m,onPointerDown:m},g),z?i.createElement(z,{itemIndex:d,item:p}):i.createElement(i.Fragment,null,o&&i.createElement("span",{className:"k-fab-item-text"},o),a&&i.createElement("span",{className:(0,c.A)("k-fab-item-icon k-icon k-i-".concat(a))})))}));$.propTypes={className:a.string,style:a.object,children:a.any,disabled:a.bool,focused:a.bool,index:a.number,icon:a.string,text:a.string,tabIndex:a.number,customProp:a.any},$.displayName="KendoFloatingActionButtonItem";var G="16px",Y=function(e){return"number"==typeof e?e+"px":e},X=function(e,t){var n={horizontal:t?"right":"left",vertical:"bottom"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},Z=function(e,t){var n={horizontal:t?"right":"left",vertical:"top"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},J=function(){return J=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},J.apply(this,arguments)},Q=i.forwardRef((function(e,t){(0,k.s)(z.k);var n=e.align,r=void 0===n?ee.align:n,o=e.alignOffset,a=e.className,h=e.disabled,f=e.icon,m=e.svgIcon,v=e.iconClass,g=e.id,b=e.items,w=e.item,x=e.text,C=e.positionMode,_=void 0===C?ee.positionMode:C,I=e.size,E=void 0===I?ee.size:I,S=e.style,M=e.rounded,O=void 0===M?ee.rounded:M,R=e.themeColor,H=void 0===R?ee.themeColor:R,F=e.overlayStyle,V=e.tabIndex,D=e.accessKey,B=e.popupSettings,A=void 0===B?{}:B,N=e.modal,L=e.onClick,P=e.onItemClick,T=e.onFocus,j=e.onBlur,q=e.onKeyDown,Q=e.onOpen,te=e.onClose,ne=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,["align","alignOffset","className","disabled","icon","svgIcon","iconClass","id","items","item","text","positionMode","size","style","rounded","themeColor","overlayStyle","tabIndex","accessKey","popupSettings","modal","onClick","onItemClick","onFocus","onBlur","onKeyDown","onOpen","onClose"]),re=(0,U.u)(),oe=re?re+2:100,ie=i.useRef(null),ae=i.useRef(null),se=i.useRef(null),le=i.useRef(null),ce=i.useCallback((function(){ae.current&&ae.current.focus()}),[]),ue=i.useCallback((function(){return{element:ae.current,focus:ce}}),[ce]);i.useImperativeHandle(ie,ue),i.useImperativeHandle(t,(function(){return ie.current}));var he=i.useState(!1),de=he[0],pe=he[1],fe=i.useState(!1),me=fe[0],ve=fe[1],ge=i.useState(-1),be=ge[0],ye=ge[1],we=i.useMemo((function(){return(0,s.M)()}),[]),xe=(0,K.n)(ae,e.dir),ke="rtl"===xe,ze=i.useMemo((function(){return(0,s.M)()}),[]);i.useEffect((function(){!function(e,t,n,r){var o=t.horizontal,i=t.vertical;if(e.current){var a=n&&void 0!==n.x?Y(n.x):G,s=n&&void 0!==n.x?"calc(50% + ".concat(Y(n.x),")"):"50%",l=n&&void 0!==n.y?Y(n.y):G,c=n&&void 0!==n.y?"calc(50% + ".concat(Y(n.y),")"):"50%";e.current.style.setProperty(function(e,t){return{end:t?"left":"right",center:"left",start:t?"right":"left"}[e.horizontal||"end"]}(t,r),"center"===o?s:a),e.current.style.setProperty(function(e){return{top:"top",middle:"top",bottom:"bottom"}[e.vertical||"bottom"]}(t),"middle"===i?c:l),r&&("top"!==i&&"bottom"!==i||"start"!==o||e.current.style.setProperty("left","unset"),"middle"===i&&"end"===o&&e.current.style.setProperty("right","unset"),"middle"===i&&"start"===o&&e.current.style.setProperty("left","unset"))}}(ae,r,o,ke)}),[ae,r,o,ke]),i.useEffect((function(){me&&ae&&ae.current&&ae.current.focus()}),[me,ae]);var Ce=i.useCallback((function(e,t){b&&(0,d.N)(t?Q:te,e,ue(),void 0)}),[Q,te,b]),_e=i.useCallback((function(e){e.target&&!h&&(!b&&L?(0,d.N)(L,e,ue(),void 0):(pe(!de),ve(!0),ye(de?-1:0),Ce(e,!de)))}),[pe,ve,ye,L,Ce,de,b,h]),Ie=i.useCallback((function(e){ve(!0),ye(de?0:-1),T&&(0,d.N)(T,e,ue(),void 0)}),[T,ve,ye]),Ee=i.useCallback((function(e){ve(!1),pe(!1),ye(-1),(0,d.N)(j,e,ue(),void 0),de&&Ce(e,!1)}),[j,ve,pe,ye,Ce]),Se=i.useCallback((function(e){e.preventDefault()}),[]),Me=i.useCallback((function(e,t){b&&(b[t].disabled||(0,d.N)(P,e,ue(),{itemProps:b[t],itemIndex:t}))}),[P]),Oe=i.useCallback((function(e,t){e.target&&b&&(ye(t),pe(!1),Me(e,t),Ce(e,!1))}),[ye,pe,Me,Ce]),Re=i.useCallback((function(e){document.activeElement===ae.current&&e.preventDefault()}),[ae,document.activeElement]),He=i.useCallback((function(e){var t=be,n=b?b.length-1:-1,o="bottom"===r.vertical;switch(e.keyCode){case l.R.enter:case l.R.space:t>=0&&Me(e,t),e.preventDefault(),pe(!de),ye(de?-1:0);break;case l.R.esc:e.preventDefault(),pe(!1),ye(-1);break;case l.R.home:e.preventDefault(),ye(0);break;case l.R.end:e.preventDefault(),ye(n);break;case l.R.down:case l.R.right:e.preventDefault(),t<n&&!o&&ye(t+1),t>0&&o&&ye(t-1);break;case l.R.up:case l.R.left:e.preventDefault(),t>0&&!o&&ye(t-1),t<n&&o&&ye(t+1)}(0,d.N)(q,e,ue(),void 0)}),[q,be,ye,ke,pe]),Fe=i.useMemo((function(){var e;return(0,c.A)("k-fab k-fab-solid",((e={"k-fab-sm":"small"===E,"k-fab-md":"medium"===E,"k-fab-lg":"large"===E,"k-disabled":h,"k-pos-absolute":"absolute"===_,"k-pos-fixed":"fixed"===_,"k-focus":me})["k-rounded-".concat(u.G.roundedMap[O]||O)]=O,e["k-fab-solid-".concat(H)]=H,e),"k-".concat(r.vertical,"-").concat(r.horizontal),a)}),[H,E,O,h,_,r,me,a]),Ve=b&&b.map((function(e,t){return i.createElement($,J({},e,{key:t,index:t,id:"".concat(ze,"-").concat(t),disabled:h||e.disabled,focused:be===t,dataItem:e,item:w,className:(0,c.A)(e.className,(n=xe||"ltr",o=r.horizontal,{rtl:{end:"k-text-left",start:"k-text-right"},ltr:{start:"k-text-left",end:"k-text-right"}}[n]["end"===o?"end":"start"])),onClick:Oe,onDown:Re}));var n,o})),De=Boolean((f||m)&&!x),Be=(ae.current?ae.current.offsetWidth:0)/2-16;return i.createElement(U.$.Provider,{value:oe},i.createElement(i.Fragment,null,i.createElement("button",J({ref:ae,id:g||we,role:b?"menubutton":"button",type:"button","aria-disabled":h,"aria-expanded":b?de:void 0,"aria-haspopup":!!b,"aria-label":"".concat(x||""," floatingactionbutton"),"aria-owns":b?ze:void 0,"aria-activedescendant":be>=0&&b?"".concat(ze,"-").concat(be):void 0,tabIndex:(0,W.p)(V,h),accessKey:D,dir:xe,disabled:h,className:Fe,style:S,onClick:_e,onMouseDown:Se,onFocus:Ie,onBlur:Ee,onKeyDown:He},ne),f||m?i.createElement(p.a,{className:"k-fab-icon",name:f,icon:m}):v?i.createElement("span",{role:"presentation",className:v}):null,x&&i.createElement("span",{className:"k-fab-text"},x)),N&&de&&i.createElement("div",{className:"k-overlay",style:J({zIndex:oe},F)}),i.createElement(y.G,{ref:le,anchor:ae.current,show:de,animate:A.animate,popupClass:(0,c.A)("k-popup-transparent k-fab-popup",A.popupClass),anchorAlign:A.anchorAlign||X(r,ke),popupAlign:A.popupAlign||Z(r,ke),style:{boxShadow:"none"}},i.createElement("ul",{ref:se,role:"menu","aria-labelledby":g,id:ze,className:(0,c.A)("k-fab-items",{"k-fab-items-bottom":"bottom"!==r.vertical,"k-fab-items-top":"bottom"===r.vertical}),style:{paddingLeft:De?Be:void 0,paddingRight:De?Be:void 0}},Ve))))}));Q.propTypes={className:a.string,style:a.object,id:a.string,dir:a.string,tabIndex:a.number,accessKey:a.string,disabled:a.bool,icon:a.string,svgIcon:h.wi,iconClass:a.string,text:a.string,alignOffset:a.shape({x:a.oneOfType([a.number,a.string]),y:a.oneOfType([a.number,a.string])}),align:a.shape({vertical:a.oneOf(["top","middle","bottom"]),horizontal:a.oneOf(["start","center","end"])}),positionMode:a.oneOf(["absolute","fixed"]),size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),themeColor:a.oneOf([null,"primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]),modal:a.bool,overlayStyle:a.object};var ee={align:{vertical:"bottom",horizontal:"end"},size:"medium",rounded:"full",themeColor:"primary",positionMode:"fixed"};Q.displayName="KendoFloatingActionButton"},2709:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-buttons",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684154714,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},1889:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,Z:()=>i});var r=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",o=["button"+r,".k-button-group > button"+r,".k-dropdownlist",".k-colorpicker"];const i={styles:{button:"k-button",flat:"k-flat",outline:"k-outline",clear:"k-button-clear",primary:"k-primary","state-selected":"k-selected","button-icon":"k-button-icon","button-icontext":"k-button-icontext","state-disabled":"k-disabled","group-start":"k-group-start","group-end":"k-group-end","button-group":"k-button-group","button-group-stretched":"k-button-group-stretched",ltr:"k-ltr",rtl:"k-rtl"}}},6448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AutoComplete:()=>Je,AutoCompletePropsContext:()=>Ze,AutoCompleteWithoutContext:()=>Xe,ComboBox:()=>We,ComboBoxPropsContext:()=>Ke,ComboBoxWithoutContext:()=>Ue,DropDownList:()=>He,DropDownListPropsContext:()=>Re,DropDownListWithoutContext:()=>Oe,DropDownTree:()=>_n,DropDownTreePropsContext:()=>Cn,List:()=>he,ListContainer:()=>z,ListFilter:()=>S,ListItem:()=>Y,MultiColumnComboBox:()=>Et,MultiColumnComboBoxPropsContext:()=>It,MultiSelect:()=>yt,MultiSelectPropsContext:()=>bt,MultiSelectTree:()=>Fn,MultiSelectTreePropsContext:()=>Hn,MultiSelectWithoutContext:()=>gt,SearchBar:()=>De,TagList:()=>ot,dropdownsMessages:()=>le,getMultiSelectTreeValue:()=>An,getValueMap:()=>Bn,nodata:()=>te,scrollToItem:()=>V});var r=n(3899),o=n(189),i=n(2697),a=n(3198),s=n(8047),l=n(3493),c=n(4703),u=n(8130),h=n(3218),d=n(848),p=n(6097);const f={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},m={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},v={name:"plus",content:'<path d="M288 224V96h-64v128H96v64h128v128h64V288h128v-64H288z" />',viewBox:"0 0 512 512"},g={name:"search",content:'<path d="M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3L365.3 320zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192z" />',viewBox:"0 0 512 512"};var b,y=n(1754),w=(b=function(e,t){return b=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])},b(e,t)},function(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}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.width,o=e.dir,i=e.itemsCount,a=e.popupSettings;return r.createElement(y.G,x({style:{width:n,direction:o},contentKey:i&&i.join()},a),t)},t}(r.Component);const z=k;var C=n(4071),_=n(6183),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)},E=r.forwardRef((function(e,t){var n=r.useRef(null);return r.useImperativeHandle(t,(function(){return n.current})),r.createElement("div",{className:"k-list-filter"},r.createElement(C.z,I({},e,{ref:n,value:e.value||"",onChange:e.onChange,onKeyDown:e.onKeyDown,tabIndex:e.tabIndex,onClick:function(e){return e.stopPropagation()},size:e.size,fillMode:e.fillMode,rounded:e.rounded,prefix:function(){return r.createElement(_.Z,null,r.createElement(u.a,{name:"search",icon:g}))}})))}));E.propTypes={value:o.oneOfType([o.string,o.number,o.array]),tabIndex:o.number,onChange:o.func,onKeyDown:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},E.displayName="KendoReactListFilter";const S=E;var M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){var e=this.props,t=e.group,n=e.groupMode,o=e.render,i=r.createElement("div",{className:"k-list-group-sticky-header"},"classic"===n?t:r.createElement("div",{className:"k-list-header-text"},t));return void 0!==o?o.call(void 0,i,this.props):i},t}(r.Component);const R=O;var H=function(e){return null!=e},F=function(e,t,n){if(!H(e))return!1;var r=String(e);return n&&(r=r.toLowerCase()),0===r.indexOf(t)},V=function(e,t,n,r,o){var i=e.offsetHeight,a=t.children.item(n),s=a.offsetTop+(o?r-e.scrollTop:0),l=a.offsetHeight;if(o){var c=0;s+l>i?c=s+l-i:s<0&&(c=s),0!==c?e.scrollTop+=c:0===e.scrollTop&&0!==r&&(e.scrollTop=r)}else s+l>i+e.scrollTop?e.scrollTop=s+l-i:s<e.scrollTop&&(e.scrollTop-=e.scrollTop-s)},D=function(e,t,n){var r=-1;if(t){t=t.toLowerCase();for(var o=0;o<e.length;o++){var i=(A(e[o],n)||"")+"";if(i&&i.toLowerCase().startsWith(t)){r=o;break}}}return r},B=function(e,t,n,r){void 0===r&&(r=!1);var o=function(e){return r?e:e.toLowerCase()};return e.findIndex((function(e){return n?o(A(e,n))===o(t):o(t)===o(e.toString())}))},A=function(e,t){if(t&&H(e)){var n=t.split("."),r=e;return n.forEach((function(e){r=r?r[e]:void 0})),r}return e},N=function(e,t,n){t.forEach((function(t){var r=e.findIndex((function(e){return L(e,t,n)}));-1!==r&&e.splice(r,1)}))},L=function(e,t,n){return e===t||H(e)===H(t)&&A(e,n)===A(t,n)},P=function(e,t,n){if(t){var r=B(e,t,n,!0);return-1!==r?e[r]:e[D(e,t,n)]}return e[0]},T=function(e){"INPUT"!==e.target.nodeName&&e.preventDefault()},j=function(e,t,n){return!!e==!!t&&e.text===t.text&&(e===t||function(e,t,n){if(void 0===e&&(e=[]),void 0===t&&(t=[]),e===t)return!0;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!L(e[r],t[r],n))return!1;return!0}(e.data,t.data,n))},U=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(e){return e.preventDefault()},W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return U(t,e),t.prototype.render=function(){var e=this.props,t=e.selected,n=e.defaultItem,o=e.textField;return r.createElement("div",{onClick:this.props.onClick,onMouseDown:K,style:{position:"unset"},className:(0,s.A)("k-list-optionlabel",{"k-selected":t})},A(n,o)||"")},t}(r.Component);const q=W;var $=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){return t.props.onClick(t.props.index,e)},t}return $(t,e),t.prototype.render=function(){var e=this.props,t=e.selected,n=e.group,o=e.dataItem,i=e.virtual,a=e.groupMode,l=e.render,c=r.createElement("li",{id:this.props.id,role:"option","aria-selected":t,className:(0,s.A)("k-list-item",{"k-selected":t,"k-focus":this.props.focused,"k-first":Boolean(n)&&"classic"===a}),onClick:this.handleClick,style:{position:i?"relative":"unset"}},r.createElement("span",{className:"k-list-item-text"},A(o,this.props.textField).toString()),void 0!==n&&"classic"===a?r.createElement("div",{className:"k-list-item-group-label"},n):null);return void 0!==l?l.call(void 0,c,this.props):c},t}(r.Component);const Y=G;var X=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return X(t,e),t.prototype.render=function(){var e=this.props,t=e.group,n=e.virtual,o=e.render,i=e.isMultiColumn,a=void 0!==i&&i,s=r.createElement("li",{id:this.props.id,role:"group",className:a?"k-table-group-row":"k-list-group-item",style:a?{boxSizing:"inherit"}:{position:n?"relative":"unset"}},r.createElement("span",{className:o?void 0:a?"k-table-th":"k-list-item-text"},t));return void 0!==o?o.call(void 0,s,this.props):s},t}(r.Component);const J=Z;var Q,ee=n(499),te="dropdowns.nodata",ne="dropdowns.clear",re="dropdowns.comboArrowBtnAriaLabelExpand",oe="dropdowns.comboArrowBtnAriaLabelCollapse",ie="dropdowns.dropDownListArrowBtnAriaLabel",ae="dropdowns.apply",se="dropdowns.cancel",le=((Q={})[ne]="clear",Q[te]="NO DATA FOUND.",Q[re]="expand combobox",Q[oe]="collapse combobox",Q[ie]="select",Q[ae]="Apply",Q[se]="Cancel",Q),ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ce(t,e),t.prototype.renderItems=function(){var e=this,t=this.props,n=t.textField,o=t.valueField,i=t.groupField,a=t.groupMode,s=t.isMultiColumn,l=t.optionsGuid,c=t.skip,u=void 0===c?0:c,h=t.virtual,d=t.focusedIndex,p=t.highlightSelected,f=void 0===p||p,m=t.value,v=t.data,g=t.itemRender,b=t.groupHeaderItemRender,y=Array.isArray(m),w=0;return v.map((function(t,c){var p,x,k=u+c,z=u+c+w,C=f&&(!y&&L(t,m,o)||y&&-1!==m.findIndex((function(e){return L(e,t,o)}))),_=void 0;return c>0&&void 0!==i&&(p=A(t,i),x=A(v[c-1],i),p&&x&&p!==x&&(_=p)),void 0!==_&&"modern"===a&&(w+=1),[void 0!==_&&"modern"===a&&r.createElement(J,{id:"option-".concat(l,"-").concat(z),virtual:h,key:k+"-group-item",group:_,isMultiColumn:s,render:b}),r.createElement(Y,{id:"option-".concat(l,"-").concat(void 0!==_&&"modern"===a?z+1:z),virtual:h,dataItem:t,groupMode:a,selected:C,focused:d===c,index:k,key:k,onClick:e.props.onClick,textField:n,group:_,render:g})]}))},t.prototype.renderNoValueElement=function(e){var t=this.props.noDataRender,n=r.createElement("div",{className:"k-nodata"},r.createElement("div",null,e.toLanguageString(te,le[te])));return t?t.call(void 0,n):n},t.prototype.render=function(){var e=(0,ee.provideLocalizationService)(this),t=this.props,n=t.id,o=t.show,i=t.wrapperCssClass,a=t.wrapperStyle,s=t.listStyle,l=t.listRef,c=t.wrapperRef,u=t.listClassName,h=void 0===u?"k-list-ul":u,d=this.renderItems();return d.length?r.createElement("div",{className:i,style:a,ref:c,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onScroll:this.props.onScroll,unselectable:"on"},r.createElement("ul",{id:n,role:"listbox","aria-hidden":!o||void 0,className:h,ref:l,style:s},d),this.props.scroller&&r.createElement("div",{className:"k-height-container"},this.props.scroller)):this.renderNoValueElement(e)},t}(r.Component);const he=ue;(0,ee.registerForLocalization)(ue);const de=function(){function e(){var e=this;this.container=null,this.scrollElement=null,this.list=null,this.containerHeight=0,this.skip=0,this.total=0,this.enabled=!1,this.pageSize=0,this.itemHeight=0,this.PageChange=null,this.prevScrollPos=0,this.listTranslate=0,this.scrollSyncing=!1,this.scrollerRef=function(t){var n=e;n.container=t,t&&(t.setAttribute("unselectable","on"),window.setTimeout(n.calcScrollElementHeight.bind(n),0))},this.calcScrollElementHeight=function(){e.scrollSyncing=!0;var t=!1;e.itemHeight=e.list?e.list.children[0].offsetHeight:e.itemHeight,e.containerHeight=Math.min(1533915,e.itemHeight*e.total);var n=e.containerHeight;return e.scrollElement&&(t=e.scrollElement.style.height!==n+"px")&&(e.scrollElement.style.height=n+"px"),e.scrollSyncing=!1,t},this.scrollHandler=this.scrollHandler.bind(this)}return Object.defineProperty(e.prototype,"translate",{get:function(){return this.listTranslate},enumerable:!1,configurable:!0}),e.prototype.changePage=function(e,t){var n=Math.min(Math.max(0,e),this.total-this.pageSize);n!==this.skip&&this.PageChange&&this.PageChange({skip:n,take:this.pageSize},t)},e.prototype.translateTo=function(e){this.listTranslate=e,this.list&&(this.list.style.transform="translateY("+e+"px)")},e.prototype.reset=function(){this.container&&(this.calcScrollElementHeight(),this.container.scrollTop=0,this.translateTo(0))},e.prototype.scrollToEnd=function(){this.container&&this.list&&(this.calcScrollElementHeight(),this.container.scrollTop=this.container.scrollHeight-this.container.offsetHeight,this.translateTo(this.container.scrollHeight))},e.prototype.localScrollUp=function(e){var t,n=this.itemHeight,r=this.container.scrollTop,o=this.listTranslate,i=r-o;if(!(i>n)){for(t=0;t<this.skip&&!(o+n+i<=r);t++)o-=n;if(o=this.validateTranslate(o),this.skip-t<=0&&o>=r)return this.translateTo(0),this.changePage(0,e),void(this.container.scrollTop=0);o!==this.listTranslate&&(this.translateTo(o),this.changePage(this.skip-t,e))}},e.prototype.localScrollDown=function(e){var t,n=this.itemHeight,r=this.container.scrollTop,o=this.listTranslate,i=this.list.children.length;for(t=0;t<i&&!(o+n>=r);t++)o+=n;o=this.validateTranslate(o),t>=i&&this.skip+t>=this.total?(this.translateTo(o),this.changePage(this.total-1,e)):o!==this.listTranslate&&(this.translateTo(o),this.changePage(this.skip+t,e))},e.prototype.scrollNonStrict=function(e){var t=this.total*this.prevScrollPos/this.containerHeight,n=Math.min(Math.floor(t),this.total-1),r=this.containerHeight*t/this.total;r=this.validateTranslate(r),this.translateTo(r),this.changePage(n,e)},e.prototype.scrollHandler=function(e){var t=this.container?this.container.scrollTop:0,n=this.prevScrollPos;this.prevScrollPos=t,this.enabled&&this.list&&this.container&&!this.scrollSyncing&&(t-n<=0&&t>this.listTranslate-this.list.scrollHeight/10?this.localScrollUp(e):t-n>0&&t<this.listTranslate+2*this.list.scrollHeight/3?this.localScrollDown(e):this.scrollNonStrict(e))},e.prototype.validateTranslate=function(e){return e=Math.max(0,e),Math.min(this.containerHeight,e)},e}();var pe=function(){function e(){}return e.prototype.navigate=function(e){var t=e.keyCode;return t===l.R.up||t===l.R.left?this.next({current:e.current,min:e.min,max:e.max,step:-1}):t===l.R.down||t===l.R.right?this.next({current:e.current,min:e.min,max:e.max,step:1}):t===l.R.home?0:t===l.R.end?e.max:void 0},e.prototype.next=function(e){return H(e.current)?Math.min(e.max,Math.max(e.current+e.step,e.min)):e.min},e}(),fe=function(){return fe=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},fe.apply(this,arguments)},me=function(){function e(e){var t=this;this.wrapper=null,this.list=null,this.vs=new de,this.navigation=new pe,this.handleItemClick=function(e,n){var r=t.initState();r.syntheticEvent=n,n.stopPropagation(),t.component.handleItemSelect(e,r),t.togglePopup(r),t.applyState(r)},this.handleFocus=function(e){if(!t.component.state.focused){var n=t.initState();n.data.focused=!0,n.events.push({type:"onFocus"}),n.syntheticEvent=e,t.applyState(n)}},this.filterChanged=function(e,n){var r=t.component.props,o=r.textField;r.filterable&&n.events.push({type:"onFilterChange",filter:{field:o,operator:"contains",ignoreCase:!0,value:e}})},this.togglePopup=function(e){var n=t.component.props,r=void 0!==n.opened?n.opened:t.component.state.opened;void 0===n.opened&&(e.data.opened=!r),r?e.events.push({type:"onClose"}):(e.events.push({type:"onOpen"}),t.calculatePopupWidth())},this.pageChange=function(e,n){var r=t.initState();r.syntheticEvent=n,t.triggerOnPageChange(r,e.skip,e.take),t.applyState(r)},this.scrollToVirtualItem=function(e,n){var r=t.vs;if(r.enabled=!1,0===e.skip)r.reset();else if(e.skip+e.pageSize===e.total)r.scrollToEnd();else{var o=r.translate;0===o&&(r.calcScrollElementHeight(),o=r.itemHeight*e.skip,r.translateTo(o-r.itemHeight)),r.container&&(r.container.scrollTop=o),t.scrollToItem(n,!0)}window.setTimeout((function(){return r.enabled=!0}),10)},this.renderScrollElement=function(){var e=t.vs;return e.enabled&&r.createElement("div",{ref:function(t){return e.scrollElement=t},key:"scrollElementKey"})},this.resetGroupStickyHeader=function(e,t){e!==t.state.group&&t.setState(fe(fe({},t.state),{group:e}))},this.listBoxId=(0,a.M)(),this.guid=(0,a.M)(),this.component=e,this.vs.PageChange=this.pageChange}return e.prototype.didMount=function(){var e=this.component.props,t=e.popupSettings||{},n=e.style||{},r=t.width,o=!0===e.opened;void 0===r&&this.calculatePopupWidth(),void 0===e.dir&&void 0===n.direction&&(this.calculateDir(),o=!0),o&&this.component.forceUpdate()},e.prototype.calculateDir=function(){var e=this.component.element;e&&e.ownerDocument&&e.ownerDocument.defaultView&&(this.dirCalculated=e.ownerDocument.defaultView.getComputedStyle(e).direction||void 0)},e.prototype.calculatePopupWidth=function(){this.wrapper&&(this.popupWidth=this.wrapper.offsetWidth+"px")},e.prototype.scrollToItem=function(e,t,n){var r=this,o=this.list||this.vs.list;if(o||n||setTimeout((function(){r.scrollToItem(e,t,!0)}),10),o&&e>=0){var i=this.vs,a=i.container||o.parentNode,s=void 0!==t?t:i.enabled;V(a,o,e,i.translate,s)}},e.prototype.initState=function(){return{data:{},events:[],syntheticEvent:void 0}},e.prototype.applyState=function(e){var t=this;Object.keys(e.data).length>0&&this.component.setState(e.data);var n={syntheticEvent:e.syntheticEvent,nativeEvent:e.syntheticEvent?e.syntheticEvent.nativeEvent:void 0,target:this.component,value:this.component.value};e.events.forEach((function(e){var r=e.type;delete e.type;var o=r&&t.component.props[r];o&&o.call(void 0,fe(fe({},n),e))}))},e.prototype.triggerOnPageChange=function(e,t,n){var r=this.component.props.virtual;if(r){var o=Math.min(Math.max(0,t),Math.max(0,r.total-n));o!==r.skip&&e.events.push({type:"onPageChange",page:{skip:o,take:n}})}},e.prototype.triggerPageChangeCornerItems=function(e,t){var n=this.component.props,r=n.data,o=void 0===r?[]:r,i=n.dataItemKey,a=n.virtual,s=void 0!==n.opened?n.opened:this.component.state.opened;e&&a&&this.vs.enabled&&(a.skip>0&&L(e,o[0],i)?this.triggerOnPageChange(t,a.skip-1,a.pageSize):!s&&a.skip+a.pageSize<a.total&&L(e,o[o.length-1],i)&&this.triggerOnPageChange(t,a.skip+1,a.pageSize))},e.prototype.getPopupSettings=function(){return Object.assign({},e.defaultProps.popupSettings,this.component.props.popupSettings)},e.prototype.getGroupedDataModernMode=function(e,t){var n=[];return e.forEach((function(r,o){e[o-1]&&r[t]!==e[o-1][t]?(n.push({position:r[t]}),n.push(e[o])):n.push(e[o])})),n},e.basicPropTypes={opened:o.bool,disabled:o.bool,dir:o.string,tabIndex:o.number,accessKey:o.string,data:o.array,textField:o.string,className:o.string,label:o.string,loading:o.bool,popupSettings:o.shape({animate:o.oneOfType([o.bool,o.shape({openDuration:o.number,closeDuration:o.number})]),popupClass:o.string,className:o.string,appendTo:o.any,width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number])}),onOpen:o.func,onClose:o.func,onFocus:o.func,onBlur:o.func,onChange:o.func,itemRender:o.func,listNoDataRender:o.func,focusedItemIndex:o.func,header:o.node,footer:o.node},e.propTypes=fe(fe({},e.basicPropTypes),{value:o.any,defaultValue:o.any,filterable:o.bool,filter:o.string,virtual:o.shape({pageSize:o.number.isRequired,skip:o.number.isRequired,total:o.number.isRequired}),onFilterChange:o.func,onPageChange:o.func}),e.defaultProps={popupSettings:{height:"200px"},required:!1,validityStyles:!0},e}();const ve=me;var ge=n(4006),be=n(7827),ye={name:"@progress/kendo-react-dropdowns",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684155301,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},we=n(7037),xe=500,ke=768,ze=n(3162),Ce=n(1205),_e=n(7999),Ie=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ee=function(){return Ee=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},Ee.apply(this,arguments)},Se=i.G.sizeMap,Me=i.G.roundedMap,Oe=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n._element=null,n.base=new ve(n),n.searchState={word:"",last:""},n._select=null,n._skipFocusEvent=!1,n._filterInput=null,n._navigated=!1,n._inputId=(0,a.M)(),n.itemHeight=0,n.focus=function(){n.base.wrapper&&n.base.wrapper.focus()},n.handleItemSelect=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.virtual,s=r.dataItemKey,l=r.defaultItem,c=a?a.skip:0,u=-1===e&&void 0!==l?l:i[e-c],h=!L(u,n.value,s);n.triggerOnChange(u,t),h&&n.base.triggerPageChangeCornerItems(u,t)},n.componentRef=function(e){n._element=e,n.base.wrapper=e},n.dummySelect=function(e){return r.createElement("select",{name:n.props.name,ref:function(e){n._select=e},tabIndex:-1,"aria-hidden":!0,title:n.props.label,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},r.createElement("option",{value:n.props.valueMap?n.props.valueMap.call(void 0,e):e}))},n.renderListContainer=function(){var e,t=n.props,o=t.header,i=t.footer,a=t.dir,l=t.data,c=void 0===l?[]:l,u=t.size,h=t.groupField,d=t.groupStickyHeaderItemRender,p=t.list,f=n.base,m=f.getPopupSettings(),v=void 0!==n.props.opened?n.props.opened:n.state.opened,g=void 0!==m.width?m.width:f.popupWidth,b={dir:void 0!==a?a:f.dirCalculated,width:g,popupSettings:{popupClass:(0,s.A)(m.popupClass,"k-list-container","k-dropdownlist-popup"),className:m.className,animate:m.animate,anchor:n.element,show:v,onOpen:n.onPopupOpened,onClose:n.onPopupClosed,appendTo:m.appendTo},itemsCount:[c.length]},y=n.state.group;return void 0===y&&void 0!==h&&(y=A(c[0],h)),r.createElement(z,Ee({},b),n.renderListFilter(),o&&r.createElement("div",{className:"k-list-header"},o),r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(Se[u]||u)]=u,e["k-virtual-list"]=n.base.vs.enabled,e))},n.renderDefaultItem(),!p&&y&&0!==c.length&&r.createElement(R,{group:y,groupMode:"modern",render:d}),n.renderList()),i&&r.createElement("div",{className:"k-list-footer"},i))},n.renderList=function(){var e=n.props,t=e.data,o=void 0===t?[]:t,i=e.textField,a=e.dataItemKey,s=e.virtual,l=void 0===s?{skip:0}:s,c=e.groupHeaderItemRender,u=e.listNoDataRender,h=e.itemRender,d=n.base.vs,p=l.skip,f=void 0!==n.props.opened?n.props.opened:n.state.opened,m=n.base.getPopupSettings(),v="translateY(".concat(d.translate,"px)");return r.createElement(he,{id:n.base.listBoxId,show:f,data:o.slice(),focusedIndex:n.focusedIndex(),value:n.value,textField:i,valueField:a,optionsGuid:n.base.guid,groupField:n.props.groupField,groupMode:"modern",listRef:function(e){return d.list=n.base.list=e},wrapperStyle:{maxHeight:m.height},wrapperCssClass:"k-list-content",listStyle:d.enabled?{transform:v}:void 0,key:"listkey",skip:p,onClick:n.handleItemClick,itemRender:h,groupHeaderItemRender:c,noDataRender:u,onScroll:n.onScroll,wrapperRef:d.scrollerRef,scroller:n.base.renderScrollElement()})},n.onScroll=function(e){var t=n.base,r=t.vs,o=t.list;r.scrollHandler(e);var i=n.props.groupField,a=n.props.data,s=void 0===a?[]:a;if(i&&s.length&&i){for(var l=n.itemHeight=n.itemHeight||(r.enabled?r.itemHeight:o?o.children[0].offsetHeight:0),c=e.target.scrollTop-r.skip*l,u=(s=n.base.getGroupedDataModernMode(s,i))[0][i],h=1;h<s.length&&!(l*h>c);h++)s[h]&&s[h][i]&&(u=s[h][i]);u!==n.state.group&&n.setState({group:u})}},n.renderListFilter=function(){var e=void 0!==n.props.filter?n.props.filter:n.state.text;return n.props.filterable&&r.createElement(S,{value:e,ref:function(e){return n._filterInput=e&&e.element},onChange:n.handleListFilterChange,onKeyDown:n.handleKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode})},n.renderDefaultItem=function(){var e=n.props,t=e.textField,o=e.defaultItem,i=e.dataItemKey;return void 0!==o&&r.createElement(q,{defaultItem:o,textField:t,selected:L(n.value,o,i),key:"defaultitemkey",onClick:n.handleDefaultItemClick})},n.search=function(e){clearTimeout(n._typingTimeout),n.props.filterable||(n._typingTimeout=window.setTimeout((function(){return n.searchState.word=""}),n.props.delay),n.selectNext(e))},n.selectNext=function(e){var t,r=n.props,o=r.data,i=void 0===o?[]:o,a=r.dataItemKey,s=i.map((function(e,t){return{item:e,itemIndex:t}})),l=n.searchState.word,c=n.searchState.last,u=function(e,t){for(var n=0;n<e.length;n++)if(e.charAt(n)!==t)return!1;return!0}(l,c),h=s.length,d=Math.max(0,i.findIndex((function(e){return L(e,n.value,a)})));n.props.defaultItem&&(t={item:n.props.defaultItem,itemIndex:-1},h+=1,d+=1),s=function(e,t,n){var r=e;return n&&(r=[n].concat(r)),r.slice(t).concat(r.slice(0,t))}(s,d+=u?1:0,t);for(var p,f,m,v=0,g=n.props,b=g.textField,y=g.ignoreCase;v<h;v++)if(p=A(s[v].item,b),f=u&&F(p,c,y),m=F(p,l,y),f||m){v=s[v].itemIndex;break}if(v!==h){var w=n.base.initState();w.syntheticEvent=e,n.handleItemSelect(v,w),n.applyState(w),n._valueDuringOnChange=void 0}},n.handleKeyDown=function(e){var t=n.props,r=t.data,o=void 0===r?[]:r,i=t.filterable,a=t.disabled,s=t.leftRightKeysNavigation,c=void 0===s||s,u=t.virtual,h=void 0===u?{skip:0,total:0,pageSize:0}:u,d=void 0!==n.props.opened?n.props.opened:n.state.opened,p=e.keyCode,f=p===l.R.home||p===l.R.end,m=p===l.R.up||p===l.R.down,v=!d&&(e.altKey&&p===l.R.down||p===l.R.enter||p===l.R.space),g=d&&(e.altKey&&p===l.R.up||p===l.R.esc),b=c&&(p===l.R.left||p===l.R.right),y=m||!i&&(b||f),w=n.base.initState();if(w.syntheticEvent=e,!a){if(f&&n.base.vs.enabled)p===l.R.home?0!==h.skip?(n.base.triggerOnPageChange(w,0,h.pageSize),n._navigated=!0):n.triggerOnChange(o[0],w):h.skip<h.total-h.pageSize?(n.base.triggerOnPageChange(w,h.total-h.pageSize,h.pageSize),n._navigated=!0):n.triggerOnChange(o[o.length-1],w);else if(d&&p===l.R.enter){var x=n.focusedIndex();void 0!==x&&n.handleItemSelect(x,w),n.base.togglePopup(w),e.preventDefault()}else v||g?(n.base.togglePopup(w),e.preventDefault()):y&&(n.onNavigate(w,p),e.preventDefault());n.applyState(w)}},n.handleItemClick=function(e,t){n.base.handleItemClick(e,t),n._valueDuringOnChange=void 0},n.handleFocus=function(e){n._skipFocusEvent||n.base.handleFocus(e)},n.handleBlur=function(e){if(!n._skipFocusEvent&&n.state.focused){var t=void 0!==n.props.opened?n.props.opened:n.state.opened,r=n.props.adaptive,o=n.state.windowWidth,i=(void 0===o?0:o)<=ke&&r,a=n.base.initState();a.syntheticEvent=e,a.data.focused=!1,a.events.push({type:"onBlur"}),t&&!i&&n.base.togglePopup(a),n.applyState(a)}},n.handleDefaultItemClick=function(e){var t=n.base.initState();t.syntheticEvent=e,n.base.togglePopup(t),n.triggerOnChange(n.props.defaultItem,t),n.applyState(t)},n.handleWrapperClick=function(e){if(!e.isPropagationStopped()){var t=n.base.initState();t.syntheticEvent=e,n.state.focused||(t.data.focused=!0),n.base.togglePopup(t),n.applyState(t)}},n.handleKeyPress=function(e){if(!n.props.filterable&&0!==e.which&&e.keyCode!==l.R.enter){var t=String.fromCharCode(e.charCode||e.keyCode);n.props.ignoreCase&&(t=t.toLowerCase())," "===t&&e.preventDefault(),n.searchState={word:n.searchState.word+t,last:n.searchState.last+t},n.search(e)}},n.handleListFilterChange=function(e){var t=n.base.initState();t.syntheticEvent=e.syntheticEvent,void 0===n.props.filter&&(t.data.text=e.target.value),n.base.filterChanged(e.target.value,t),n.applyState(t),n.setState({group:void 0})},n.onPopupOpened=function(){n._filterInput&&n.focusElement(n._filterInput),n.props.adaptive&&setTimeout((function(){n._filterInput&&n.focusElement(n._filterInput)}),300)},n.onPopupClosed=function(){n.state.focused&&window.setTimeout((function(){n.state.focused&&n.base.wrapper&&n.focusElement(n.base.wrapper)}))},n.setValidity=function(){n._select&&n._select.setCustomValidity&&n._select.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please select a value from the list!")},(0,ge.s)(ye),n}return Ie(t,e),Object.defineProperty(t.prototype,"document",{get:function(){if(be.N)return this.element&&this.element.ownerDocument||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var e;return void 0!==this._valueDuringOnChange?e=this._valueDuringOnChange:void 0!==this.props.value?e=this.props.value:void 0!==this.state.value?e=this.state.value:void 0!==this.props.defaultValue&&(e=this.props.defaultValue),H(e)||void 0===this.props.defaultItem||(e=this.props.defaultItem),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var e=this.props,t=e.data,n=void 0===t?[]:t,r=e.dataItemKey,o=this.value;return n.findIndex((function(e){return L(e,o,r)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.dataItemKey,i=r.virtual,a=r.groupField,s=void 0===a?"":a,l=this.props.data,c=void 0===l?[]:l,u=e.virtual?e.virtual.total:0,h=void 0!==this.props.opened?this.props.opened:this.state.opened,d=void 0!==e.opened?e.opened:t.opened,p=!d&&h;if(this.base.getPopupSettings().animate||p&&this.onPopupOpened(),i&&i.total!==u)this.base.vs.calcScrollElementHeight(),this.base.vs.reset();else{var f=this.value,m=void 0!==e.value?e.value:t.value,v=c.findIndex((function(e){return L(e,f,o)}));""!==s&&(v=null===(n=this.base.getGroupedDataModernMode(c,s))||void 0===n?void 0:n.indexOf(f));var g=!L(m,f,o);p&&i?this.base.scrollToVirtualItem(i,v):p&&!i?(this.onPopupOpened(),c&&0!==c.length&&this.base.resetGroupStickyHeader(c[0][s],this),this.base.scrollToItem(v)):h&&d&&f&&g&&!this._navigated?this.base.scrollToItem(v):h&&d&&this._navigated&&(this._navigated&&i&&0===i.skip?this.base.vs.reset():this._navigated&&i&&i.skip===i.total-i.pageSize&&this.base.vs.scrollToEnd())}this._navigated=!1,this.setValidity()},t.prototype.componentDidMount=function(){var e;this.observerResize=be.N&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.base.didMount(),this.setValidity(),(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.observe(this.document.body)},t.prototype.componentWillUnmount=function(){var e;(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.disconnect()},t.prototype.render=function(){var e,t=this,n=(0,ee.provideLocalizationService)(this).toLanguageString(ie,le[ie]),o=this.props,i=o.style,a=o.className,l=o.label,h=o.dir,d=o.virtual,m=o.size,v=o.rounded,g=o.fillMode,b=o.adaptive,y=this.state.windowWidth,w=void 0===y?0:y,x=void 0!==this.props.opened?this.props.opened:this.state.opened,k=this.value,z=A(k,this.props.textField),C=!this.validityStyles||this.validity.valid,_=this.base,I=_.vs,E=w<=ke&&b;I.enabled=void 0!==d,void 0!==d&&(_.vs.skip=d.skip,_.vs.total=d.total,_.vs.pageSize=d.pageSize);var S=this.props,M=S.dataItemKey,O=S.data,R=void 0===O?[]:O,H=S.disabled,F=S.tabIndex,V=S.loading,D=S.iconClassName,B=S.valueRender,N=this.state.focused,P=R.findIndex((function(e){return L(e,k,M)})),T=r.createElement("span",{id:this._inputId,className:"k-input-inner"},r.createElement("span",{className:"k-input-value-text"},z)),j=void 0!==B?B.call(void 0,T,k):T,U=r.createElement(r.Fragment,null,r.createElement("span",{ref:this.componentRef,className:(0,s.A)("k-dropdownlist k-picker",a,(e={},e["k-picker-".concat(Se[m]||m)]=m,e["k-rounded-".concat(Me[v]||v)]=v,e["k-picker-".concat(g)]=g,e["k-focus"]=N,e["k-disabled"]=H,e["k-invalid"]=!C,e["k-loading"]=V,e["k-required"]=this.required,e)),style:l?Ee(Ee({},i),{width:void 0}):i,dir:h,onMouseDown:x?function(e){"INPUT"!==e.target.nodeName&&(t.focusElement(t.base.wrapper),e.preventDefault())}:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:(0,c.p)(F,H),accessKey:this.props.accessKey,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onClick:H?void 0:this.handleWrapperClick,role:"combobox","aria-required":this.required,"aria-disabled":H||void 0,"aria-haspopup":"listbox","aria-expanded":x||!1,"aria-owns":this.base.listBoxId,"aria-activedescendant":x?"option-"+this.base.guid+"-"+(P+(d?d.skip:0)):void 0,"aria-label":this.props.ariaLabel||this.props.label,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy||this._inputId,id:this.props.id,title:this.props.title},j,V&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),r.createElement(we.z,{tabIndex:-1,type:"button","aria-label":n,"aria-hidden":!0,size:m,fillMode:g,iconClass:D,className:"k-input-button",rounded:null,themeColor:"base",icon:D?void 0:"caret-alt-down",svgIcon:D?this.props.svgIcon:f,onMouseDown:function(e){return t.state.focused&&e.preventDefault()}}),this.dummySelect(k),!E&&this.renderListContainer()),E&&this.renderAdaptiveListContainer());return l?r.createElement(p._,{label:l,editorValue:z,editorValid:C,editorDisabled:this.props.disabled,style:{width:i?i.width:void 0},children:U}):U},t.prototype.onNavigate=function(e,t){var n=this.props,r=n.data,o=void 0===r?[]:r,i=n.defaultItem,a=n.dataItemKey,s=n.virtual,l=void 0===s?{skip:0,total:0,pageSize:0}:s,c=this.base.vs,u=this.value,h=o.findIndex((function(e){return L(e,u,a)})),d=this.base.navigation.navigate({current:l.skip+h,max:(c.enabled?l.total:o.length)-1,min:void 0!==i?-1:0,keyCode:t});void 0!==d&&this.handleItemSelect(d,e),this.applyState(e)},t.prototype.renderAdaptiveListContainer=function(){var e,t=this,n=this.state.windowWidth,o=void 0===n?0:n,i=this.props,a=i.header,l=i.footer,c=i.size,u=i.adaptiveTitle,h=i.groupField,d=i.groupStickyHeaderItemRender,p=i.list,f=i.data,v=void 0===f?[]:f,g={navigatable:!1,navigatableElements:[],expand:void 0!==this.props.opened?this.props.opened:this.state.opened,animation:!0,onClose:function(e){return t.handleWrapperClick(e)},animationStyles:o<=xe?{top:0,width:"100%",height:"100%"}:void 0,className:o<=xe?"k-adaptive-actionsheet k-actionsheet-fullscreen":"k-adaptive-actionsheet k-actionsheet-bottom"},b=this.state.group;return void 0===b&&void 0!==h&&(b=A(v[0],h)),r.createElement(r.Fragment,null,r.createElement(ze.V,Ee({},g),r.createElement(Ce.n,{className:"k-text-center"},r.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},r.createElement("div",{className:"k-actionsheet-title"},r.createElement("div",null,u)),r.createElement("div",{className:"k-actionsheet-actions"},r.createElement(we.z,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",onClick:this.handleWrapperClick,icon:"x",svgIcon:m}))),r.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},this.renderListFilter())),r.createElement(_e.M,{className:"!k-overflow-hidden"},a&&r.createElement("div",{className:"k-list-header"},a),r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(Se[c]||c)]=c,e["k-virtual-list"]=this.base.vs.enabled,e))},this.renderDefaultItem(),!p&&b&&0!==v.length&&r.createElement(R,{group:b,groupMode:"modern",render:d}),this.renderList()),l&&r.createElement("div",{className:"k-list-footer"},l))))},t.prototype.focusedIndex=function(){var e=H(this.props.filter)?this.props.filter:this.state.text,t=this.props,n=t.data,r=void 0===n?[]:n,o=t.virtual,i=void 0===o?{skip:0}:o,a=t.dataItemKey,s=t.textField,l=t.focusedItemIndex,c=this.value,u=!(r.findIndex((function(e){return L(e,c,a)}))<0&&!this.props.defaultItem);return!u&&e&&0===i.skip?l?l(r,e,s):r.indexOf(P(r,e,s)):u||0!==i.skip?void 0:0},t.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout((function(){return t._skipFocusEvent=!1}),30)},t.prototype.triggerOnChange=function(e,t){L(this.value,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},t.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},t.prototype.calculateMedia=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.setState({windowWidth:r.target.clientWidth})}},t.displayName="DropDownList",t.propTypes=Ee({delay:o.number,ignoreCase:o.bool,iconClassName:o.string,svgIcon:h.wi,defaultItem:o.any,valueRender:o.func,valueMap:o.func,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string,leftRightKeysNavigation:o.bool,title:o.string,groupField:o.string,list:o.any},ve.propTypes),t.defaultProps=Ee(Ee({delay:500,tabIndex:0,ignoreCase:!0},ve.defaultProps),{required:!1,size:"medium",rounded:"medium",fillMode:"solid",groupMode:"modern"}),t}(r.Component),Re=(0,d.Y)(),He=(0,d.u)(Re,Oe);He.displayName="KendoReactDropDownList";var Fe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._input=null,t}return Fe(t,e),Object.defineProperty(t.prototype,"input",{get:function(){return this._input},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=e.value,n=e.suggestedText,r=this.props,o=r.value,i=r.suggestedText,a=r.focused,s=this.input,l=t!==o||i!==n,c=l&&t.startsWith(o)&&!(n&&i&&n.endsWith(i));a&&s&&document.activeElement!==s&&s.focus(),i&&l&&!c&&s&&s.setSelectionRange(o.length-i.length,o.length)},t.prototype.render=function(){var e=this,t=this.props,n=t.expanded,o=void 0!==n&&n,i=t.disabled,a=t.role,s=void 0===a?"listbox":a,l=t.render,c=r.createElement("input",{autoComplete:"off",id:this.props.id,type:"text",key:"searchbar",size:this.props.size,placeholder:this.props.placeholder,className:"k-input-inner",tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,role:s,name:this.props.name,value:this.props.value,onChange:this.props.onChange,ref:function(t){return e._input=t},onKeyDown:this.props.onKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur,onClick:this.props.onClick,"aria-disabled":i||void 0,disabled:i||void 0,readOnly:this.props.readOnly||void 0,title:this.props.title,"aria-haspopup":"listbox","aria-expanded":o,"aria-owns":this.props.owns,"aria-activedescendant":o?this.props.activedescendant:void 0,"aria-describedby":this.props.ariaDescribedBy,"aria-labelledby":this.props.ariaLabelledBy,"aria-required":this.props.ariaRequired});return l?l.call(void 0,c):c},t}(r.Component);const De=Ve;var Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){return e.preventDefault()},t}return Be(t,e),t.prototype.render=function(){var e=(0,ee.provideLocalizationService)(this).toLanguageString(ne,le[ne]);return r.createElement("span",{className:"k-clear-value",role:"button",onClick:this.props.onClick,onMouseDown:this.onMouseDown,tabIndex:-1,title:e,key:"clearbutton"},r.createElement(u.a,{name:"x",icon:m}))},t}(r.Component);const Ne=Ae;(0,ee.registerForLocalization)(Ae);var Le=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pe=function(){return Pe=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},Pe.apply(this,arguments)},Te=i.G.sizeMap,je=i.G.roundedMap,Ue=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n.base=new ve(n),n._element=null,n._inputId=(0,a.M)(),n._suggested="",n._skipBlur=!1,n._input=null,n._adaptiveFilterInput=null,n.itemHeight=0,n.focus=function(){n._input&&n._input.focus()},n.handleItemSelect=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.virtual,s=r.dataItemKey,l=i[e-(a?a.skip:0)],c=!L(l,n.value,s);n.triggerOnChange(l,t),void 0!==n.state.text&&(t.data.text=void 0),c&&n.base.triggerPageChangeCornerItems(l,t)},n.onPopupOpened=function(){setTimeout((function(){n.mobileMode&&n._adaptiveFilterInput&&(n._skipBlur=!0,n._adaptiveFilterInput.focus(),n._skipBlur=!1)}),300)},n.componentRef=function(e){n._element=e,n.base.wrapper=e},n.toggleBtnClick=function(e){var t=void 0!==n.props.opened?n.props.opened:n.state.opened,r=n.base.initState();if(r.syntheticEvent=e,n.base.togglePopup(r),!t&&n.mobileMode){var o=void 0!==n.props.adaptiveFilter?n.props.adaptiveFilter:n.state.text||null;n.base.filterChanged(o,r)}n.applyState(r)},n.renderMobileListFilter=function(){var e=void 0!==n.props.adaptiveFilter?n.props.adaptiveFilter:n.state.text,t=A(n.value,n.props.textField),o=H(e)?e:t;return r.createElement(S,{value:o,ref:function(e){return n._adaptiveFilterInput=e&&e.element},onChange:n.handleMobileFilterChange,onKeyDown:n.onInputKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode})},n.handleMobileFilterChange=function(e){var t=n.base.initState();t.syntheticEvent=e.syntheticEvent,t.data.text=e.target.value,n.base.filterChanged(e.target.value,t),n.applyState(t)},n.onScroll=function(e){var t=n.base,r=t.vs,o=t.list;r.scrollHandler(e);var i=n.props.groupField,a=n.props.data,s=void 0===a?[]:a;if(i&&s.length){var l=n.itemHeight=n.itemHeight||(r.enabled?r.itemHeight:o?o.children[0].offsetHeight:0),c=e.target.scrollTop-r.skip*l;"modern"===n.props.groupMode&&(s=n.base.getGroupedDataModernMode(s,i));for(var u=s[0][i],h=1;h<s.length&&!(l*h>c);h++)s[h]&&s[h][i]&&(u=s[h][i]);u!==n.state.group&&(n.setState({group:u}),n.props.onGroupScroll&&n.props.onGroupScroll.call(void 0,{group:u}))}},n.handleItemClick=function(e,t){n.base.handleItemClick(e,t),n._valueDuringOnChange=void 0},n.handleBlur=function(e){if(n.state.focused&&!n._skipBlur){var t=n.base.initState();t.data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,n.applyValueOnRejectSuggestions(e.currentTarget.value,t)}},n.onInputClick=function(e){var t=void 0!==n.props.opened?n.props.opened:n.state.opened,r=void 0!==n.props.adaptiveFilter?n.props.adaptiveFilter:n.state.text||null;if(!t&&n.mobileMode){var o=n.base.initState();o.syntheticEvent=e,n.base.togglePopup(o),n.base.filterChanged(r,o),n.applyState(o)}},n.onInputKeyDown=function(e){var t=e.keyCode,r=void 0!==n.props.opened?n.props.opened:n.state.opened,o=n.base.initState();if(o.syntheticEvent=e,!e.altKey&&(t===l.R.up||t===l.R.down))return e.preventDefault(),n.onNavigate(o,t),void n.applyState(o);var i=function(){e.preventDefault(),n.base.togglePopup(o),n.applyState(o)};r?e.altKey&&t===l.R.up?i():t===l.R.enter?(e.preventDefault(),n.applyValueOnEnter(e.currentTarget.value,o)):t===l.R.esc&&n.applyValueOnRejectSuggestions(e.currentTarget.value,o):e.altKey&&t===l.R.down&&i()},n.inputOnChange=function(e){var t=n.base.initState();t.syntheticEvent=e;var r=void 0!==n.props.opened?n.props.opened:n.state.opened,o=e.currentTarget,i=o.value;if(n.props.suggest){var a=o.selectionEnd===i.length,s=void 0!==n.props.filter?n.props.filter:n.state.text;H(s)||(s=A(n.value,n.props.textField)||"");var l=s&&s===i,c=s&&s.length>i.length;l||c||!a?n._suggested="":n.suggestValue(i)}void 0===n.props.filter&&(t.data.text=i),void 0!==n.state.focusedItem&&(t.data.focusedItem=void 0),r||n.base.togglePopup(t),n.base.filterChanged(i,t),n.applyState(t),n.setState({group:void 0})},n.clearButtonClick=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),n._suggested="",n.base.filterChanged("",t),void 0===n.props.filter&&void 0!==n.state.text&&(t.data.text=void 0),n.triggerOnChange(null,t);var r=void 0!==n.props.opened?n.props.opened:n.state.opened,o=n.mobileMode;r&&!o&&n.base.togglePopup(t),n.applyState(t)},n.setValidity=function(){n._input&&n._input.setCustomValidity&&n._input.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please enter a valid value!")},(0,ge.s)(ye),n}return Le(t,e),Object.defineProperty(t.prototype,"document",{get:function(){if(be.N)return this.element&&this.element.ownerDocument||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mobileMode",{get:function(){return!!(this.state.windowWidth&&this.state.windowWidth<=ke&&this.props.adaptive)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var e=this.props,t=e.data,n=void 0===t?[]:t,r=e.dataItemKey,o=this.value;return n.findIndex((function(e){return L(e,o,r)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.dataItemKey,i=r.virtual,a=r.groupField,s=void 0===a?"":a,l=r.data,c=void 0===l?[]:l,u=e.virtual?e.virtual.total:0,h=void 0!==this.props.opened?this.props.opened:this.state.opened,d=void 0!==e.opened?e.opened:t.opened,p=!d&&h,f=this.value;if(this._valueOnDidUpdate=f,i&&i.total!==u)this.base.vs.calcScrollElementHeight(),this.base.vs.reset();else{var m=void 0!==e.value?e.value:t.value,v=c.findIndex((function(e){return L(e,f,o)}));"modern"===this.props.groupMode&&(v=null===(n=this.base.getGroupedDataModernMode(c,s))||void 0===n?void 0:n.indexOf(f));var g=!L(m,f,o);p&&i?this.base.scrollToVirtualItem(i,v):p&&!i?(this.onPopupOpened(),c&&0!==c.length&&this.base.resetGroupStickyHeader(c[0][s],this),this.base.scrollToItem(v)):h&&d&&f&&g&&this.base.scrollToItem(v)}p&&this._input&&this._input.focus(),this.setValidity()},t.prototype.componentDidMount=function(){var e;this.observerResize=be.N&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.base.didMount(),this.setValidity(),(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.observe(this.document.body)},t.prototype.componentWillUnmount=function(){var e;(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.disconnect()},t.prototype.render=function(){var e,n=(0,ee.provideLocalizationService)(this).toLanguageString(re,le[re]),o=(0,ee.provideLocalizationService)(this).toLanguageString(oe,le[oe]),i=this.props,a=i.dir,l=i.disabled,c=i.clearButton,h=void 0===c?t.defaultProps.clearButton:c,d=i.label,m=i.textField,v=i.adaptive,g=i.className,b=i.style,y=i.loading,w=i.iconClassName,x=i.virtual,k=i.size,z=i.rounded,C=i.fillMode,_=i.opened,I=void 0===_?this.state.opened:_,E=i.placeholder,S=this.state.windowWidth,M=void 0===S?0:S,O=!this.validityStyles||this.validity.valid,R=void 0!==this.props.filter?this.props.filter:this.state.text,F=A(this.value,m),V=H(R)?R:F,D=h&&(!!V||H(this.value)),B=this.base.vs,N=this.props.id||this._inputId,L=M<=ke&&v;B.enabled=void 0!==x,void 0!==x&&(B.skip=x.skip,B.total=x.total,B.pageSize=x.pageSize);var P=r.createElement(r.Fragment,null,r.createElement("span",{className:(0,s.A)("k-combobox k-input",(e={},e["k-input-".concat(Te[k]||k)]=k,e["k-rounded-".concat(je[z]||z)]=z,e["k-input-".concat(C)]=C,e["k-invalid"]=!O,e["k-loading"]=y,e["k-required"]=this.required,e["k-disabled"]=l,e),g),ref:this.componentRef,style:d?Pe(Pe({},b),{width:void 0}):b,dir:a},this.renderSearchBar(V||"",N,E),D&&!y&&r.createElement(Ne,{onClick:this.clearButtonClick,key:"clearbutton"}),y&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading",key:"loading"}),r.createElement(we.z,{tabIndex:-1,type:"button","aria-label":I?o:n,icon:w?void 0:"caret-alt-down",svgIcon:w?this.props.svgIcon:f,iconClass:w,size:k,fillMode:C,rounded:null,themeColor:"base",className:"k-input-button",onClick:this.toggleBtnClick,onMouseDown:function(e){return e.preventDefault()}}),!L&&this.renderListContainer()),L&&this.renderAdaptiveListContainer());return d?r.createElement(p._,{label:d,editorId:N,editorValue:V,editorValid:O,editorDisabled:l,style:{width:b?b.width:void 0},children:P}):P},t.prototype.onNavigate=function(e,t){var n=this.props,r=n.data,o=void 0===r?[]:r,i=n.virtual,a=void 0===i?{skip:0}:i,s=this.props.filter?this.props.filter:this.state.text,l=this.getFocusedIndex(),c=this.base.vs,u=this.value;if(this._suggested="",-1===l||H(u))if(""===s)this.handleItemSelect(0,e);else{var h=a.skip+l,d=this.base.navigation.navigate({keyCode:t,current:h,max:(c.enabled?c.total:o.length)-1,min:0});void 0!==d&&this.handleItemSelect(d,e)}else this.handleItemSelect(l,e)},t.prototype.applyValueOnEnter=function(e,t){var n,r=this.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=r.allowCustom,l=void 0!==this.props.opened?this.props.opened:this.state.opened,c=A(this.value,a)===e?this.index:B(i,e,a),u=-1!==c,h=void 0;if(this._suggested="",u)h=i[c];else{if(!s)return this.selectFocusedItem(e,t);h=void 0!==a?((n={})[a]=e,n):e}this.triggerOnChange(h,t),l&&this.base.togglePopup(t),void 0===this.props.filter&&void 0!==this.state.text&&(t.data.text=void 0),this.applyState(t)},t.prototype.applyValueOnRejectSuggestions=function(e,t){var n,r=this.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=r.allowCustom,l=void 0!==this.props.opened?this.props.opened:this.state.opened,c=A(this.value,a),u=this.state.windowWidth&&this.state.windowWidth<=ke;if(this._suggested="",e===c||""===e&&!H(c))return l&&!u&&this.base.togglePopup(t),this.applyState(t);var h=B(i,e,a,!0),d=null;-1!==h?d=i[h]:s&&(d=e?a?((n={})[a]=e,n):e:null),this.triggerOnChange(d,t),void 0!==this.state.text&&(t.data.text=void 0,this.base.filterChanged("",t)),l&&!u&&this.base.togglePopup(t),this.applyState(t)},t.prototype.selectFocusedItem=function(e,t){var n=void 0!==this.props.opened?this.props.opened:this.state.opened,r=this.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=r.virtual,l=void 0===s?{skip:0}:s,c=r.focusedItemIndex,u=void 0===c?D:c,h=l.skip,d=""===e&&0===h?0:u(i,e,a);return-1!==d?this.handleItemSelect(d+h,t):(this.triggerOnChange(null,t),void 0!==this.state.text&&(t.data.text=void 0)),n&&this.base.togglePopup(t),this.applyState(t)},t.prototype.renderAdaptiveListContainer=function(){var e,t=this,n=this.state.windowWidth,o=void 0===n?0:n,i=this.props,a=i.header,l=i.footer,c=i.size,u=i.data,h=void 0===u?[]:u,d=i.groupField,p=i.groupMode,f=i.list,v=i.virtual,g=i.adaptiveTitle,b=i.groupStickyHeaderItemRender,y=void 0!==this.props.opened?this.props.opened:this.state.opened,w=this.state.group;void 0===w&&void 0!==d&&(w=A(h[0],d));var x={navigatable:!1,navigatableElements:[],expand:y,animation:!0,onClose:function(e){return t.toggleBtnClick(e)},animationStyles:o<=xe?{top:0,width:"100%",height:"100%"}:void 0,className:o<=xe?"k-adaptive-actionsheet k-actionsheet-fullscreen":"k-adaptive-actionsheet k-actionsheet-bottom"};return r.createElement(r.Fragment,null,r.createElement(ze.V,Pe({},x),r.createElement(Ce.n,{className:"k-text-center"},r.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},r.createElement("div",{className:"k-actionsheet-title"},r.createElement("div",null,g)),r.createElement("div",{className:"k-actionsheet-actions"},r.createElement(we.z,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",onClick:this.toggleBtnClick,icon:"x",svgIcon:m}))),r.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},this.renderMobileListFilter())),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},r.createElement("div",{className:(0,s.A)((e={},e["k-list"]=!f,e["k-list-lg"]=!0,e["k-virtual-list"]=v,e["k-data-table"]=f,e["k-table-".concat(Te[c]||c)]=f&&c,e))},a&&r.createElement("div",{className:"k-table-header"},a),!f&&w&&0!==h.length&&r.createElement(R,{group:w,groupMode:p,render:b}),this.renderList(),l&&r.createElement("div",{className:"k-list-footer"},l))))))},t.prototype.renderListContainer=function(){var e,t,n=this.base,o=this.props,i=o.dir,a=o.header,l=o.footer,c=o.data,u=void 0===c?[]:c,h=o.groupField,d=o.groupMode,p=o.size,f=o.list,m=o.virtual,v=o.groupStickyHeaderItemRender,g=void 0!==this.props.opened?this.props.opened:this.state.opened,b=n.getPopupSettings(),y=void 0!==b.width?b.width:n.popupWidth,w=this.state.group;return void 0===w&&void 0!==h&&(w=A(u[0],h)),r.createElement(z,{width:y,popupSettings:{animate:b.animate,anchor:this.element,show:g,popupClass:(0,s.A)(b.popupClass,"k-list-container","k-combobox-popup"),className:b.className,appendTo:b.appendTo},dir:void 0!==i?i:this.base.dirCalculated,itemsCount:[u.length]},r.createElement("div",{className:(0,s.A)((e={},e["k-list"]=!f,e["k-list-".concat(Te[p]||p)]=!f&&p,e["k-virtual-list"]=m,e["k-data-table"]=f,e["k-table-".concat(Te[p]||p)]=f&&p,e))},a&&r.createElement("div",{className:"k-table-header"},a),!f&&w&&0!==u.length&&r.createElement(R,{group:w,groupMode:d,render:v}),this.renderList(),l&&r.createElement("div",{className:(0,s.A)((t={},t["k-list-footer"]=!this.props.footerClassName,t),this.props.footerClassName)},l)))},t.prototype.renderList=function(){var e,t=this,n=this.base,o=this.props,i=o.textField,a=o.dataItemKey,l=o.listNoDataRender,c=o.itemRender,u=o.groupHeaderItemRender,h=o.data,d=void 0===h?[]:h,p=o.virtual,f=void 0===p?{skip:0}:p,m=n.getPopupSettings(),v=n.vs,g=f.skip,b=void 0!==this.props.opened?this.props.opened:this.state.opened,y="translateY(".concat(v.translate,"px)"),w=b?this.getFocusedIndex():void 0,x=void 0!==this.props.filter?this.props.filter:this.state.text,k=A(this.value,i),z=H(x)&&x!==k?null:this.value,C=this.props.list||he;return r.createElement(C,{id:n.listBoxId,virtual:Boolean(f),show:b,data:d,focusedIndex:w,value:z,textField:i,valueField:a,groupField:this.props.groupField,groupMode:this.props.groupMode,isMultiColumn:this.props.isMultiColumn,optionsGuid:n.guid,listRef:function(e){v.list=t.base.list=e,t.itemHeight=0},wrapperStyle:this.state.windowWidth&&this.state.windowWidth>ke?{maxHeight:m.height}:{},wrapperCssClass:(0,s.A)("k-list-content",(e={},e["k-list-scroller"]=!f,e)),listStyle:v.enabled?{transform:y}:void 0,key:"listkey",skip:g,onClick:this.handleItemClick,itemRender:c,groupHeaderItemRender:u,noDataRender:l,onMouseDown:function(e){return e.preventDefault()},onScroll:this.onScroll,wrapperRef:v.scrollerRef,scroller:this.base.renderScrollElement()})},t.prototype.renderSearchBar=function(e,t,n){var o=this,i=this.props,a=i.tabIndex,s=i.disabled,l=i.data,c=void 0===l?[]:l,u=i.dataItemKey,h=i.virtual,d=void 0===h?{skip:0}:h,p=void 0!==this.props.opened?this.props.opened:this.state.opened,f=this.value,m=Math.max(0,c.findIndex((function(e){return L(e,f,u)})));return this._suggested&&!L(this._valueOnDidUpdate,f,u)&&(this._suggested=""),r.createElement(De,{id:t,readOnly:p&&this.mobileMode,placeholder:n,tabIndex:a,title:this.props.title,accessKey:this.props.accessKey,value:e+this._suggested,suggestedText:this._suggested,ref:function(e){return o._input=e&&e.input},onClick:this.onInputClick,onKeyDown:this.onInputKeyDown,onChange:this.inputOnChange,onFocus:this.base.handleFocus,onBlur:this.handleBlur,disabled:s,expanded:p,owns:this.base.listBoxId,activedescendant:"option-".concat(this.base.guid,"-").concat(m+d.skip),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,ariaRequired:this.required,render:this.props.valueRender})},t.prototype.triggerOnChange=function(e,t){var n=this.value;!H(n)&&!H(e)||L(n,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},t.prototype.getFocusedIndex=function(){var e=this.value,t=this.props,n=t.data,r=void 0===n?[]:n,o=t.textField,i=t.dataItemKey,a=t.virtual,s=void 0===a?{skip:0}:a,l=t.focusedItemIndex,c=void 0===l?D:l,u=this.props.filter?this.props.filter:this.state.text;return H(e)&&void 0===u?r.findIndex((function(t){return L(t,e,i)})):u?c(r,u,o):0===s.skip?0:-1},t.prototype.suggestValue=function(e){var t=this.props,n=t.data,r=t.textField;this._suggested=function(e,t,n){void 0===t&&(t=[]);var r="";if(e){var o=t[D(t,e,n)];if(o){var i=A(o,n);e.toLowerCase()!==i.toLowerCase()&&(r=i.substring(e.length))}}return r}(e,n,r)},t.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},t.prototype.calculateMedia=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.setState({windowWidth:r.target.clientWidth})}},t.displayName="ComboBox",t.propTypes=Pe(Pe({},ve.propTypes),{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),dataItemKey:o.string,groupField:o.string,groupMode:o.oneOf([void 0,"classic","modern"]),isMultiColumn:o.bool,suggest:o.bool,placeholder:o.string,title:o.string,allowCustom:o.bool,clearButton:o.bool,iconClassName:o.string,svgIcon:h.wi,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,list:o.any,valueRender:o.func}),t.defaultProps=Pe(Pe({},ve.defaultProps),{size:"medium",rounded:"medium",fillMode:"solid",allowCustom:!1,clearButton:!0,required:!1,groupMode:"classic",isMultiColumn:!1}),t}(r.Component),Ke=(0,d.Y)(),We=(0,d.u)(Ke,Ue);We.displayName="KendoReactComboBox";var qe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$e.apply(this,arguments)},Ge=i.G.sizeMap,Ye=i.G.roundedMap,Xe=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n.base=new ve(n),n._element=null,n._inputId=(0,a.M)(),n._suggested="",n._input=null,n._isScrolling=!1,n.itemHeight=0,n.focus=function(){n._input&&n._input.focus()},n.handleItemSelect=function(e,t){var r=n.props.data,o=A((void 0===r?[]:r)[e],n.props.textField);n.triggerOnChange(o,t)},n.itemFocus=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=i[e];L(n.state.focusedItem,s,a)||(t.data.focusedItem=s)},n.togglePopup=function(e){n.base.togglePopup(e)},n.setValidity=function(){n._input&&n._input.setCustomValidity&&n._input.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please enter a valid value!")},n.onScroll=function(e){n._isScrolling=!0;var t=n.base.list,r=n.props.groupField,o=n.props.data,i=void 0===o?[]:o;if(r&&i.length){var a=n.itemHeight||(t?t.children[0].offsetHeight:0),s=e.target.scrollTop;r&&(i=n.base.getGroupedDataModernMode(i,r));for(var l=i[0][r],c=1;c<i.length&&!(a*c>s);c++)i[c]&&i[c][r]&&(l=i[c][r]);l!==n.state.group&&n.setState({group:l})}},n.handleItemClick=function(e,t){n.base.handleItemClick(e,t),n._valueDuringOnChange=void 0},n.onChangeHandler=function(e){var t=n.base.initState(),r=e.currentTarget,o=r.value,i=r.selectionEnd===o.length;t.syntheticEvent=e;var a=n._suggested,s=n.value,l=s&&s.substring(0,s.length-a.length),c=l&&l===o,u=l&&l.length>o.length,h=n.props.suggest,d=void 0!==n.props.opened?n.props.opened:n.state.opened;if(void 0!==h&&!1!==h){c||u||!i?n._suggested="":n.suggestValue(o);var p=o+n._suggested,f={userInput:o,value:n._suggested};n.triggerOnChange(p,t,{suggestion:f})}else n._suggested="",n.triggerOnChange(o,t);(!d&&o||d&&!o)&&n.togglePopup(t),t.data.focusedItem=void 0,n.applyState(t),n.setState({group:void 0})},n.clearButtonClick=function(e){var t=n.base.initState(),r=void 0!==n.props.opened?n.props.opened:n.state.opened;t.syntheticEvent=e,n._suggested="",n.triggerOnChange("",t),void 0!==n.state.focusedItem&&(t.data.focusedItem=void 0),r&&n.togglePopup(t),n.applyState(t)},n.onInputKeyDown=function(e){n._isScrolling&&(n._isScrolling=!1);var t=e.keyCode,r=void 0!==n.props.opened?n.props.opened:n.state.opened,o=n.base.initState();o.syntheticEvent=e;var i=function(){r&&e.preventDefault()};t===l.R.enter||t===l.R.esc?(i(),n.applyInputValue(e.currentTarget.value,o,e.keyCode)):t!==l.R.up&&t!==l.R.down||(i(),n.onNavigate(o,t))},n.handleBlur=function(e){if(n.state.focused){var t=n.base.initState();t.data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,n.applyInputValue(e.currentTarget.value,t)}},(0,ge.s)(ye),n}return qe(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||""!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.groupField,i=void 0===o?"":o,a=r.data,s=void 0===a?[]:a,l=e.data,c=void 0===l?[]:l,u=this.focusedIndex(),h=s[u],d=c!==s,p=void 0!==h&&t.focusedItem!==h,f=void 0!==this.props.opened?this.props.opened:this.state.opened,m=void 0!==e.opened?e.opened:t.opened,v=!m&&f;if(""===i)(f&&(p||d)||v)&&this.base.scrollToItem(u);else if(!this._isScrolling){var g=null===(n=this.base.getGroupedDataModernMode(s,i))||void 0===n?void 0:n.indexOf(h);v&&(s&&0!==s.length&&this.base.resetGroupStickyHeader(s[0][i],this),this.base.scrollToItem(g)),f&&m&&p&&this.base.scrollToItem(g)}this.setValidity()},t.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},t.prototype.render=function(){var e,t=this,n=this.props,o=n.dir,i=n.disabled,a=n.label,l=n.className,c=n.style,h=n.loading,d=n.suggest,f=n.size,m=n.rounded,v=n.fillMode,g=!this.validityStyles||this.validity.valid,b=this.base,y=this.value,w=!1!==this.props.clearButton&&!h&&!!y,x=this.props.id||this._inputId;"string"==typeof d&&(this._suggested=d);var k=r.createElement("span",{className:(0,s.A)("k-autocomplete k-input",l,(e={},e["k-input-".concat(Ge[f]||f)]=f,e["k-rounded-".concat(Ye[m]||m)]=m,e["k-input-".concat(v)]=v,e["k-invalid"]=!g,e["k-loading"]=h,e["k-required"]=this.required,e["k-disabled"]=i,e)),ref:function(e){t._element=e,b.wrapper=e},style:a?$e($e({},c),{width:void 0}):c,dir:o},this.renderSearchBar(y||"",x),h&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),w&&!h&&r.createElement(Ne,{onClick:this.clearButtonClick,key:"clearbutton"}),this.renderListContainer());return a?r.createElement(p._,{label:a,editorId:x,editorValue:y,editorValid:g,editorDisabled:i,style:{width:c?c.width:void 0},children:k}):k},t.prototype.onNavigate=function(e,t){var n=this,r=this.value,o=this.props,i=o.data,a=void 0===i?[]:i,s=o.textField,l=o.focusedItemIndex,c=void 0!==this.state.focusedItem?a.findIndex((function(e){return L(e,n.state.focusedItem,s)})):l?l(a,r,s):a.indexOf(P(a,r,s)),u=this.base.navigation.navigate({keyCode:t,current:c,max:a.length-1,min:0});void 0!==u&&this.itemFocus(u,e),this.applyState(e)},t.prototype.applyInputValue=function(e,t,n){var r=void 0!==this.props.opened?this.props.opened:this.state.opened,o=this.props,i=o.data,a=void 0===i?[]:i,s=o.textField;if(this._suggested="",r&&n===l.R.enter){var c=A(a[this.focusedIndex(e)],s);this.triggerOnChange(c,t)}r&&this.togglePopup(t),this.applyState(t)},t.prototype.renderSearchBar=function(e,t){var n=this,o=this.base,i=this.props,a=i.placeholder,s=i.tabIndex,l=i.disabled,c=i.readonly,u=this.state.focused,h=void 0!==this.props.opened?this.props.opened:this.state.opened;return r.createElement(De,{id:t,placeholder:a,tabIndex:s,accessKey:this.props.accessKey,value:e,suggestedText:this._suggested,focused:u,name:this.props.name,ref:function(e){return n._input=e&&e.input},onKeyDown:this.onInputKeyDown,onChange:this.onChangeHandler,onFocus:o.handleFocus,onBlur:this.handleBlur,disabled:l,readOnly:c,expanded:h,owns:o.listBoxId,activedescendant:"option-"+o.guid+"-"+this.focusedIndex(),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,ariaRequired:this.required,render:this.props.valueRender})},t.prototype.renderListContainer=function(){var e,t=this.base,n=this.props,o=n.dir,i=n.header,a=n.footer,l=n.data,c=void 0===l?[]:l,u=n.size,h=n.groupField,d=n.list,p=n.groupStickyHeaderItemRender,f=t.getPopupSettings(),m=void 0!==this.props.opened?this.props.opened:this.state.opened,v=void 0!==f.width?f.width:t.popupWidth,g=this.state.group;return void 0===g&&void 0!==h&&(g=A(c[0],h)),r.createElement(z,{width:v,popupSettings:{animate:f.animate,anchor:this.element,show:m,popupClass:(0,s.A)(f.popupClass,"k-list-container","k-autocomplete-popup"),className:f.className,appendTo:f.appendTo},dir:void 0!==o?o:this.base.dirCalculated,itemsCount:[c.length]},i&&r.createElement("div",{className:"k-list-header"},i),r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(Ge[u]||u)]=u,e))},!d&&g&&0!==c.length&&r.createElement(R,{group:g,groupMode:"modern",render:p}),this.renderList()),a&&r.createElement("div",{className:"k-list-footer"},a))},t.prototype.renderList=function(){var e=this.base,t=e.getPopupSettings(),n=this.props,o=n.textField,i=n.data,a=void 0===i?[]:i,s=n.listNoDataRender,l=n.itemRender,c=n.groupHeaderItemRender,u=this.value,h=void 0!==this.props.opened?this.props.opened:this.state.opened;return r.createElement(he,{id:e.listBoxId,show:h,data:a.slice(),focusedIndex:this.focusedIndex(),value:u,textField:o,valueField:o,highlightSelected:!1,optionsGuid:e.guid,groupField:this.props.groupField,groupMode:"modern",listRef:function(t){return e.list=t},wrapperStyle:{maxHeight:t.height},wrapperCssClass:"k-list-content",onClick:this.handleItemClick,itemRender:l,groupHeaderItemRender:c,noDataRender:s,onMouseDown:function(e){return e.preventDefault()},onScroll:this.onScroll})},t.prototype.triggerOnChange=function(e,t,n){(this.value!==e||n)&&(t.data.value=e,this._valueDuringOnChange=e,t.events.push($e({type:"onChange"},n||{})))},t.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},t.prototype.suggestValue=function(e){if(this._suggested="",e){var t=this.props,n=t.data,r=void 0===n?[]:n,o=t.textField,i=r[D(r,e,o)];if(i){var a=A(i,o);e.toLowerCase()!==a.toLowerCase()&&(this._suggested=a.substring(e.length))}}},t.prototype.focusedIndex=function(e){var t=this,n=this.props,r=n.data,o=void 0===r?[]:r,i=n.textField,a=n.focusedItemIndex,s=void 0!==e?e:this.value;return void 0!==this.state.focusedItem?o.findIndex((function(e){return L(e,t.state.focusedItem,i)})):a?a(o,s,i):Math.max(0,o.indexOf(P(o,s,i)))},t.displayName="AutoComplete",t.propTypes=$e($e({},ve.basicPropTypes),{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),groupField:o.string,suggest:o.oneOfType([o.bool,o.string]),placeholder:o.string,value:o.string,defaultValue:o.string,validationMessage:o.string,required:o.bool,readonly:o.bool,clearButton:o.bool,valueRender:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,list:o.any}),t.defaultProps=$e($e({},ve.defaultProps),{size:"medium",rounded:"medium",fillMode:"solid"}),t}(r.Component),Ze=(0,d.Y)(),Je=(0,d.u)(Ze,Xe);Je.displayName="KendoReactAutoComplete";var Qe=n(1711),et=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),tt=function(e){return e.syntheticEvent.preventDefault()},nt=function(e){return e.syntheticEvent.stopPropagation()},rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return et(t,e),t.prototype.render=function(){var e=this.props,t=e.data,n=e.guid,o=e.focused,i=e.tagRender,a=e.tag,s=e.onTagDelete,l=e.size;return r.createElement(r.Fragment,null,t.map((function(e,c){var u=a?r.createElement(a,{key:e.text+c,tagData:e,guid:n,focusedTag:o,onTagDelete:s}):r.createElement(Qe.A,{id:"tag-".concat(n,"-").concat(e.text.replace(/\s+/g,"-")),"aria-selected":!0,role:"option","aria-setsize":t.length,key:e.text+c,text:e.text,removable:!0,onRemove:function(t){return s.call(void 0,e.data,t.syntheticEvent)},onMouseDown:tt,onClick:nt,className:e===o?"k-focus":void 0,size:l});return i?i(e,u):u})),this.props.children)},t}(r.Component);const ot=rt;var it;!function(e){e[e.PopupList=0]="PopupList",e[e.TagsList=1]="TagsList"}(it||(it={}));var at,st=n(4390),lt=function(){return lt=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},lt.apply(this,arguments)},ct=function(e){var t=e.footer,n=e.children,o=e.windowWidth,i=void 0===o?0:o,a=e.navigatable,s=e.navigatableElements,l=e.expand,c=e.animation,u=e.onClose,h=e.adaptiveTitle,d=e.mobileFilter,p={navigatable:a||!1,navigatableElements:s||[],expand:l,animation:!1!==c,onClose:u,animationStyles:i<=500?{top:0,width:"100%",height:"100%"}:void 0,className:i<=500?"k-adaptive-actionsheet k-actionsheet-fullscreen":"k-adaptive-actionsheet k-actionsheet-bottom"};return r.createElement(ze.V,lt({},p),r.createElement(Ce.n,{className:"k-text-center"},r.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},r.createElement("div",{className:"k-actionsheet-title"},r.createElement("div",null,h)),r.createElement("div",{className:"k-actionsheet-actions"},r.createElement(we.z,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",icon:"x",svgIcon:m,onClick:u}))),d&&r.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},d)),n,t&&r.createElement(st.K,{className:"k-actions k-actions-stretched"},r.createElement(we.z,{size:"large",tabIndex:0,"aria-label":t.cancelText,"aria-disabled":"false",type:"button",onClick:function(e){return t.onCancel(e)}},t.cancelText),r.createElement(we.z,{tabIndex:0,themeColor:"primary",size:"large","aria-label":t.applyText,"aria-disabled":"false",type:"button",onClick:function(e){return t.onApply(e)}},t.applyText)))},ut=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ht=function(){return ht=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},ht.apply(this,arguments)},dt=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},pt=i.G.sizeMap,ft=i.G.roundedMap,mt=function(e){return e.preventDefault()},vt=function(e){return e===at.CustomItem};!function(e){e[e.None=0]="None",e[e.ListItem=1]="ListItem",e[e.CustomItem=2]="CustomItem"}(at||(at={}));var gt=function(e){function t(t){var n=e.call(this,t)||this;return n.state={activedescendant:it.PopupList,currentValue:[]},n._element=null,n._valueItemsDuringOnChange=null,n._inputId=(0,a.M)(),n.base=new ve(n),n._tags=[],n._input=null,n._adaptiveInput=null,n._skipFocusEvent=!1,n.itemHeight=0,n.scrollToFocused=!1,n.localization=null,n.focus=function(){n._input&&n._input.focus()},n.handleItemSelect=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.dataItemKey,s=r.virtual,l=i[e-(s?s.skip:0)],c=n.value.findIndex((function(e){return L(e,l,a)})),u=[];-1!==c?(u=n.value).splice(c,1):u=dt(dt([],n.value,!0),[l],!1),(void 0!==n.props.filter?n.props.filter:n.state.text)&&!n.mobileMode&&(n.state.text&&(t.data.text=""),n.base.filterChanged("",t)),n._adaptiveInput&&n._adaptiveInput.blur(),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.triggerOnChange(u,t),n.base.triggerPageChangeCornerItems(l,t)},n.onTagDelete=function(e,t){var r=n.base.initState();r.syntheticEvent=t,n.opened&&n.base.togglePopup(r),n.state.focused||n.mobileMode||(r.data.focused=!0,n.focus());var o=n.value;N(o,e,n.props.dataItemKey),n.triggerOnChange(o,r),n.applyState(r)},n.itemFocus=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.allowCustom,s=r.virtual,l=s?s.skip:0,c=void 0!==n.props.filter?n.props.filter:n.state.text,u=n.getFocusedState().focusedIndex,h=a&&c,d=i[e-l];d&&u!==e?n.state.focusedIndex!==e&&(t.data.focusedIndex=e,t.data.activedescendant=it.PopupList):h&&-1===e&&void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.base.triggerPageChangeCornerItems(d,t)},n.componentRef=function(e){n._element=e,n.base.wrapper=e},n.searchbarRef=function(e){var t=n._input=e&&e.input;t&&n.state.focused&&window.setTimeout((function(){return t.focus()}),0)},n.onChangeHandler=function(e){var t=n.base.initState(),r=e.currentTarget.value;t.syntheticEvent=e,void 0===n.props.filter&&(t.data.text=r),t.data.focusedIndex=void 0,n.opened||(n.base.togglePopup(t),n.setState({currentValue:n.value})),n.base.filterChanged(r,t),n.applyState(t),n.setState({group:void 0})},n.clearButtonClick=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),n.value.length>0&&n.triggerOnChange([],t),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.opened&&n.base.togglePopup(t);var r=void 0!==n.props.filter?n.props.filter:n.state.text;H(r)&&""!==r&&n.base.filterChanged("",t),n.state.text&&(t.data.text=""),n.applyState(t)},n.onInputKeyDown=function(e){var t=e.keyCode,r=void 0!==n.props.filter?n.props.filter:n.state.text,o=n.getFocusedState().focusedItem,i=n.base.initState();if(i.syntheticEvent=e,!r&&n.value.length>0&&(t===l.R.left||t===l.R.right||t===l.R.home||t===l.R.end||t===l.R.delete||t===l.R.backspace))return n.onTagsNavigate(e,i);var a=function(){e.preventDefault(),n.base.togglePopup(i),n.applyState(i)};n.opened?e.altKey&&t===l.R.up?a():t===l.R.up||t===l.R.down?(e.preventDefault(),n.onNavigate(i,t)):t===l.R.enter?(e.preventDefault(),n.props.allowCustom&&r&&null===o?n.customItemSelect(e):n.selectFocusedItem(e)):t===l.R.esc&&a():e.altKey&&t===l.R.down&&a()},n.listContainerContent=function(){var e,t,o=n.props,i=o.header,a=o.footer,l=o.allowCustom,c=o.size,h=o.data,d=void 0===h?[]:h,p=o.groupStickyHeaderItemRender,f=o.groupField,m=o.list,g=void 0!==n.props.filter?n.props.filter:n.state.text,b=n.getFocusedState().focusedType,y=l&&g&&r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(pt[c]||c)]=c,e)),key:"customitem",onClick:n.customItemSelect,onMouseDown:mt},r.createElement("div",{className:(0,s.A)("k-list-item k-custom-item",{"k-focus":vt(b)}),style:{fontStyle:"italic"}},g,r.createElement(u.a,{name:"plus",icon:v,style:{position:"absolute",right:"0.5em"}}))),w=n.state.group;return void 0===w&&void 0!==f&&(w=A(d[0],f)),r.createElement(r.Fragment,null,i&&r.createElement("div",{className:"k-list-header"},i),y,r.createElement("div",{className:(0,s.A)("k-list",(t={},t["k-list-".concat(n.mobileMode?"lg":pt[c]||c)]=c,t["k-virtual-list"]=n.base.vs.enabled,t))},!m&&w&&0!==d.length&&r.createElement(R,{group:w,groupMode:"modern",render:p}),n.renderList()),a&&r.createElement("div",{className:"k-list-footer"},a))},n.renderListContainer=function(){var e=n.base,t=n.props,o=t.dir,i=t.data,a=void 0===i?[]:i,l=n.base.getPopupSettings(),c=void 0!==l.width?l.width:e.popupWidth,u={dir:void 0!==o?o:e.dirCalculated,width:c,popupSettings:{popupClass:(0,s.A)(l.popupClass,"k-list-container","k-multiselect-popup"),className:l.className,animate:l.animate,anchor:n.element,show:n.opened,onOpen:n.onPopupOpened,onClose:n.onPopupClosed,appendTo:l.appendTo},itemsCount:[a.length,n.value.length]};return r.createElement(z,ht({},u),n.listContainerContent())},n.renderAdaptiveListContainer=function(){var e=n.props,t=e.adaptiveTitle,o=e.filterable,i=e.filter,a=n.state.windowWidth,s=void 0===a?0:a,l=void 0!==i?i:n.state.text;n.localization=(0,ee.provideLocalizationService)(n);var c=o?r.createElement(S,{value:l,ref:function(e){return n._adaptiveInput=e&&e.element},onChange:n.onChangeHandler,onKeyDown:n.onInputKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode}):null,u={adaptiveTitle:t,expand:n.opened,onClose:function(e){return n.onCancel(e)},windowWidth:s,mobileFilter:c,footer:{cancelText:n.localization.toLanguageString(se,le[se]),onCancel:function(e){return n.onCancel(e)},applyText:n.localization.toLanguageString(ae,le[ae]),onApply:function(e){return n.closePopup(e)}}};return r.createElement(ct,ht({},u),r.createElement(_e.M,{className:"!k-overflow-hidden"},o&&r.createElement(S,{value:l,ref:function(e){return n._adaptiveInput=e&&e.element},onChange:n.onChangeHandler,onKeyDown:n.onInputKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode}),n.listContainerContent()))},n.closePopup=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.opened&&n.base.togglePopup(t),t.events.push({type:"onClose"});var r=void 0!==n.props.filter?n.props.filter:n.state.text;H(r)&&""!==r&&n.base.filterChanged("",t),n.state.text&&(t.data.text=""),n.applyState(t)},n.onCancel=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.opened&&n.base.togglePopup(t),t.events.push({type:"onCancel"});var r=void 0!==n.props.filter?n.props.filter:n.state.text;H(r)&&""!==r&&n.base.filterChanged("",t),n.state.text&&(t.data.text=""),n.applyState(t)},n.renderList=function(){var e=n.props,t=e.data,o=void 0===t?[]:t,i=e.textField,a=e.listNoDataRender,s=e.itemRender,l=e.groupHeaderItemRender,c=e.dataItemKey,u=e.virtual,h=n.base.vs,d=u?u.skip:0,p=n.getFocusedState().focusedIndex,f=n.base.getPopupSettings(),m="translateY(".concat(h.translate,"px)");return r.createElement(he,{id:n.base.listBoxId,show:n.opened,data:o.slice(),focusedIndex:p-d,value:n.value,textField:i,valueField:c,optionsGuid:n.base.guid,groupField:n.props.groupField,groupMode:"modern",listRef:function(e){h.list=n.base.list=e},wrapperStyle:n.mobileMode?{}:{maxHeight:f.height},wrapperCssClass:"k-list-content",listStyle:h.enabled?{transform:m}:void 0,key:"listKey",skip:d,onClick:n.handleItemClick,itemRender:s,groupHeaderItemRender:l,noDataRender:a,onMouseDown:mt,onBlur:n.handleBlur,onScroll:n.onScroll,wrapperRef:h.scrollerRef,scroller:n.base.renderScrollElement()})},n.onScroll=function(e){var t=n.base,r=t.vs,o=t.list;r.scrollHandler(e);var i=n.props.groupField,a=n.props.data,s=void 0===a?[]:a;if(i&&s.length&&i){for(var l=n.itemHeight=n.itemHeight||(r.enabled?r.itemHeight:o?o.children[0].offsetHeight:0),c=e.target.scrollTop-r.skip*l,u=(s=n.base.getGroupedDataModernMode(s,i))[0][i],h=1;h<s.length&&!(l*h>c);h++)s[h]&&s[h][i]&&(u=s[h][i]);u!==n.state.group&&n.setState({group:u})}},n.customItemSelect=function(e){var t,r=void 0!==n.props.filter?n.props.filter:n.state.text,o=n.props.textField;if(r){var i=n.base.initState();i.syntheticEvent=e;var a=o?((t={})[o]=r,t):r;void 0!==n.state.text&&(i.data.text=""),i.data.focusedIndex=void 0,n.base.filterChanged("",i);var s=dt(dt([],n.value,!0),[a],!1);n.triggerOnChange(s,i),n.base.togglePopup(i),n.applyState(i)}},n.handleWrapperClick=function(e){var t=n._input;!n.opened&&t&&n.focusElement(t);var r=n.base.initState();r.syntheticEvent=e,n.state.focused||n.mobileMode||(r.events.push({type:"onFocus"}),r.data.focused=!0),n.mobileMode&&(n.setState({currentValue:n.tagsToRender}),n.mobileMode&&window.setTimeout((function(){return n._adaptiveInput&&n._adaptiveInput.focus()}),300)),n.base.togglePopup(r),n.applyState(r)},n.handleItemClick=function(e,t){var r=n.base.initState();r.syntheticEvent=t,n.handleItemSelect(e,r),n.props.autoClose&&!n.mobileMode&&n.base.togglePopup(r),t.stopPropagation(),n.applyState(r)},n.handleBlur=function(e){if(n.state.focused&&!n._skipFocusEvent){var t=n.base.initState(),r=n.props,o=r.allowCustom,i=r.filterable;t.syntheticEvent=e,t.data.focused=!1,t.events.push({type:"onBlur"}),n.opened&&!n.mobileMode&&(n.state.opened&&(t.data.opened=!1),t.events.push({type:"onClose"})),o||i||!n.state.text||(t.data.text=""),n.applyState(t)}},n.handleFocus=function(e){n._skipFocusEvent||n.base.handleFocus(e)},n.onPopupOpened=function(){n._input&&n.state.focused&&!n.mobileMode&&n.focusElement(n._input)},n.onPopupClosed=function(){n.state.focused&&window.setTimeout((function(){n.state.focused&&n.focusElement(n._input)}),0)},n.setValidity=function(){n._input&&n._input.setCustomValidity&&n._input.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please enter a valid value!")},(0,ge.s)(ye),n}return ut(t,e),Object.defineProperty(t.prototype,"document",{get:function(){if(be.N)return this.element&&this.element.ownerDocument||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opened",{get:function(){return!!(void 0!==this.props.opened?this.props.opened:this.state.opened)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagsToRender",{get:function(){var e=this.props,t=e.tags,n=e.textField,r=[];return void 0===t?this.value.forEach((function(e){r.push({text:A(e,n),data:[e]})})):r.push.apply(r,t),r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mobileMode",{get:function(){return!!(this.state.windowWidth&&this.state.windowWidth<=ke&&this.props.adaptive)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var e=[];return this._valueItemsDuringOnChange?e.push.apply(e,this._valueItemsDuringOnChange):this.props.value?e.push.apply(e,this.props.value):this.state.value?e.push.apply(e,this.state.value):this.props.defaultValue&&e.push.apply(e,this.props.defaultValue),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&this.value.length>0&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.virtual,i=r.groupField,a=void 0===i?"":i,s=r.data,l=void 0===s?[]:s,c=o?o.skip:0,u=e.virtual?e.virtual.total:0,h=void 0!==e.opened?e.opened:t.opened,d=!h&&this.opened,p=h&&!this.opened;if(!this.base.getPopupSettings().animate&&p&&this.onPopupClosed(),o&&o.total!==u)this.base.vs.calcScrollElementHeight(),this.base.vs.reset();else{var f=this.getFocusedState(),m=f.focusedItem,v=f.focusedIndex;""!==a&&(v=null===(n=this.base.getGroupedDataModernMode(l,a))||void 0===n?void 0:n.indexOf(m)),d&&o?this.base.scrollToVirtualItem(o,v-c):d&&!o?(l&&0!==l.length&&this.base.resetGroupStickyHeader(l[0][a],this),this.base.scrollToItem(v)):this.opened&&h&&m&&this.scrollToFocused&&this.base.scrollToItem(v-c)}this.scrollToFocused=!1,this.setValidity()},t.prototype.componentDidMount=function(){var e;this.observerResize=be.N&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.base.didMount(),this.setValidity(),(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.observe(this.document.body)},t.prototype.componentWillUnmount=function(){var e;(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.disconnect()},t.prototype.onNavigate=function(e,t){var n=this.props,r=n.allowCustom,o=n.data,i=void 0===o?[]:o,a=void 0!==this.props.filter?this.props.filter:this.state.text,s=this.getFocusedState(),c=s.focusedType,u=s.focusedIndex,h=r&&a,d=vt(c),p=this.base,f=p.vs;if(this.opened&&t===l.R.up&&d)void 0!==this.state.focusedIndex&&(e.data.focusedIndex=void 0);else{var m=p.navigation.navigate({keyCode:t,current:u,max:(f.enabled?f.total:i.length)-1,min:h?-1:0});void 0!==m&&(this.itemFocus(m,e),this.scrollToFocused=!0)}this.applyState(e)},t.prototype.render=function(){var e,t,n=this.props,o=n.style,i=n.className,a=n.label,l=n.dir,c=n.disabled,h=n.textField,d=n.dataItemKey,f=n.virtual,m=n.size,v=n.rounded,g=n.fillMode,b=n.loading,y=n.filter,w=this.state,x=w.text,k=w.focused,z=w.focusedTag,C=w.currentValue,_=this.base.vs,I=this.props.id||this._inputId;_.enabled=void 0!==f,void 0!==f&&(_.skip=f.skip,_.total=f.total,_.pageSize=f.pageSize);var E=this.mobileMode&&this.opened?C:this.tagsToRender;this.setItems(this.tagsToRender,this._tags);var S=!this.validityStyles||this.validity.valid,M=Boolean(void 0!==y?y:x)||E&&E.length>0,O=r.createElement(r.Fragment,null,r.createElement("div",{ref:this.componentRef,className:(0,s.A)("k-multiselect k-input",i,(e={},e["k-input-".concat(pt[m]||m)]=m,e["k-rounded-".concat(ft[v]||v)]=v,e["k-input-".concat(g)]=g,e["k-focus"]=k&&!c,e["k-invalid"]=!S,e["k-disabled"]=c,e["k-loading"]=b,e["k-required"]=this.required,e)),style:a?ht(ht({},o),{width:void 0}):o,dir:l,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleWrapperClick,onMouseDown:T},r.createElement("div",{className:(0,s.A)("k-input-values")},r.createElement("div",{className:(0,s.A)("k-chip-list",(t={},t["k-chip-list-".concat(pt[m]||m)]=m,t)),role:"listbox",id:"tagslist-"+this.base.guid},E&&E.length>0&&r.createElement(ot,{tagRender:this.props.tagRender,onTagDelete:this.onTagDelete,data:E,guid:this.base.guid,focused:z?E.find((function(e){return j(e,z,d)})):void 0,size:m})),this.renderSearchBar(I)),b&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),M&&r.createElement(Ne,{onClick:this.clearButtonClick}),!this.mobileMode&&this.renderListContainer()),this.mobileMode&&this.renderAdaptiveListContainer());return a?r.createElement(p._,{label:a,editorId:I,editorValue:x||A(this.value[0],h),editorValid:S,editorDisabled:c,style:{width:o?o.width:void 0},children:O}):O},t.prototype.renderSearchBar=function(e){var t=this.state,n=t.activedescendant,o=t.focusedTag,i=t.currentValue,a=this.props,s=a.disabled,l=a.placeholder,c=a.ariaDescribedBy,u=!this.mobileMode&&(void 0!==this.props.filter?this.props.filter:this.state.text)||"",h=this.getFocusedState().focusedIndex,d=0!==this.value.length||u?void 0:l,p=i&&i.length>0?void 0:l,f=n===it.TagsList&&void 0!==o?"tag-".concat(this.base.guid,"-").concat(o.text.replace(/\s+/g,"-")):"option-".concat(this.base.guid,"-").concat(h);return r.createElement(De,{id:e,size:Math.max((d||"").length,u.length,1),tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,placeholder:this.mobileMode&&this.opened?p:d,value:u,onChange:this.onChangeHandler,onKeyDown:this.onInputKeyDown,ref:this.searchbarRef,disabled:s,expanded:this.opened,owns:this.base.listBoxId,role:"combobox",activedescendant:f,ariaDescribedBy:"tagslist-".concat(this.base.guid).concat(c?" "+c:""),ariaLabelledBy:this.props.ariaLabelledBy,ariaRequired:this.required})},t.prototype.onTagsNavigate=function(e,t){var n=e.keyCode,r=this.state.focusedTag,o=this._tags,i=this.props.dataItemKey,a=r?o.findIndex((function(e){return j(e,r,i)})):-1,s=void 0,c=-1!==a;if(n===l.R.left)s=o[a=c?Math.max(0,a-1):o.length-1];else if(n===l.R.right)a===o.length-1?s=void 0:c&&(s=o[a=Math.min(o.length-1,a+1)]);else if(n===l.R.home)s=o[0];else if(n===l.R.end)s=o[o.length-1];else if(n===l.R.delete){if(c){var u=this.value;N(u,o[a].data,i),this.triggerOnChange(u,t)}}else if(n===l.R.backspace)if(u=this.value,c)N(u,o[a].data,i),this.triggerOnChange(u,t);else if(!c&&o.length){var h=o.pop();N(u,h.data,i),this.triggerOnChange(u,t)}s!==r&&(t.data.focusedTag=s,t.data.activedescendant=it.TagsList),this.applyState(t)},t.prototype.triggerOnChange=function(e,t){void 0===this.props.value&&(t.data.value=dt([],e,!0)),this._valueItemsDuringOnChange=[],this.setItems(e,this._valueItemsDuringOnChange),t.events.push({type:"onChange"})},t.prototype.selectFocusedItem=function(e){var t=this.props,n=t.data,r=void 0===n?[]:n,o=t.virtual,i=this.getFocusedState().focusedIndex;void 0!==r[i-(o?o.skip:0)]&&this.handleItemClick(i,e)},t.prototype.setItems=function(e,t){t.length=0,t.push.apply(t,e)},t.prototype.getFocusedState=function(){var e,t=this.state.focusedIndex,n=void 0!==this.props.filter?this.props.filter:this.state.text,r=this.props,o=r.allowCustom,i=r.data,a=void 0===i?[]:i,s=r.dataItemKey,l=r.virtual,c=r.textField,u=r.focusedItemIndex,h=void 0===u?D:u,d=l&&l.skip||0;if(void 0!==t)return{focusedIndex:t,focusedItem:a[t-d],focusedType:at.ListItem};var p=this.value;if(o&&n)return{focusedItem:null,focusedIndex:-1,focusedType:at.CustomItem};if(n)return{focusedItem:a[e=h(a,n,c)],focusedIndex:e+d,focusedType:at.ListItem};if(p.length){var f=p[p.length-1];return e=a.findIndex((function(e){return L(e,f,s)})),void 0!==a[e]?{focusedIndex:e+d,focusedItem:a[e],focusedType:at.ListItem}:{focusedType:at.None,focusedIndex:-1}}return 0===d?{focusedItem:a[0],focusedIndex:0,focusedType:at.ListItem}:{focusedType:at.None,focusedIndex:-1}},t.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout((function(){return t._skipFocusEvent=!1}),0)},t.prototype.applyState=function(e){this.base.applyState(e),this._valueItemsDuringOnChange=null},t.prototype.calculateMedia=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.setState({windowWidth:r.target.clientWidth})}},t.displayName="MultiSelect",t.propTypes=ht(ht({},ve.propTypes),{autoClose:o.bool,value:o.arrayOf(o.any),defaultValue:o.arrayOf(o.any),dataItemKey:o.string,placeholder:o.string,tags:o.arrayOf(o.shape({text:o.string,data:o.arrayOf(o.any)})),tagRender:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,groupField:o.string,list:o.any,adaptive:o.bool,adaptiveTitle:o.string,onCancel:o.func}),t.defaultProps=ht(ht({},ve.defaultProps),{autoClose:!0,required:!1,size:"medium",rounded:"medium",fillMode:"solid",groupMode:"modern"}),t}(r.Component),bt=(0,d.Y)(),yt=(0,d.u)(bt,gt);yt.displayName="KendoReactMultiSelect";var wt=function(){return wt=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},wt.apply(this,arguments)},xt=function(e){return r.createElement(he,wt({},e,{wrapperCssClass:"k-table-body k-table-scroller",listClassName:(0,s.A)("k-table k-table-list",{"k-virtual-table":void 0!==e.virtual}),listStyle:wt({},e.listStyle)}))},kt=n(9656),zt=n(2665),Ct=n(9659),_t=function(){return _t=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},_t.apply(this,arguments)},It=(0,d.Y)(),Et=r.forwardRef((function(e,t){var n=(0,kt.Y)(It,e),o=r.useRef(null),i=r.useRef(null),a=(0,zt.n)(),l=n.columns,c=void 0===l?Mt.columns:l,u=n.popupSettings,h=void 0===u?Mt.popupSettings:u,d=n.className,p=(n.size,n.onOpen),f=n.onClose,m=n.onFocus,v=n.onBlur,g=n.onChange,b=n.onFilterChange,w=n.onPageChange,x=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}(n,["columns","popupSettings","className","size","onOpen","onClose","onFocus","onBlur","onChange","onFilterChange","onPageChange"]);r.useImperativeHandle(o,(function(){return{element:i.current&&i.current.element,focus:function(){i.current&&i.current.focus()},get value(){return i.current&&i.current.value},get name(){return i.current&&i.current.name},props:n}})),r.useImperativeHandle(t,(function(){return o.current}));var k=r.useMemo((function(){if(void 0!==n.groupField&&n.data)return A(n.data[0],n.groupField)}),[n.data,n.groupField]),z=r.useState(k),C=z[0],_=z[1],I=r.useState(!0),E=I[0],S=I[1],M=r.useMemo((function(){var e=r.createElement("th",{className:"k-table-th",colSpan:c.length},C);return r.createElement(r.Fragment,null,n.header,r.createElement("div",{className:"k-table-header-wrap"},r.createElement("table",{className:"k-table",role:"presentation"},r.createElement("colgroup",null,c.map((function(e,t){return r.createElement("col",{key:e.uniqueKey?e.uniqueKey:t,style:{width:e.width?e.width:Mt.width}})}))),r.createElement("thead",{className:"k-table-thead"},r.createElement("tr",{className:"k-table-row"},c.map((function(e,t){return r.createElement("th",{className:"k-table-th",key:e.uniqueKey?e.uniqueKey:t},e.header||" ")}))),C&&E&&r.createElement("tr",{className:"k-table-group-row"},n.groupStickyHeaderItemRender?n.groupStickyHeaderItemRender.call(void 0,e,{}):e)))))}),[n.header,c,C,E]),O=r.useMemo((function(){return"calc(".concat(c.map((function(e){return t=e.width,n=Mt.width,t?"number"==typeof t?t+"px":t:n;var t,n})).filter(Boolean).join(" + ")," + ").concat(a,"px + 4px)")}),[c,a]),R=n.virtual?n.virtual.skip:0,H=r.useCallback((function(e,t){var o,i,a,l=c.map((function(e,o){return r.createElement("span",{className:n.itemRender?void 0:"k-table-td",style:n.itemRender?void 0:{width:e.width?e.width:Mt.width},key:e.uniqueKey?e.uniqueKey:o},e.field?(0,Ct.Y)(e.field)(t.dataItem):"")})),u=void 0,h=n.data||[],d=t.index-R;void 0!==n.groupField&&(o=(a=(0,Ct.Y)(n.groupField))(h[d]),i=a(h[d-1]),o&&i&&o!==i&&(u=o)),u&&"classic"===n.groupMode&&l.push(r.createElement("div",{key:"group",className:"k-table-td k-table-group-td"},r.createElement("span",null,u)));var p=r.cloneElement(e,_t(_t({},e.props),{className:(0,s.A)("k-table-row",{"k-table-alt-row":t.index%2!=0,"k-focus":t.focused,"k-selected":t.selected,"k-first":Boolean(u)})}),l);return n.itemRender?n.itemRender.call(void 0,p,t):p}),[c,n.groupField,n.itemRender,n.data,R]),F=r.useCallback((function(e,t){e&&e.call(void 0,_t(_t({},t),{target:o.current}))}),[]),V=r.useCallback((function(e){return n.virtual||_(k),F(p,e)}),[F,p,n.virtual,k]),D=r.useCallback((function(e){return F(f,e)}),[f]),B=r.useCallback((function(e){return F(m,e)}),[m]),N=r.useCallback((function(e){return F(v,e)}),[v]),L=r.useCallback((function(e){return F(g,e)}),[g]),P=r.useCallback((function(e){return F(w,e)}),[w]),T=r.useCallback((function(e){return _(k),F(b,_t(_t({},e),{mobileMode:e.target.mobileMode}))}),[b]),j=r.useCallback((function(e){_(e.group)}),[]);r.useEffect((function(){(0,zt.p)()})),r.useEffect((function(){var e=n.data;_(k),e&&0!==e.length?S(!0):S(!1)}),[n.data]);var U=r.useCallback((function(e){return r.createElement(xt,_t({},e))}),[]);return r.createElement(y.v.Provider,{value:function(e){return _t(_t({},e),{popupClass:"k-dropdowngrid-popup"})}},r.createElement(We,_t({},x,{list:U,popupSettings:_t(_t({width:O},h),{className:h.className}),ref:i,header:M,itemRender:H,groupHeaderItemRender:n.groupHeaderItemRender,size:n.size,rounded:n.rounded,fillMode:n.fillMode,groupMode:n.groupMode,groupField:n.groupField,isMultiColumn:!0,onOpen:V,onClose:D,onFocus:B,onBlur:N,onChange:L,onFilterChange:T,onPageChange:P,onGroupScroll:j,className:(0,s.A)("k-dropdowngrid",d),required:n.required,adaptive:n.adaptive,adaptiveFilter:n.adaptiveFilter,adaptiveTitle:n.adaptiveTitle,footer:n.footer,footerClassName:"k-table-footer"})))})),St=_t(_t({},Ue.propTypes),{columns:o.any.isRequired}),Mt={columns:[],popupSettings:{},width:"200px",size:"medium",rounded:"medium",fillMode:"solid"};Et.displayName="KendoMultiColumnComboBox",Et.propTypes=St,Et.defaultProps=Mt;var Ot=n(3228),Rt=n(1573),Ht=n(8006),Ft=n(5407),Vt="",Dt="_";function Bt(e,t,n){if(Tt(e))return t[Number(e)];var r=t[Number(function(e){return Pt(e)?e:e.split(Dt)[0]}(e))],o=r&&r[n]||[];return o.length?Bt(function(e){if(Pt(e))return e;var t=e.indexOf(Dt);return e.substring(t+1)}(e),o,n):void 0}function At(e){return Nt("0",e)}function Nt(e,t){return e=e.toString(),t?t+Dt+e:e}function Lt(e){var t=e.lastIndexOf(Dt);return t<0?Vt:e.substring(0,t)}function Pt(e){return e===Vt||e.indexOf(Dt)<0}function Tt(e){return e!==Vt&&e.indexOf(Dt)<0}function jt(e){var t=e.lastIndexOf(Dt);return t<0?e:e.substring(t+1)}const Ut=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}();function Kt(e,t){var n=(e||"").split("."),r=t;return n.forEach((function(e){r=r?r[e]:void 0})),r}function Wt(e,t){var n=Kt(t,e);return Boolean(n&&n.length)}function qt(e,t){return t.expanded(e)&&Wt(e,t.getChildrenField())}function $t(e,t,n,r){var o=function(e,t,n,r){var o=[],i=new Ut;return i.init(e),Yt(i,t,n,Vt,o,r),o}([e],t,n,r);return o.length?o[0]:void 0}function Gt(e,t,n){for(var r=function(e){return e.split(Dt)}(e),o=t,i=0;i<r.length;i++){var a=o[Number(r[i])];if(n.disabled(a))return!1;o=a[n.getChildrenField()]}return!0}function Yt(e,t,n,r,o,i){for(var a=0;a<n.length;a++){var s=n[a],l=Nt(a,r);e.hasId(Kt(t,s))&&o.push(l),Wt(s,i)&&Yt(e,t,Kt(i,s),l,o,i)}}function Xt(e,t,n,r,o){switch(r){case l.R.left:return Tt(t)||o.expanded(e)&&Gt(t,n,o)?t:Lt(t);case l.R.right:return qt(e,o)?At(t):t;case l.R.up:return i=Number(jt(t)),a=Lt(t),i?Jt(Nt(i-1,a),n,o):Tt(t)?t:a;case l.R.down:return qt(e,o)?At(t):Zt(t,n,o)||t;case l.R.home:return"0";case l.R.end:return function(){for(var e,t=(n.length-1).toString(),r=n[n.length-1];qt(r,o);)t=Nt((e=r[o.getChildrenField()]).length-1,t),r=e[e.length-1];return t}();default:return t}var i,a}function Zt(e,t,n){var r=Lt(e),o=r?Bt(r,t,n.getChildrenField()):void 0,i=o?o[n.getChildrenField()]:t,a=Number(jt(e));return a<i.length-1?Nt(a+1,r):o?Zt(r,t,n):void 0}function Jt(e,t,n){var r=Bt(e,t,n.getChildrenField());return qt(r,n)?Jt(Nt(r[n.getChildrenField()].length-1,e),t,n):e}var Qt=n(1779);const en={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},tn={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"};var nn=n(8686),rn="items",on=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),an=function(){return an=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},an.apply(this,arguments)},sn=i.G.sizeMap,ln=r.createContext((function(e){return e})),cn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.itemGuid=(0,a.M)(),t.onCheckChange=function(e){t.props.onCheckChange(e,t.item,t.itemId)},t.onExpandChange=function(e){t.props.onExpandChange(e,t.item,t.itemId)},t.onItemClick=function(e){t.props.onItemClick(e,t.item,t.itemId)},t.onPress=function(e){t.props.onPress(e.event,t.item,t.itemId)},t.onDrag=function(e){t.props.onDrag(e.event,t.item,t.itemId)},t.onRelease=function(e){t.props.onRelease(e.event,t.item,t.itemId)},t.assignDraggableMeta=function(e){e&&(e._kendoItemId=t.props.itemId,e._kendoTreeViewGuid=t.props.treeGuid)},t}return on(t,e),t.prototype.render=function(){var e=this,t=this.renderSubitemsIfApplicable(),n=this.renderItemInPart();return r.createElement("li",{className:(0,s.A)("k-treeview-item"),tabIndex:this.tabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.disabled||void 0,ref:function(t){return e.itemElement=t}},r.createElement("div",{className:"k-treeview-".concat(this.props.position),ref:this.assignDraggableMeta},this.renderExpandIcon(),this.renderCheckbox(),this.props.draggable?r.createElement(Qt._,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},n):n),this.props.animate?r.createElement(nn.U,{transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"},children:t}):t)},t.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.itemId;e&&e===t&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},t.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId;if(t&&t!==e.focusedItemId&&t===this.itemId&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement){var n=this.fieldsSvc.checkIndeterminate(this.item);n!==e.fieldsService.checkIndeterminate(e.item)&&(this.checkboxElement.indeterminate=n)}},t.prototype.renderCheckbox=function(){var e,t=this;if(this.props.checkboxes){var n=this.props.size;return r.createElement("div",{className:(0,s.A)("k-checkbox-wrap")},r.createElement("input",{type:"checkbox",className:(0,s.A)("k-checkbox k-rounded-md",(e={},e["k-checkbox-".concat(sn[n]||n)]=n,e["k-disabled"]=this.disabled,e)),"aria-label":this.item.text,checked:Boolean(this.fieldsSvc.checked(this.item)),id:this.itemGuid,tabIndex:-1,onChange:this.onCheckChange,ref:function(e){return t.checkboxElement=e}}),r.createElement("label",{className:"k-checkbox-label",htmlFor:this.itemGuid}))}},t.prototype.renderExpandIcon=function(){return this.props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||Wt(this.item,this.fieldsSvc.getChildrenField()))&&r.createElement("span",{className:(0,s.A)("k-treeview-toggle",{"k-disabled":this.disabled}),onClick:this.onExpandChange},r.createElement(u.a,an({},this.getIconProps())))},t.prototype.renderSubitemsIfApplicable=function(){var e=this,t=this.fieldsSvc.children(this.item);return qt(this.item,this.fieldsSvc)?r.createElement("ul",{className:"k-treeview-group",role:"group"},t.map((function(n,o){return r.createElement(un,{item:n,position:0===o?"top":o===t.length-1?"bot":"mid",itemId:Nt(o,e.itemId),treeGuid:e.props.treeGuid,animate:e.props.animate,focusedItemId:e.props.focusedItemId,tabbableItemId:e.props.tabbableItemId,fieldsService:e.props.fieldsService,itemUI:e.props.itemUI,checkboxes:e.props.checkboxes,ariaMultiSelectable:e.props.ariaMultiSelectable,onItemClick:e.props.onItemClick,onFocusDomElNeeded:e.props.onFocusDomElNeeded,draggable:e.props.draggable,onPress:e.props.onPress,onDrag:e.props.onDrag,onRelease:e.props.onRelease,expandIcons:e.props.expandIcons,onExpandChange:e.props.onExpandChange,onCheckChange:e.props.onCheckChange,key:o,size:e.props.size,disabled:e.disabled})}))):void 0},t.prototype.renderItemInPart=function(){return r.createElement("span",{className:(0,s.A)("k-treeview-leaf",{"k-focus":this.props.focusedItemId===this.itemId,"k-selected":this.fieldsSvc.selected(this.item),"k-disabled":this.disabled}),style:{touchAction:"none"},onClick:this.onItemClick},r.createElement("span",{className:"k-treeview-leaf-text"},this.props.itemUI?r.createElement(this.props.itemUI,{item:this.item,itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item)))},Object.defineProperty(t.prototype,"fieldsSvc",{get:function(){return this.props.fieldsService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemId",{get:function(){return this.props.itemId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return(this.props.focusedItemId||this.props.tabbableItemId)===this.itemId?0:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaExpanded",{get:function(){return this.fieldsSvc.hasChildren(this.item)||Wt(this.item,this.fieldsSvc.getChildrenField())?Boolean(this.fieldsSvc.expanded(this.item)):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.props.disabled||this.fieldsSvc.disabled(this.item)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaChecked",{get:function(){return this.props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return!!this.fieldsSvc.selected(this.item)||(this.props.ariaMultiSelectable?!!this.disabled&&void 0:void 0)},enumerable:!1,configurable:!0}),t.prototype.getIconProps=function(){var e=this.fieldsSvc.expanded(this.item);return e&&!Wt(this.item,this.fieldsSvc.getChildrenField())?{name:"loading"}:e?{name:"caret-alt-down",icon:tn}:{name:"caret-alt-right",icon:en}},t.defaultProps={position:"top"},t}(r.Component),un=r.forwardRef((function(e,t){var n=r.useContext(ln).call(void 0,e);return r.createElement(cn,an({ref:t},n))}));un.displayName="TreeViewItem";const hn=function(){function e(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return Kt(this.expandField,e)},e.prototype.selected=function(e){return Kt(this.selectField,e)},e.prototype.text=function(e){return Kt(this.textField,e)},e.prototype.disabled=function(e){return Kt(this.disableField,e)},e.prototype.hasChildren=function(e){return Kt(this.hasChildrenField,e)},e.prototype.children=function(e){return Kt(this.childrenField,e)||[]},e.prototype.checked=function(e){return Kt(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return Kt(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&Kt(this.focusIdField,e)},e.prototype.getChildrenField=function(){return this.childrenField},e}();var dn={name:"@progress/kendo-react-treeview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684155258,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},pn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fn=i.G.sizeMap,mn=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:"0"},n.fieldsSvc=null,n.allowExplicitFocus=!1,n.treeGuid=(0,a.M)(),n._element=null,n.onFocusDomElNeeded=function(e){n.allowExplicitFocus&&n.focusDomItem(e)},n.onCheckChange=function(e,t,r){n.setFocus(r),n.dispatchCheckChange(e,t,r)},n.onExpandChange=function(e,t,r){n.setFocus(r),n.dispatchExpandChange(e,t,r)},n.onPress=function(e,t,r){n.props.onItemDragStart&&n.props.onItemDragStart.call(void 0,{target:n,item:t,itemHierarchicalIndex:r})},n.onDrag=function(e,t,r){var o=e.pageX,i=e.pageY,a=e.clientX,s=e.clientY;n.props.onItemDragOver&&n.props.onItemDragOver.call(void 0,{target:n,item:t,itemHierarchicalIndex:r,pageX:o,pageY:i,clientX:a,clientY:s})},n.onRelease=function(e,t,r){var o=e.pageX,i=e.pageY,a=e.clientX,s=e.clientY;n.props.onItemDragEnd&&n.props.onItemDragEnd.call(void 0,{target:n,item:t,itemHierarchicalIndex:r,pageX:o,pageY:i,clientX:a,clientY:s})},n.onItemClick=function(e,t,r){n.setFocus(r),n.dispatchItemClick(e,t,r)},n.onFocus=function(){clearTimeout(n.blurRequest),void 0===n.state.focusedItemId&&n.data.length&&n.setFocus(n.state.tabbableItemId)},n.onBlur=function(){clearTimeout(n.blurRequest),n.blurRequest=window.setTimeout((function(){return n.setFocus(void 0)}),0)},n.onKeyDown=function(e){var t=n.getFocusedItem();if(t&&n.fieldsSvc){var r=Xt(t,n.state.focusedItemId,n.data,e.keyCode,n.fieldsSvc);r!==n.state.focusedItemId&&(e.preventDefault(),n.allowExplicitFocus=!0,n.setFocus(r)),n.dispatchEventsOnKeyDown(e,t)}},(0,ge.s)(dn),n}return pn(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this;this.fieldsSvc=new hn(this.props);var n=this.props,o=n.size,i=n.className;return r.createElement("div",{className:(0,s.A)("k-treeview",(e={},e["k-treeview-".concat(fn[o]||o)]=o,e["k-user-select-none"]=this.props.draggable,e),i),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],ref:function(e){return t._element=e},tabIndex:this.props.tabIndex},r.createElement("ul",{className:"k-treeview-lines k-treeview-group",role:"group"},this.data.map((function(e,n){return r.createElement(un,{item:e,position:0===n?"top":n===t.data.length-1?"bot":"mid",itemId:n.toString(),treeGuid:t.treeGuid,animate:t.props.animate,focusedItemId:t.state.focusedItemId,tabbableItemId:t.state.tabbableItemId,fieldsService:t.fieldsSvc,itemUI:t.props.item,checkboxes:t.props.checkboxes,ariaMultiSelectable:t.ariaMultiSelectable,onItemClick:t.onItemClick,onFocusDomElNeeded:t.onFocusDomElNeeded,draggable:t.props.draggable,onPress:t.onPress,onDrag:t.onDrag,onRelease:t.onRelease,expandIcons:t.props.expandIcons,onExpandChange:t.onExpandChange,onCheckChange:t.onCheckChange,key:n,size:o})}))))},t.prototype.componentDidUpdate=function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},t.prototype.dispatchEventsOnKeyDown=function(e,t){var n=this;if(null!==this.fieldsSvc){var r=function(){return n.fieldsSvc&&Gt(n.state.focusedItemId,n.data,n.fieldsSvc)};e.keyCode===l.R.left&&this.fieldsSvc.expanded(t)&&r()||e.keyCode===l.R.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||Wt(t,this.props.childrenField))&&r()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===l.R.enter&&r()?this.dispatchItemClick(e,t,this.state.focusedItemId):e.keyCode===l.R.space&&r()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.state.focusedItemId))}},t.prototype.setFocus=function(e){if(e&&this.fieldsSvc)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.setState({focusedItemId:e,focusedItemPublicId:this.fieldsSvc.focusId(t)})}else this.setState({focusedItemId:e});else this.setState((function(e){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:e.focusedItemId}}))},t.prototype.getFocusedItem=function(){return this.state.focusedItemId?this.getItemById(this.state.focusedItemId):void 0},t.prototype.getItemById=function(e){return Bt(e,this.data,this.props.childrenField||rn)},t.prototype.dispatchCheckChange=function(e,t,n){(0,Ft.N)(this.props.onCheckChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchExpandChange=function(e,t,n){(0,Ft.N)(this.props.onExpandChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchItemClick=function(e,t,n){(0,Ft.N)(this.props.onItemClick,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.refocusDueToFocusIdField=function(){if(this.fieldsSvc&&this.fieldsSvc.focusIdField){var e=this.state.focusedItemPublicId;if(e){var t=this.props.getFocusHierarchicalIndex?this.props.getFocusHierarchicalIndex(e):$t(e,this.fieldsSvc.focusIdField,this.data,this.props.childrenField);t!==this.state.focusedItemId&&(this.allowExplicitFocus=!0,this.setState({focusedItemId:t}))}}},Object.defineProperty(t.prototype,"ariaMultiSelectable",{get:function(){return!0===this.props["aria-multiselectable"]||"true"===this.props["aria-multiselectable"]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.props.data||[]},enumerable:!1,configurable:!0}),t.prototype.focusDomItem=function(e){e.focus()},Object.defineProperty(t.prototype,"guid",{get:function(){return this.treeGuid},enumerable:!1,configurable:!0}),t.propTypes={data:o.arrayOf(o.any),animate:o.bool,tabIndex:o.number,focusIdField:o.string,getHierarchicalIndexById:o.func,onExpandChange:o.func,onItemClick:o.func,expandField:o.string,selectField:o.string,childrenField:o.string,hasChildrenField:o.string,textField:o.string,disableField:o.string,item:o.any,"aria-multiselectable":function(e,t,n){return void 0!==e[t]&&!0!==e[t]&&!1!==e[t]&&"true"!==e[t]&&"false"!==e[t]?new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed."):null},"aria-label":o.string,"aria-labelledby":o.string,size:o.oneOf([null,"small","medium","large"])},t.defaultProps={animate:!0,expandField:"expanded",selectField:"selected",hasChildrenField:"hasChildren",childrenField:rn,textField:"text",disableField:"disabled",checkField:"checked",checkIndeterminateField:"checkIndeterminate",size:"medium"},t}(r.Component);function vn(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){void 0!==i&&e.current&&a(e.current.offsetWidth)}),n),i}var gn=function(e){return r.createElement("div",{className:"k-nodata"},r.createElement("div",null,e.children))},bn=function(){return bn=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},bn.apply(this,arguments)},yn=i.G.sizeMap,wn=i.G.roundedMap,xn=function(e){return r.createElement("span",{className:"k-input-value-text"},e.children)},kn=function(e){return e.split("_").map((function(e){return parseInt(e,10)}))},zn={selectField:"selected",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},required:!1,validityStyles:!0,size:"medium",rounded:"medium",fillMode:"solid"},Cn=(0,d.Y)(),_n=r.forwardRef((function(e,t){var n;(0,ge.s)(ye);var o=(0,kt.Y)(Cn,e),i=r.useMemo((function(){return(0,a.M)()}),[]),h=o.id||i,d=o.data,v=void 0===d?[]:d,g=o.dataItemKey,b=o.popupSettings,w=void 0===b?{}:b,x=o.style,k=void 0===x?{}:x,z=o.opened,C=o.disabled,_=o.onOpen,I=void 0===_?Ot.Z:_,E=o.onClose,M=void 0===E?Ot.Z:E,O=o.placeholder,R=o.label,F=o.name,V=o.selectField,D=void 0===V?zn.selectField:V,B=o.subItemsField,N=void 0===B?zn.subItemsField:B,P=o.validationMessage,T=o.valid,j=o.required,U=o.validityStyles,K=(0,c.p)(o.tabIndex,C),W=r.useRef(null),q=r.useRef(null),$=r.useRef(null),G=r.useRef(null),Y=r.useRef(null),X=r.useRef(null),Z=r.useRef(!1),J=r.useState(void 0),Q=J[0],re=J[1],oe=void 0!==o.value,ie=oe?o.value:void 0!==Q?Q:o.defaultValue,ae=H(ie),se=ae?A(ie,o.textField):"",ce=function(e,t){var n=e.valid;return{customError:void 0!==e.validationMessage,valid:Boolean(void 0!==n?n:!e.required||t),valueMissing:!t}}({validationMessage:P,valid:T,required:j},ae),ue=r.useCallback((function(){return q.current&&q.current.focus()}),[]);r.useImperativeHandle(W,(function(){return{props:o,element:q.current,focus:ue}})),r.useImperativeHandle(t,(function(){return W.current}));var he=(0,Rt.V)(q,o.dir),de=void 0!==w.width?w.width:void 0!==k.width?k.width:zn.popupSettings.width,pe=vn(q,de),fe=bn({width:pe},void 0!==he?{direction:he}:{}),me=r.useState(!1),ve=me[0],xe=me[1],ze=void 0!==z?z:ve,Ce=r.useState(!1),Ie=Ce[0],Ee=Ce[1],Se=r.useState(),Me=Se[0],Oe=Se[1],Re=!!(Me&&Me<=ke&&o.adaptive),He=r.useState(""),Fe=He[0],Ve=He[1],De=r.useCallback((function(){Y.current&&Y.current.setCustomValidity&&Y.current.setCustomValidity(ce.valid?"":void 0===P?"Please select a value from the list!":P)}),[P,ce]);r.useEffect(De),r.useEffect((function(){var e=be.N&&window.ResizeObserver&&new window.ResizeObserver(tt.bind(void 0));return(null===document||void 0===document?void 0:document.body)&&e&&e.observe(document.body),function(){(null===document||void 0===document?void 0:document.body)&&e&&e.disconnect()}}),[]);var Be,Ae,Ne=r.useCallback((function(e){if(!ze){if(I){var t=bn({},e);I.call(void 0,t)}void 0===z&&xe(!0)}}),[ze,z,I]),Le=r.useCallback((function(e){if(ze){if(M){var t=bn({},e);M.call(void 0,t)}void 0===z&&(xe(!1),Re&&setTimeout((function(){var e;Ke(null===(e=G.current)||void 0===e?void 0:e.element)}),300))}}),[ze,z,M,Re]),Pe=r.useCallback((function(e){if(!e.isDefaultPrevented()&&W.current){Ee(!0);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:W.current};(ze?Le:Ne)(t)}}),[ze,z,I,M]),Te=r.useCallback((function(e){Z.current=!0,e(),window.setTimeout((function(){return Z.current=!1}),0)}),[]),je=r.useCallback((function(e){var t,n,r=e.keyCode,o=e.altKey,i=X.current&&X.current.element;if(W.current&&(!e.isDefaultPrevented()||(null===(t=$.current)||void 0===t?void 0:t.element)!==e.target)){var a={syntheticEvent:e,nativeEvent:e.nativeEvent,target:W.current};if(ze)if(r===l.R.esc||o&&r===l.R.up)e.preventDefault(),Le(a);else if(i&&i.querySelector(".k-focus")&&(r===l.R.up||r===l.R.down||r===l.R.left||r===l.R.right||r===l.R.home||r===l.R.end)){if(r===l.R.up&&(null===(n=$.current)||void 0===n?void 0:n.element)){var s=Array.from(i.querySelectorAll(".k-treeview-item")),c=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],s,!0).reverse().find((function(e){return Boolean(e&&e.querySelector(".k-focus"))}));if(c&&0===s.indexOf(c))return Te((function(){var e;Ke(null===(e=$.current)||void 0===e?void 0:e.element)}))}Te(Ot.Z)}else r===l.R.down&&Te((function(){var e;Ke((null===(e=$.current)||void 0===e?void 0:e.element)||i)}));else o&&r===l.R.down&&(e.preventDefault(),Ne(a))}}),[ze,z,I,M]),Ue=r.useCallback((function(e){var t=e.keyCode;e.altKey||t!==l.R.up&&t!==l.R.down||(e.preventDefault(),Te(t===l.R.up?function(){Ke(q.current)}:function(){Ke(X.current&&X.current.element)}))}),[]),Ke=r.useCallback((function(e){e&&Te((function(){return e.focus()}))}),[]),We=r.useCallback((function(){var e;Ie||!ze||z?o.filterable?Ke(null===(e=$.current)||void 0===e?void 0:e.element):Ke(X.current&&X.current.element):Le({target:W.current})}),[M,o.filterable,Ie,z,ze]),qe=r.useCallback((function(){Ie&&Ke(q.current)}),[Ie]),$e=r.useCallback((function(e){if(!Ie&&!Z.current&&(Ee(!0),o.onFocus&&W.current)){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:W.current};o.onFocus.call(void 0,t)}}),[Ie,o.onFocus]),Ge=r.useCallback((function(e){if(Ie&&!Z.current&&W.current){Ee(!1);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:W.current};if(o.onBlur){var n=bn({},t);o.onBlur.call(void 0,n)}Re||Le(t)}}),[Ie,o.onBlur,ze,z,M]),Ye=r.useCallback((function(){Ie&&Te(Ot.Z),Re&&setTimeout((function(){var e;Ke(null===(e=G.current)||void 0===e?void 0:e.element)}),300)}),[Ie,Re]),Xe=r.useCallback((function(e,t,n){if(o.onChange){var r=bn({value:t,level:n?kn(n):[]},e);o.onChange.call(void 0,r)}oe||re(t)}),[o.onChange,oe]),Ze=r.useCallback((function(e){if(!L(e.item,ie,g)&&W.current){var t=e.item,n=e.itemHierarchicalIndex,r=e.nativeEvent,o={syntheticEvent:e.syntheticEvent,nativeEvent:r,target:W.current};Xe(o,t,n),Le(o)}}),[oe,ie,o.onChange,g,ze,z,M]),Je=r.useCallback((function(e){if(W.current){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:W.current};Xe(t,null),Le(t),e.preventDefault()}}),[oe,o.onChange,ze,z,M]),Qe=r.useCallback((function(e){if(e.syntheticEvent.stopPropagation(),o.onExpandChange&&W.current){var t=e.item,n=e.itemHierarchicalIndex,r=e.nativeEvent,i=e.syntheticEvent,a={level:kn(n),item:t,nativeEvent:r,syntheticEvent:i,target:W.current};o.onExpandChange.call(void 0,a)}}),[o.onExpandChange]),et=r.useCallback((function(e){if(o.onFilterChange&&W.current){var t={filter:{field:o.textField,operator:"contains",value:e.target.value},syntheticEvent:e.syntheticEvent,nativeEvent:e.nativeEvent,target:W.current};o.onFilterChange.call(void 0,t),void 0===o.filter&&Ve(e.target.value)}}),[o.onFilterChange,o.filter,o.textField]),tt=r.useCallback((function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];Oe(r.target.clientWidth)}}),[]),nt=r.useMemo((function(){return oe||!ae?v:(0,Ht.Gy)(v,N,(function(e){var t;return(0,Ht.u5)(e,N,((t={})[D]=L(e,ie,g),t))}))}),[v,ie,oe,ae,D,N]),rt=o.listNoData||gn,ot=o.valueHolder||xn,it=(0,ee.useLocalization)(),at=!U||ce.valid,st=o.size,lt=o.rounded,ut=o.fillMode,ht=r.createElement(r.Fragment,null,r.createElement("span",{className:(0,s.A)("k-dropdowntree k-picker",o.className,(n={},n["k-picker-".concat(yn[st]||st)]=st,n["k-rounded-".concat(wn[lt]||lt)]=lt,n["k-picker-".concat(ut)]=ut,n["k-focus"]=Ie,n["k-invalid"]=!at,n["k-loading"]=o.loading,n["k-required"]=j,n["k-disabled"]=o.disabled,n)),tabIndex:K,accessKey:o.accessKey,id:h,style:R?bn(bn({},k),{width:void 0}):k,dir:he,ref:q,onKeyDown:C?void 0:je,onMouseDown:Ye,onClick:C?void 0:Pe,onFocus:$e,onBlur:Ge,role:"combobox","aria-haspopup":"tree","aria-expanded":ze,"aria-disabled":C,"aria-label":R,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,"aria-required":j},r.createElement("span",{className:"k-input-inner"},r.createElement(ot,{item:ie},se||O)),o.loading&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),ae&&!C&&r.createElement("span",{onClick:Je,className:"k-clear-value",title:it.toLanguageString(ne,le[ne]),role:"button",tabIndex:-1,onMouseDown:function(e){return e.preventDefault()}},r.createElement(u.a,{name:"x",icon:m})),r.createElement(we.z,{tabIndex:-1,type:"button","aria-label":"select",className:"k-input-button",size:st,fillMode:ut,themeColor:"base",rounded:null,icon:"caret-alt-down",svgIcon:f}),r.createElement("select",{name:F,ref:Y,tabIndex:-1,"aria-hidden":!0,title:R,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},r.createElement("option",{value:o.valueMap?o.valueMap.call(void 0,ie):ie})),!Re&&r.createElement(y.G,{className:(0,s.A)(w.className,{"k-rtl":"rtl"===he}),popupClass:(0,s.A)(w.popupClass,"k-dropdowntree-popup"),style:fe,animate:w.animate,anchor:q.current,show:ze,onOpen:We,onClose:qe,appendTo:w.appendTo},o.filterable&&r.createElement(S,{value:void 0===o.filter?Fe:o.filter,ref:$,onChange:et,onKeyDown:Ue,size:st,rounded:lt,fillMode:ut}),v.length>0?r.createElement(mn,{ref:X,tabIndex:K,data:nt,focusIdField:g,textField:o.textField,selectField:D,expandField:o.expandField,childrenField:N,expandIcons:!0,onItemClick:Ze,onExpandChange:Qe,size:st,item:o.item}):r.createElement(rt,null,it.toLanguageString(te,le[te])))),Re&&(Be=o.filterable?r.createElement(S,{value:void 0===o.filter?Fe:o.filter,ref:G,onChange:et,onKeyDown:Ue,size:st,rounded:lt,fillMode:ut}):null,Ae={adaptiveTitle:o.adaptiveTitle,expand:ze,onClose:function(e){return Le(e)},windowWidth:Me,mobileFilter:Be},r.createElement(ct,bn({},Ae),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},r.createElement("div",{className:"k-list k-list-lg"},v.length>0?r.createElement(mn,{ref:X,tabIndex:K,data:nt,focusIdField:g,textField:o.textField,selectField:D,expandField:o.expandField,childrenField:N,expandIcons:!0,onItemClick:Ze,onExpandChange:Qe,size:st,item:o.item}):r.createElement(rt,null,it.toLanguageString(te,le[te]))))))));return R?r.createElement(p._,{label:R,editorValue:se,editorPlaceholder:O,editorValid:at,editorDisabled:C,editorId:h,style:{width:k?k.width:void 0},children:ht,dir:he}):ht})),In={opened:o.bool,disabled:o.bool,dir:o.string,tabIndex:o.number,accessKey:o.string,data:o.array,value:o.any,valueMap:o.func,placeholder:o.string,dataItemKey:o.string.isRequired,textField:o.string.isRequired,selectField:o.string,expandField:o.string,subItemsField:o.string,className:o.string,style:o.object,label:o.string,validationMessage:o.string,validityStyles:o.bool,valid:o.bool,required:o.bool,name:o.string,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,filterable:o.bool,filter:o.string,loading:o.bool,popupSettings:o.shape({animate:o.oneOfType([o.bool,o.shape({openDuration:o.number,closeDuration:o.number})]),popupClass:o.string,className:o.string,appendTo:o.any,width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number])}),onOpen:o.func,onClose:o.func,onFocus:o.func,onBlur:o.func,onChange:o.func,onFilterChange:o.func,onExpandChange:o.func,item:o.func,valueHolder:o.func,listNoData:o.func,adaptiveTitle:o.string,adaptive:o.bool};_n.displayName="KendoReactDropDownTree",_n.defaultProps=zn,_n.propTypes=In;var En=function(){return En=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},En.apply(this,arguments)},Sn=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Mn=i.G.sizeMap,On=i.G.roundedMap,Rn={checkField:"checkField",checkIndeterminateField:"checkIndeterminateField",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},size:"medium",rounded:"medium",fillMode:"solid",required:!1,validityStyles:!0},Hn=(0,d.Y)(),Fn=r.forwardRef((function(e,t){var n,o,i=(0,kt.Y)(Hn,e);(0,ge.s)(ye);var h=r.useMemo((function(){return(0,a.M)()}),[]),d=i.id||h,f=i.data,m=void 0===f?[]:f,v=i.dataItemKey,g=i.popupSettings,b=void 0===g?{}:g,w=i.style,x=void 0===w?{}:w,k=i.opened,z=i.disabled,C=i.onOpen,_=void 0===C?Ot.Z:C,I=i.onClose,E=void 0===I?Ot.Z:I,M=i.placeholder,O=i.label,R=i.name,H=i.checkField,F=void 0===H?Rn.checkField:H,V=i.checkIndeterminateField,D=void 0===V?Rn.checkIndeterminateField:V,B=i.subItemsField,N=void 0===B?Rn.subItemsField:B,P=i.validationMessage,T=i.valid,U=i.tags,K=i.value,W=i.required,q=void 0===W?Rn.required:W,$=i.validityStyles,G=void 0===$?Rn.validityStyles:$,Y=(0,c.p)(i.tabIndex,z),X=r.useRef(null),Z=r.useRef(null),J=r.useRef(null),Q=r.useRef(null),ne=r.useRef(null),re=r.useRef(null),oe=r.useRef(!1),ie=r.useRef([]),ce=r.useRef(null),ue=r.useState(),he=ue[0],de=ue[1],pe=r.useState(!1),fe=pe[0],me=pe[1],ve=r.useState(!1),we=ve[0],xe=ve[1],ze=r.useState(),Ce=ze[0],Ie=ze[1],Ee=r.useState([]),Se=Ee[0],Me=Ee[1],Oe=r.useState(""),Re=Oe[0],He=Oe[1],Fe=!!(Ce&&Ce<=ke&&i.adaptive),Ve=void 0!==k?k:fe,De=Boolean(Array.isArray(K)&&K.length),Be=function(e,t){var n=e.valid;return{customError:void 0!==e.validationMessage,valid:Boolean(void 0!==n?n:!e.required||t),valueMissing:!t}}({validationMessage:P,valid:T,required:q},De),Ae=(0,Rt.V)(Z,i.dir),Le=void 0!==b.width?b.width:void 0!==x.width?x.width:Rn.popupSettings.width,Pe=vn(Z,Le),Te=En({width:Pe},void 0!==Ae?{direction:Ae}:{}),je=r.useCallback((function(){return Z.current&&Z.current.focus()}),[]);ie.current=void 0===U?(K||[]).map((function(e){return{text:A(e,i.textField),data:[e]}})):Sn([],U,!0),r.useImperativeHandle(X,(function(){return{props:i,element:Z.current,focus:je}})),r.useImperativeHandle(t,(function(){return X.current}));var Ue=r.useCallback((function(){ne.current&&ne.current.setCustomValidity&&ne.current.setCustomValidity(Be.valid?"":void 0===P?"Please select a value from the list!":P)}),[P,Be]);r.useEffect(Ue),r.useEffect((function(){var e=be.N&&window.ResizeObserver&&new window.ResizeObserver(pt.bind(void 0));return(null===document||void 0===document?void 0:document.body)&&e&&e.observe(document.body),function(){e.disconnect()}}),[]),r.useEffect((function(){ce.current&&Ve&&ce.current.setPosition(ce.current._popup)}),[K,Ve]);var Ke,We,qe=r.useCallback((function(e,t,n){if(i.onChange){var r=En({items:t,operation:n},e);i.onChange.call(void 0,r)}}),[i.onChange]),$e=r.useCallback((function(e){if(!L(e.item,K,v)&&X.current){var t=e.item,n=e.nativeEvent,r={syntheticEvent:e.syntheticEvent,nativeEvent:n,target:X.current};qe(r,[t],"toggle")}}),[K,v,qe]),Ge=r.useCallback((function(e){if(!Ve){if(_){var t=En({},e);_.call(void 0,t)}void 0===k&&(me(!0),Me(K||[]),Fe&&setTimeout((function(){var e;Ze(null===(e=Q.current)||void 0===e?void 0:e.element)}),300))}}),[Ve,k,_,Fe,Q]),Ye=r.useCallback((function(e){if(Ve){if(E){var t=En({},e);E.call(void 0,t)}void 0===k&&me(!1)}}),[Ve,k,E]),Xe=r.useCallback((function(e){oe.current=!0,e(),window.setTimeout((function(){return oe.current=!1}),0)}),[]),Ze=r.useCallback((function(e){e&&Xe((function(){return e.focus()}))}),[Xe]),Je=r.useCallback((function(){var e;!we&&Ve?Ye({target:X.current}):i.filterable?Ze(null===(e=J.current)||void 0===e?void 0:e.element):Ze(re.current&&re.current.element)}),[we,Ve,Ze,Ye,i.filterable]),Qe=r.useCallback((function(){we&&Ze(Z.current)}),[we,Ze]),et=r.useCallback((function(e){if(!we&&!oe.current&&(xe(!0),i.onFocus&&X.current)){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:X.current};i.onFocus.call(void 0,t)}}),[we,i.onFocus]),tt=r.useCallback((function(e){if(we&&!oe.current&&X.current){xe(!1);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:X.current};if(i.onBlur){var n=En({},t);i.onBlur.call(void 0,n)}Fe||Ye(t)}}),[we,i.onBlur,Ve,k,E]),nt=r.useCallback((function(){we&&Xe(Ot.Z)}),[we,Xe]),rt=r.useCallback((function(e){if(!e.isDefaultPrevented()&&X.current){xe(!0);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:X.current};Ve||Ge(t)}}),[Ve,Ge]),it=r.useCallback((function(e){var t,n,r=e.keyCode,o=e.altKey,i=re.current&&re.current.element;if(X.current&&(!e.isDefaultPrevented()||(null===(t=J.current)||void 0===t?void 0:t.element)!==e.target)){var a={syntheticEvent:e,nativeEvent:e.nativeEvent,target:X.current};if(K&&K.length>0&&(r===l.R.left||r===l.R.right||r===l.R.home||r===l.R.end||r===l.R.delete)){var s=ie.current,c=he?s.findIndex((function(e){return j(e,he,v)})):-1,u=void 0,h=-1!==c;r===l.R.left?u=s[c=h?Math.max(0,c-1):s.length-1]:r===l.R.right?c===s.length-1?u=void 0:h&&(u=s[c=Math.min(s.length-1,c+1)]):r===l.R.home?u=s[0]:r===l.R.end?u=s[s.length-1]:r===l.R.delete&&h&&qe(a,s[c].data,"delete"),u!==he&&de(u)}if(Ve)if(r===l.R.esc||o&&r===l.R.up)e.preventDefault(),Ye(a);else if(i&&i.querySelector(".k-focus")&&(r===l.R.up||r===l.R.down||r===l.R.left||r===l.R.right||r===l.R.home||r===l.R.end)){if(r===l.R.up&&(null===(n=J.current)||void 0===n?void 0:n.element)){var d=Array.from(i.querySelectorAll(".k-treeview-item")),p=Sn([],d,!0).reverse().find((function(e){return Boolean(e&&e.querySelector(".k-focus"))}));if(p&&0===d.indexOf(p))return Xe((function(){var e;Ze(null===(e=J.current)||void 0===e?void 0:e.element)}))}Xe(Ot.Z)}else r===l.R.down&&Xe((function(){var e;Ze((null===(e=J.current)||void 0===e?void 0:e.element)||i)}));else o&&r===l.R.down&&(e.preventDefault(),Ge(a))}}),[Ve,Ye,Ze,Xe,Ge,he,v,K,qe]),at=r.useCallback((function(e){var t=e.keyCode;e.altKey||t!==l.R.up&&t!==l.R.down||(e.preventDefault(),Xe(t===l.R.up?function(){Ze(Z.current)}:function(){Ze(re.current&&re.current.element)}))}),[Ze,Xe]),st=r.useCallback((function(e){if(X.current){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:X.current};qe(t,[],"clear"),Ye(t),e.preventDefault()}}),[qe,Ye]),lt=r.useCallback((function(e,t){var n;Ye({target:X.current}),we||Ze(null===(n=J.current)||void 0===n?void 0:n.element),qe({syntheticEvent:t,nativeEvent:t.nativeEvent,target:X.current},e,"delete")}),[qe,Ye,Ze,we]),ut=r.useCallback((function(e){if(i.onExpandChange&&X.current){var t=e.item,n=e.itemHierarchicalIndex,r=e.nativeEvent,o=e.syntheticEvent,a={level:(s=n,s.split("_").map((function(e){return parseInt(e,10)}))),item:t,nativeEvent:r,syntheticEvent:o,target:X.current};i.onExpandChange.call(void 0,a)}var s}),[i.onExpandChange]),ht=r.useCallback((function(e){if(i.onFilterChange&&X.current){var t={filter:{field:i.textField,operator:"contains",value:e.target.value},syntheticEvent:e.syntheticEvent,nativeEvent:e.nativeEvent,target:X.current};i.onFilterChange.call(void 0,t),void 0===i.filter&&He(e.target.value)}}),[i.onFilterChange,i.filter,i.textField]),dt=r.useCallback((function(e){if(X.current){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:X.current};i.onCancel&&i.onCancel.call(void 0,t),Ye(t),e.preventDefault()}}),[i.onCancel,Ye]),pt=r.useCallback((function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];Ie(r.target.clientWidth)}}),[]),ft=i.listNoData||gn,mt=(0,ee.useLocalization)(),vt=!G||Be.valid,gt=i.size,bt=i.rounded,yt=i.fillMode,wt=Fe&&Ve?Se:ie.current,xt=r.createElement(r.Fragment,null,r.createElement("span",{className:(0,s.A)("k-multiselecttree k-input",i.className,(n={},n["k-input-".concat(Mn[gt]||gt)]=gt,n["k-rounded-".concat(On[bt]||bt)]=bt,n["k-input-".concat(yt)]=yt,n["k-focus"]=we&&!z,n["k-invalid"]=!vt,n["k-disabled"]=z,n["k-loading"]=i.loading,n["k-required"]=q,n)),tabIndex:Y,accessKey:i.accessKey,id:d,style:O?En(En({},x),{width:void 0}):x,dir:Ae,ref:Z,onKeyDown:z?void 0:it,onMouseDown:nt,onFocus:et,onBlur:tt,role:"combobox","aria-haspopup":"tree","aria-expanded":Ve,"aria-disabled":z,"aria-label":O,"aria-labelledby":i.ariaLabelledBy,"aria-describedby":i.ariaDescribedBy?i.ariaDescribedBy:"tagslist-"+d,"aria-required":i.required,onClick:z?void 0:rt},r.createElement("div",{id:"tagslist-"+d,className:(0,s.A)("k-input-values k-chip-list k-selection-multiple",(o={},o["k-chip-list-".concat(Mn[gt]||gt)]=gt,o))},wt.length>0&&r.createElement(ot,{tag:i.tag,onTagDelete:lt,data:wt,guid:d,focused:he?ie.current.find((function(e){return j(e,he,v)})):void 0,size:gt})),(!De||Fe)&&r.createElement("span",{className:"k-input-inner",role:"combobox",tabIndex:Y,"aria-expanded":Ve,"aria-describedby":"tagslist-"+d,"aria-label":i.ariaLabelledBy},r.createElement("span",{className:"k-input-value-text"}," ")),i.loading&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),De&&!z&&wt.length>0&&r.createElement(Ne,{onClick:st}),r.createElement("select",{name:R,ref:ne,tabIndex:-1,"aria-hidden":!0,title:O,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},r.createElement("option",{value:i.valueMap?i.valueMap.call(void 0,K):K})),!Fe&&r.createElement(y.G,{popupClass:(0,s.A)(b.popupClass,"k-multiselecttree-popup"),className:(0,s.A)(b.className,{"k-rtl":"rtl"===Ae}),style:Te,animate:b.animate,anchor:Z.current,show:Ve,onOpen:Je,onClose:Qe,appendTo:b.appendTo,ref:ce},i.filterable&&r.createElement(S,{value:void 0===i.filter?Re:i.filter,ref:J,onChange:ht,onKeyDown:at,tabIndex:Y,size:gt,rounded:bt,fillMode:yt}),m.length>0?r.createElement(mn,{ref:re,tabIndex:Y,data:m,focusIdField:v,textField:i.textField,checkField:F,checkIndeterminateField:D,expandField:i.expandField,childrenField:N,expandIcons:!0,onItemClick:$e,onCheckChange:$e,onExpandChange:ut,checkboxes:!0,size:gt,item:i.item}):r.createElement(ft,null,mt.toLanguageString(te,le[te])))),Fe&&(Ke=i.filterable?r.createElement(S,{value:void 0===i.filter?Re:i.filter,ref:Q,onChange:ht,onKeyDown:at,size:gt,rounded:bt,fillMode:yt}):null,We={adaptiveTitle:i.adaptiveTitle,expand:Ve,onClose:function(e){return i.onCancel?dt(e):st(e)},windowWidth:Ce,mobileFilter:Ke,footer:{cancelText:mt.toLanguageString(se,le[se]),onCancel:function(e){return i.onCancel?dt(e):st(e)},applyText:mt.toLanguageString(ae,le[ae]),onApply:function(e){return Ye(e)}}},r.createElement(ct,En({},We),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},r.createElement("div",{className:"k-list k-list-lg"},m.length>0?r.createElement(mn,{ref:re,tabIndex:Y,data:m,focusIdField:v,textField:i.textField,checkField:F,checkIndeterminateField:D,expandField:i.expandField,childrenField:N,expandIcons:!0,onItemClick:$e,onCheckChange:$e,onExpandChange:ut,checkboxes:!0,size:gt,item:i.item}):r.createElement(ft,null,mt.toLanguageString(te,le[te]))))))));return O?r.createElement(p._,{label:O,editorValue:De,editorPlaceholder:M,editorValid:vt,editorDisabled:z,editorId:d,style:{width:x?x.width:void 0},children:xt,dir:Ae}):xt})),Vn={opened:o.bool,disabled:o.bool,dir:o.string,tabIndex:o.number,accessKey:o.string,data:o.array,value:o.any,valueMap:o.func,placeholder:o.string,dataItemKey:o.string.isRequired,textField:o.string.isRequired,checkField:o.string,checkIndeterminateField:o.string,expandField:o.string,subItemsField:o.string,className:o.string,style:o.object,label:o.string,validationMessage:o.string,validityStyles:o.bool,valid:o.bool,required:o.bool,name:o.string,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,filterable:o.bool,filter:o.string,loading:o.bool,tags:o.arrayOf(o.shape({text:o.string,data:o.arrayOf(o.any)})),popupSettings:o.shape({animate:o.oneOfType([o.bool,o.shape({openDuration:o.number,closeDuration:o.number})]),popupClass:o.string,className:o.string,appendTo:o.any,width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number])}),onOpen:o.func,onClose:o.func,onFocus:o.func,onBlur:o.func,onChange:o.func,onFilterChange:o.func,onExpandChange:o.func,onCancel:o.func,item:o.func,listNoData:o.func,adaptiveTitle:o.string,adaptive:o.bool};Fn.displayName="KendoReactMultiSelectTree",Fn.defaultProps=Rn,Fn.propTypes=Vn;var Dn=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Bn=function(e,t){var n={};return e&&e.length&&e.forEach((function(e){n[t(e)]=!0})),n},An=function(e,t){var n=t.items,r=t.dataItemKey,o=t.value,i=t.subItemsField,a=void 0===i?"items":i,s=t.operation,l=(0,Ct.Y)(r),c=Bn(o,l);if("clear"===s)return[];if("delete"===s){var u=Bn(n,l);return o.filter((function(e){return!u[l(e)]}))}for(var h,d=n[0],p=l(d),f=(0,Ct.Y)(a),m=Dn([],e,!0),v=[],g=[];m.length;){var b=m.pop();if(p===l(b)){g=v.map((function(e){return e.item})),h=b;break}v&&v.length&&v[v.length-1].parentPosition===m.length&&v.pop(),(S=f(b))&&S.length&&(v.push({item:b,parentPosition:m.length}),m.push.apply(m,S))}for(var y=Dn([],f(h)||[],!0),w=[];y.length;)b=y.pop(),w.push(b),(S=f(b))&&S.length&&y.push.apply(y,S);var x=[];if(c[p]){var k=l(h),z=Bn(w,l),C=Bn(g,l);x.push.apply(x,o.filter((function(e){var t=l(e);return!z[t]&&k!==t&&!C[t]})))}else{x.push.apply(x,o),x.push(h),x.push.apply(x,w.filter((function(e){return!c[l(e)]})));for(var _=g.filter((function(e){return!c[l(e)]})),I=Bn(x,l),E=_.length-1;E>-1;E--){var S,M=_[E];if((S=f(M)).filter((function(e){return I[l(e)]})).length<S.length)break;x.push(M),I[l(M)]=!0}}return x}},6183:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8047),o=n(3899),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)},a=o.forwardRef((function(e,t){var n=o.useRef(null),a=o.useRef(null);return o.useImperativeHandle(n,(function(){return{element:a.current}})),o.useImperativeHandle(t,(function(){return n.current})),o.createElement("span",i({},e,{className:(0,r.A)("k-input-prefix",e.className)}))}));a.displayName="KendoReactInputPrefix"},3062:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Checkbox:()=>Nn,CheckboxPropsContext:()=>An,ColorGradient:()=>Ht,ColorGradientPropsContext:()=>Rt,ColorGradientWithoutContext:()=>Ot,ColorInput:()=>st,ColorPalette:()=>Lt,ColorPalettePropsContext:()=>Nt,ColorPaletteWithoutContext:()=>At,ColorPicker:()=>Gt,ColorPickerPropsContext:()=>$t,FlatColorPicker:()=>Qt,Input:()=>Ze,InputClearValue:()=>Jr,InputPrefix:()=>Qr.Z,InputPropsContext:()=>Xe,InputSeparator:()=>to,InputSuffix:()=>ro,InputValidationIcon:()=>io,InputWithoutContext:()=>Ye,MaskedTextBox:()=>wn,MaskedTextBoxPropsContext:()=>yn,MaskedTextBoxWithoutContext:()=>bn,NumericTextBox:()=>Ve,NumericTextBoxPropsContext:()=>Fe,PALETTEPRESETS:()=>Vt,RANGE_ACTION:()=>xn,RATING_ACTION:()=>Jn,RadioButton:()=>Tn,RadioButtonPropsContext:()=>Pn,RadioGroup:()=>Wn,RadioGroupPropsContext:()=>Kn,RangeSlider:()=>En,RangeSliderPropsContext:()=>In,Rating:()=>cr,RatingItem:()=>Xn,RatingPropsContext:()=>lr,SLIDER_LABEL_ATTRIBUTE:()=>pt,Signature:()=>Yr,SignaturePropsContext:()=>Gr,Slider:()=>yt,SliderLabel:()=>ft,SliderPropsContext:()=>bt,SliderWithoutContext:()=>gt,Switch:()=>Dn,SwitchPropsContext:()=>Vn,SwitchWithoutContext:()=>Fn,TextArea:()=>Yn,TextAreaPropsContext:()=>Gn,TextBox:()=>Xr.z,inputsMessages:()=>le,isCorrectValue:()=>rr,isHalf:()=>er,isSelected:()=>tr,maskingChanged:()=>fn,numericDecreaseValue:()=>H,numericIncreaseValue:()=>R,rangeReducer:()=>zn,ratingReducer:()=>ir,sanitizeNumber:()=>Oe,toRound:()=>Qn});var r=n(3899),o=n(189),i=n(499),a=n(848),s=n(9656),l=n(3198),c=n(9447),u=n(5407),h=n(8047),d=n(2697),p=n(4703);const f={name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},m={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},v={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},g={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},b={name:"caret-alt-expand",content:'<path d="M128 288h256L256 480 128 288zM256 32 128 224h256.001L256 32z" />',viewBox:"0 0 512 512"},y={name:"droplet-slider",content:'<path d="M192 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S32 404.8 32 312C32 181.3 192 32 192 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136zm128-88h-32v256h32V224zm0-192h-32v64h32V32zm-64 96v64h96v-64h-96z" />',viewBox:"0 0 512 512"},w={name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},x={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},k={name:"hyperlink-open",content:'<path d="M32 480h448V256h-32v192H64V64h192V32H32v448zM320 32l56.9 56.9.5.5L224 242.7l45.3 45.3 153.3-153.4L480 192V32H320z" />',viewBox:"0 0 512 512"},z={name:"star-outline",content:'<path d="M480 202.4 319.1 188 256 32l-63.1 156L32 202.4l122 111.7L117.2 480 256 391.5 394.8 480 358 314.1l122-111.7zM256 353.6l-90.8 57.9 24-108.5-82.1-75.2 108.1-9.7L256 117.3l40.8 100.8 108.1 9.7-82.1 75.2 24.1 108.5-90.9-57.9z" />',viewBox:"0 0 512 512"},C={name:"star",content:'<path d="M256 391.5 117.2 480 154 314.1 32 202.4 192.9 188 256 32l63.1 156L480 202.4 358 314.1 394.8 480 256 391.5z" />',viewBox:"0 0 512 512"},_={name:"palette",content:'<path d="m206 256.6 160-160c-2.2-5.7-4.8-11.1-7.9-16.3-24.2-40.8-60.1-66-107.8-75.9-2.3-.5-4.7-1-7.1-1.4C192-5.8 143.1 4.8 96.5 34.6 49.3 64.7 19.2 107.2 6.1 162c-13 54.8-5.2 106.4 23.4 154.6 14.2 23.8 31.3 43.2 51.4 58.4 3.8-25.2 13.4-52 36.4-75 31.3-31.4 64-41.3 88.7-43.4zM288 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-96-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm0-128c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm438.7 12.9L480 118.3c-12.4-12.4-32.8-12.4-45.3 0L281.1 271.9c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l11.3 12.7c5.4 6.8 11.8 16.2 17.6 27.6l153.5-153.5c12.6-12.4 12.6-32.8.2-45.2zM354.3 289.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L457.4 141h.1l22.5 22.5-125.7 125.8zm-78.7 169c-23.8 23.7-48.4 33-70.7 37.7-49.6 10.4-96 16-96 16s34.7-17.3 33.9-77c-.4-32.7-3.7-66.4 19.7-89.8 56.6-56.7 113.3.2 113.3.2s56.7 56-.2 112.9z" />',viewBox:"0 0 512 512"},I={name:"droplet-slash",content:'<path d="m317.9 431 23.2 23.2C316.5 470.6 287.3 480 256 480c-88.4 0-160-75.2-160-168 0-27.8 7.2-56.4 18.6-84.2l24.8 24.8C131.9 274 128 293.9 128 312c0 75 57.4 136 128 136 22.4 0 43.5-6.2 61.9-17zM256 416v-32c-35.3 0-64-28.7-64-64h-32c0 53 43 96 96 96zm224 41.4L457.4 480 32 54.6 54.6 32l108.7 108.7C207 77.7 256 32 256 32s160 149.3 160 280c0 24.1-4.9 47.1-13.6 67.8l77.6 77.6zM384 312c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-1.4 1.9-2.7 3.7-4.1 5.6-.8 1.1-1.5 2.1-2.3 3.2l-1.5 2.1-3 4.2c-.2.3-.4.5-.6.8-1 1.5-2.1 3-3.1 4.5-.1.1-.1.2-.2.3l191.2 191.2c.5-1.6 1-3.3 1.4-4.9 0-.2.1-.4.1-.5.4-1.5.8-2.9 1.1-4.4.1-.3.1-.6.2-.9.3-1.4.6-2.7.9-4.1.1-.4.2-.8.2-1.2.2-1.3.5-2.6.7-3.9.1-.5.2-1 .2-1.5.2-1.2.3-2.5.5-3.7.1-.5.1-1.1.2-1.6l.3-3.6c0-.6.1-1.1.1-1.7.1-1.3.2-2.5.2-3.8 0-.5.1-1 .1-1.6.4-1.9.4-3.7.4-5.5z" />',viewBox:"0 0 512 512"};var E,S=n(6097),M=n(4006),O=n(2009),R="numerictextbox.increment",H="numerictextbox.decrement",F="slider.increment",V="slider.decrement",D="slider.dragTitle",B="colorGradient.r",A="colorGradient.g",N="colorGradient.b",L="colorGradient.a",P="colorGradient.hex",T="colorGradient.contrastRatio",j="colorGradient.colorGradientAALevel",U="colorGradient.colorGradientAAALevel",K="colorGradient.colorGradientPass",W="colorGradient.colorGradientFail",q="colorGradient.hueSliderLabel",$="colorGradient.alphaSliderLabel",G="colorGradient.toggleInputsButton",Y="flatColorPicker.cancelBtn",X="flatColorPicker.applyBtn",Z="flatColorPicker.colorGradientBtn",J="flatColorPicker.colorPaletteBtn",Q="flatColorPicker.clearBtn",ee="checkbox.validation",te="checkbox.optionalText",ne="switch.validation",re="colorPicker.dropdownButtonAriaLabel",oe="rating.ariaLabel",ie="signature.clear",ae="signature.maximize",se="signature.minimize",le=((E={})[R]="Increase value",E[H]="Decrease value",E[F]="Increase",E[V]="Decrease",E[D]="Drag",E[B]="r",E[A]="g",E[N]="b",E[L]="a",E[P]="hex",E[T]="Contrast ratio",E[j]="AA",E[U]="AAA",E[K]="Pass",E[W]="Fail",E[q]="Hue slider",E[$]="Alpha slider",E[G]="Toggle colorgradient inputs",E[Y]="Cancel",E[X]="Apply",E[Z]="Color Gradient view",E[J]="Color Palette view",E[Q]="Clear color value",E[ee]="Please check this box if you want to proceed!",E[te]="(Optional)",E["radioButton.validation"]="Please select option if you want to proceed!",E[ne]="Please turn on if you want to proceed!",E[re]="Select",E[oe]="Rating",E[ie]="Clear",E[ae]="Maximize",E[se]="Minimize",E),ce=function(){return ce=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},ce.apply(this,arguments)},ue=1111111.1111111,he=/\d/,de=function(e,t){return void 0!==e?e:t},pe=function(e,t,n){return null===e&&void 0===e?"":"string"==typeof e?e:n.formatNumber(e,t)},fe=function(e){return(String(e).split(".")[1]||"").length},me=function(e,t){return Math.max(fe(e),fe(t))},ve=function(e,t){var n=function(e){return Math.min(e,15)}(t);return parseFloat(e.toFixed(n))},ge=function(e,t,n,r,o,i,a){var s=me(e||0,n||0),l=ye(ve((e||0)+(n||0),s),r,o);t.eventValue=l,t.currentLooseValue=pe(l,i,a),t.selectionStart=t.selectionEnd=Ce(t.currentLooseValue,he)},be=function(e,t,n,r,o,i,a){var s=me(e||0,n||0),l=ye(ve((e||0)-(n||0),s),r,o);t.eventValue=l,t.currentLooseValue=pe(l,i,a),t.selectionStart=t.selectionEnd=Ce(t.currentLooseValue,he)},ye=function(e,t,n){return null==e?e:e>1||e<1||1===e?void 0!==n&&void 0!==t&&n<t?null:(void 0!==n&&e>n&&(e=n),void 0!==t&&e<t&&(e=t),e):null},we=function(e,t,n,r){e.selectionStart=e.selectionEnd=t,function(e,t,n){var r=function(e,t){var n=t.findIndex((function(t){t[0];var n=t[1];return Boolean(n)&&e.indexOf(n)===e.length-n.length}));if(-1===n)return-1;var r=t[n][1];return e.length-r.length}(e,t);if(-1!==r&&n.selectionStart>r)n.selectionStart=n.selectionEnd=r;else{n.selectionStart>e.length&&(n.selectionStart=n.selectionEnd=e.length);var o=function(e,t){var n=t.findIndex((function(t){var n=t[0];return t[1],Boolean(n)&&0===e.indexOf(n)}));return-1===n?-1:t[n][0].length}(e,t);-1!==o&&n.selectionStart<o&&(n.selectionStart=n.selectionEnd=o),-1===n.selectionStart&&(n.selectionStart=n.selectionEnd=0)}}(n,r,e)},xe=function(e,t,n,r){e.eventValue=r.parseNumber(e.prevLooseValue,t),e.currentLooseValue=e.prevLooseValue,e.valueIsCorrected=!0,we(e,e.selectionStart,e.currentLooseValue,n)},ke=function(e,t){var n=e.indexOf(t.decimal);return n>-1?n:Ce(e,he)},ze=function(e){return e.split("").reverse().join("")},Ce=function(e,t){return e.length-ze(e).search(t)},_e=function(e){return e.split(e[e.search(he)])[0]},Ie=function(e){var t=ze(e);return ze(t.split(t[t.search(he)])[0])},Ee=function(e,t){return e.search(t)},Se=function(e,t){var n=e.indexOf(t);return n>-1?e.length-n-1:0},Me=function(e,t,n,r,o){var i="0"===e.replace(o,"")[0],a="0"===t.replace(o,"")[0];if(i&&!a)return n-1;if(a&&r)return n+1;for(var s=0,l=0;l<n;l++)he.test(e.charAt(l))&&s++;for(var c=0;s>0&&t.length>c;)he.test(t.charAt(c))&&s--,c++;return c},Oe=function(e,t,n){var r=ce({},e),o=r.prevLooseValue,i=n.numberSymbols(),a=function(e,t){var n=t.formatNumber(ue,e),r=t.formatNumber(-ue,e),o=t.formatNumber(0,e),i=t.formatNumber(1,e),a=t.numberSymbols(),s=new RegExp("[\\d\\".concat(a.decimal).concat(a.group,"]"),"g");return[n,r,o,i].map((function(e){return e.replace(s,"")})).join("").split("").filter((function(e,t,n){return n.indexOf(e)===t})).join("")}(t,n),s=String(r.currentLooseValue),l=String(o),c=new RegExp("[^\\d\\".concat(i.decimal,"]"),"g"),u=new RegExp("[^\\d\\".concat(i.decimal,"\\").concat(i.group,"]"),"g"),h=new RegExp("[\\d\\".concat(i.decimal,"\\").concat(i.group,"]")),d=s.replace(c,""),p=Ee(s,he),f=-1===p?-1:Ce(s,he),m=s.indexOf(i.decimal),v=(s.substring(0,p)+s.substring(p,f).replace(u,"")+s.substring(f,s.length)).split("").filter((function(e){return-1!==a.indexOf(e)||-1!==e.search(h)})).join(""),g=n.formatNumber(.31111111111111117,t).replace(c,""),b=g.indexOf(i.decimal),y=b>-1?g.length-b-1:0,w=n.formatNumber(1,t).replace(c,""),x=w.indexOf(i.decimal),k=x>-1?w.length-x-1:0,z=function(e,t){var n=t.formatNumber(ue,e),r=t.formatNumber(-ue,e),o=t.formatNumber(0,e),i=t.formatNumber(1,e),a=_e(n),s=_e(r),l=_e(o),c=_e(i);return{positiveInfo:[a,Ie(n)],negativeInfo:[s,Ie(r)],zeroInfo:[l,Ie(o)],oneInfo:[c,Ie(i)]}}(t,n),C=[z.positiveInfo,z.negativeInfo,z.zeroInfo,z.oneInfo],_=1!==C.findIndex((function(e){return-1!==e.findIndex((function(e){return Boolean(e)}))})),I=s.length>0&&s.length<l.length,E="string"==typeof t&&"p"===t[0]&&s&&-1===s.indexOf(i.percentSign);if(!r.isPaste){if(""===s)return r.eventValue=null,r.currentLooseValue="",r;if(r.currentLooseValue===i.minusSign&&n.formatNumber(-0,t)!==l)return r.eventValue=-0,r.currentLooseValue=pe(r.eventValue,t,n),we(r,ke(r.currentLooseValue,i),r.currentLooseValue,C),r;if(function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return n.split(t.minusSign).length!==r.split(t.minusSign).length&&n.length===r.length+t.minusSign.length}(r,i)){var S=n.parseNumber(o,t);r.eventValue=-(null!==S?S:0),r.currentLooseValue=pe(r.eventValue,t,n);var M=Ee(r.currentLooseValue,he),O=Ee(l,he);return we(r,r.selectionEnd-1+(M-O),r.currentLooseValue,C),r}if(function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return-1===n.indexOf(t.minusSign)&&-1!==r.indexOf(t.minusSign)}(r,i))return r.eventValue=n.parseNumber(r.currentLooseValue,t),we(r,r.selectionStart,r.currentLooseValue,C),r;if(r.currentLooseValue===i.decimal){r.eventValue=0;var R=pe(r.eventValue,t,n);if(0===k&&y>0){var H=Ce(R,he);r.currentLooseValue=R.substring(0,H)+i.decimal+R.substring(H)}else r.currentLooseValue=R;return we(r,ke(r.currentLooseValue,i)+1,r.currentLooseValue,C),r}if(function(e,t){return String(e.currentLooseValue).split(t.decimal).length>2}(r,i))return xe(r,t,C,n),r;if(E)return r.eventValue=n.parseNumber(s,t)/100,r.currentLooseValue=pe(r.eventValue,t,n),r;if(String(r.currentLooseValue).replace(/[^\d]/g,"").length>15)return xe(r,t,C,n),r;if(d!==s&&s&&_){var F=C.findIndex((function(e){var t=e[0],n=e[1],r=s.indexOf(t),o=s.indexOf(n),a=0===r,l=o===s.length-n.length,c=r+t.length!==p&&-1!==p&&s[r+t.length]!==i.decimal,u=o!==f&&-1!==f&&s[o-1]!==i.decimal;return t&&n?!c&&!u&&a&&l:t?!c&&a:!!n&&!u&&l}));if(-1===F)return xe(r,t,C,n),r}if(d[d.length-1]===i.decimal&&y>0)return r.eventValue=n.parseNumber(s,t),r.currentLooseValue=v,r;if(r.currentLooseValue&&o&&(a+i.decimal+i.group).split("").findIndex((function(e){return s.split("").filter((function(t){return t===e})).length<l.split("").filter((function(t){return t===e})).length&&s.length+1===l.length&&(e!==i.decimal||0!==Se(l.replace(c,""),i.decimal))}))>-1)return r.eventValue=n.parseNumber(e.prevLooseValue,t),r.currentLooseValue=e.prevLooseValue,r;var V=Se(d,i.decimal),D="0"===d[d.length-1];if(I&&D&&V<k)return r.eventValue=n.parseNumber(r.currentLooseValue,t),r.currentLooseValue=pe(r.eventValue,t,n),r;if(V>0){var B=s.substring(0,m);if(D&&(!B||0!==l.indexOf(B))){r.eventValue=n.parseNumber(r.currentLooseValue,t);var A=pe(r.eventValue,t,n);return we(r,Me(s,A,r.selectionEnd,I,c),A,C),r.currentLooseValue=A,r}if(V>y){var N=s.indexOf(i.decimal),L=s.substring(0,N)+s.substring(N,N+1+y)+s.substring(f,String(r.currentLooseValue).length);return r.eventValue=n.parseNumber(L,t),r.currentLooseValue=L,we(r,r.selectionStart,L,C),r}if(k!==y&&V<=y&&D)return r.eventValue=n.parseNumber(r.currentLooseValue,t),r.currentLooseValue=v,r;if(V<k)return r.eventValue=n.parseNumber(r.currentLooseValue,t),r.currentLooseValue=pe(r.eventValue,t,n),r}}return r.eventValue=n.parseNumber(r.currentLooseValue,t),E&&(r.eventValue=r.eventValue/100),"number"==typeof r.eventValue?(A=pe(r.eventValue,t,n),1===s.length?we(r,ke(A,i),A,C):we(r,Me(s,A,r.selectionEnd,I,c),A,C),r.currentLooseValue=A):r.currentLooseValue=pe(n.parseNumber(d),t,n),r},Re=n(7037),He=function(){return He=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},He.apply(this,arguments)},Fe=(0,a.Y)(),Ve=r.forwardRef((function(e,t){var n;(0,M.s)(O.k);var o=(0,s.Y)(Fe,e),a=r.useMemo((function(){return(0,l.M)()}),[]),m=o.id||a,g=(0,i.useInternationalization)(),b=(0,i.useLocalization)(),y=r.useRef(null),w=r.useRef(),x=r.useState(!1),k=x[0],z=x[1],C=r.useRef({eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}),_=r.useRef(!1),I=r.useRef(),E=r.useRef(o.defaultValue),F=pe(C.current.focused&&!o.disabled?C.current.currentLooseValue:de(o.value,E.current),o.format,g);I.current=F;var V=(0,c.A)(o.prefix)[0],D=(0,c.A)(o.suffix)[0];r.useEffect((function(){y.current&&y.current.setCustomValidity&&y.current.setCustomValidity(P().valid?"":o.validationMessage||"Please enter a valid value!")}));var B=r.useCallback((function(){y.current&&y.current.focus()}),[]),A=r.useCallback((function(){return void 0!==w.current?w.current:de(o.value,E.current)}),[o.value]),N=r.useCallback((function(){return o.name}),[o.name]),L=r.useCallback((function(){return o.required}),[o.required]),P=r.useCallback((function(){var e=void 0!==o.validationMessage,t=A();return{customError:e,valid:void 0!==o.valid?o.valid:!(C.current.valueIsOutOfRange||L()&&null==t),valueMissing:null==t}}),[o.validationMessage,o.valid,A,L]),T=r.useCallback((function(){return o.validityStyles}),[o.validityStyles]),j=r.useCallback((function(){return o}),[o]),U=r.useCallback((function(){var e={element:y.current,focus:B};return Object.defineProperty(e,"name",{get:N}),Object.defineProperty(e,"value",{get:A}),Object.defineProperty(e,"validity",{get:P}),Object.defineProperty(e,"validityStyles",{get:T}),Object.defineProperty(e,"required",{get:L}),Object.defineProperty(e,"props",{get:j}),e}),[N,A,P,T,L,B,j]);r.useImperativeHandle(t,U);var K=r.useCallback((function(){return{eventValue:de(o.value,E.current),prevLooseValue:I.current,currentLooseValue:y.current.value,selectionStart:y.current.selectionStart,selectionEnd:y.current.selectionEnd,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1,isPaste:_.current,focused:C.current.focused}}),[o.value]),W=r.useCallback((function(e,t){if(!o.disabled){w.current=t.eventValue,E.current=t.eventValue;var n=pe(ye(t.eventValue,o.min,o.max),o.format,g),r=ye(g.parseNumber(n,o.format),o.min,o.max);r!==t.eventValue&&(t.valueIsOutOfRange=!0,t.eventValue=r,E.current=r),o.value!==t.eventValue&&(0,u.N)(o.onChange,e,U(),{value:t.eventValue}),w.current=void 0,C.current=t,z((function(e){return!e}))}}),[o.value,o.onChange,o.disabled,z,U]),q=r.useCallback((function(e){var t=K();_.current=!1,W(e,Oe(t,o.format,g))}),[o.format,o.onChange,g,W,K]),$=r.useCallback((function(e){var t=K(),n=g.parseNumber(String(t.currentLooseValue),o.format);if(t.selectionEnd>t.selectionStart&&t.selectionEnd-t.selectionStart===String(t.currentLooseValue).length)_.current=!0;else{switch(e.keyCode){case 38:ge(n,t,o.step,o.min,o.max,o.format,g);break;case 40:be(n,t,o.step,o.min,o.max,o.format,g);break;case 13:if(!1===o.rangeOnEnter)return;var r=pe(ye(n,o.min,o.max),o.format,g),i=ye(g.parseNumber(r,o.format),o.min,o.max);t.eventValue=i,t.currentLooseValue=pe(i,o.format,g),t.selectionStart=t.selectionEnd=t.currentLooseValue.length;break;case 110:var a=y.current,s=g.numberSymbols();a&&(t.currentLooseValue=t.currentLooseValue.slice(0,t.selectionStart)+s.decimal+t.currentLooseValue.slice(t.selectionEnd),t.selectionStart=t.selectionEnd=t.selectionStart+1,t=Oe(t,o.format,g));break;default:return}e.preventDefault(),W(e,t)}}),[o.format,o.min,o.max,o.step,o.onChange,o.rangeOnEnter,W,K]),G=r.useCallback((function(){_.current=!0}),[]),Y=r.useCallback((function(e){if(!o.readOnly&&!o.disabled){var t=K();ge(g.parseNumber(String(t.currentLooseValue),o.format),t,o.step,o.min,o.max,o.format,g),W(e,t)}}),[o.format,o.min,o.max,o.step,o.onChange,o.readOnly,o.disabled,W,K]),X=r.useCallback((function(e){if(!o.readOnly&&!o.disabled){var t=K();be(g.parseNumber(String(t.currentLooseValue),o.format),t,o.step,o.min,o.max,o.format,g),W(e,t)}}),[o.format,o.min,o.max,o.step,o.onChange,o.readOnly,o.disabled,W,K]),Z=r.useCallback((function(e){document&&document.activeElement===y.current&&y.current&&!o.readOnly&&!o.disabled&&(e.nativeEvent.deltaY<0&&Y(e),e.nativeEvent.deltaY>0&&X(e))}),[Y,X,o.disabled,o.readOnly]),J=r.useCallback((function(e){C.current.currentLooseValue=I.current,C.current.focused=!0,(0,u.N)(o.onFocus,e,U(),{}),z((function(e){return!e}))}),[o.onFocus,z,U]),Q=r.useCallback((function(e){C.current={eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1},(0,u.N)(o.onBlur,e,U(),{}),z((function(e){return!e}))}),[o.onBlur,z,U]),ee=r.useCallback((function(e){document&&y.current&&(e.preventDefault(),document.activeElement!==y.current&&y.current.focus())}),[]);r.useLayoutEffect((function(){y.current&&"number"!==y.current.type&&void 0!==C.current.selectionStart&&void 0!==C.current.selectionEnd&&(y.current.selectionStart=C.current.selectionStart,y.current.selectionEnd=C.current.selectionEnd,C.current.selectionStart=void 0,C.current.selectionEnd=void 0)}),[k]);var te=!T()||P().valid,ne=r.createElement("span",{dir:o.dir,style:o.label?o.style:He({width:o.width},o.style),className:(0,h.A)("k-input","k-numerictextbox",(n={},n["k-input-".concat(d.G.sizeMap[o.size]||o.size)]=o.size,n["k-input-".concat(o.fillMode)]=o.fillMode,n["k-rounded-".concat(d.G.roundedMap[o.rounded]||o.rounded)]=o.rounded,n["k-invalid"]=!te,n["k-required"]=o.required,n["k-disabled"]=o.disabled,n),o.className),"aria-disabled":o.disabled?"true":void 0},r.createElement(V,null),r.createElement("input",{role:"spinbutton",value:null===F?"":F,tabIndex:(0,p.p)(o.tabIndex,o.disabled),accessKey:o.accessKey,disabled:o.disabled,title:o.title,"aria-disabled":o.disabled?"true":void 0,"aria-valuemin":o.min,"aria-valuemax":o.max,"aria-label":o.ariaLabel,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,placeholder:o.placeholder,spellCheck:!1,autoComplete:"off",autoCorrect:"off",type:o.inputType||"tel",className:"k-input-inner",id:m,name:o.name,readOnly:o.readOnly,style:o.inputStyle,onChange:q,onFocus:J,onBlur:Q,onKeyDown:$,onPaste:G,onWheel:Z,ref:y}),r.createElement(D,null),o.children,o.spinners&&r.createElement("span",{className:"k-input-spinner k-spin-button",onMouseDown:ee},r.createElement(Re.z,{tabIndex:-1,type:"button",icon:"caret-alt-up",svgIcon:f,rounded:null,className:"k-spinner-increase","aria-label":b.toLanguageString(R,le[R]),title:b.toLanguageString(R,le[R]),onClick:Y}),r.createElement(Re.z,{tabIndex:-1,type:"button",icon:"caret-alt-down",svgIcon:v,rounded:null,className:"k-spinner-decrease","aria-label":b.toLanguageString(H,le[H]),title:b.toLanguageString(H,le[H]),onClick:X})));return o.label?r.createElement(S._,{label:o.label,editorId:m,editorValue:null===F?"":F,editorValid:te,editorDisabled:o.disabled,editorPlaceholder:o.placeholder,children:ne,style:{width:o.width},dir:o.dir}):ne}));Ve.propTypes={value:o.number,defaultValue:o.number,step:o.number,format:o.oneOfType([o.string,o.shape({style:o.oneOf(["decimal","currency","percent","scientific","accounting"]),currency:o.string,currencyDisplay:o.oneOf(["symbol","code","name"]),useGrouping:o.bool,minimumIntegerDigits:o.number,minimumFractionDigits:o.number,maximumFractionDigits:o.number})]),width:o.oneOfType([o.string,o.number]),tabIndex:o.number,accessKey:o.string,title:o.string,placeholder:o.string,min:o.number,max:o.number,spinners:o.bool,disabled:o.bool,readOnly:o.bool,dir:o.string,name:o.string,label:o.string,validationMessage:o.string,required:o.bool,id:o.string,rangeOnEnter:o.bool,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string,onChange:o.func,onFocus:o.func,onBlur:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},Ve.displayName="KendoNumericTextBox",Ve.defaultProps={prefix:function(e){return null},suffix:function(e){return null},step:1,spinners:!0,disabled:!1,required:!1,validityStyles:!0,rangeOnEnter:!0,onChange:function(e){},onFocus:function(e){},onBlur:function(e){},size:"medium",rounded:"medium",fillMode:"solid"};var De,Be=n(4407),Ae=function(e){return null!=e},Ne=function(e,t,n){return!Ae(e)||isNaN(e)||e<=t?t:e>=n?n:e},Le=function(e,t,n){if(void 0===n&&(n=!0),-1===["hex","rgba"].indexOf(t))throw new Error("Unsupported color output format '".concat(t,"'. The available options are 'hex' or 'rgba'."));if(Ae(e)){var r=(0,Be.parseColor)(e.trim(),n);if(Ae(r))return"hex"===t?r.toCss():r.toCssRgba()}},Pe=function(e,t){void 0===t&&(t=!0);var n=(0,Be.parseColor)(e,t);return Ae(n)?n.toHSV():{}},Te=function(e,t){void 0===t&&(t=!0);var n=(0,Be.parseColor)(e,t);return Ae(n)?n.toBytes():{}},je=function(e){var t=Ne(e.h,0,359.9),n=Ne(e.s,0,1),r=Ne(e.v,0,1),o=Ne(e.a,0,1);return Be.Color.fromHSV(t,n,r,o).toCssRgba()},Ue=function(e){return je({h:e,s:1,v:1,a:1})},Ke=function(e,t){var n=Ne(e.r,0,255),r=Ne(e.g,0,255),o=Ne(e.b,0,255),i=Ne(e.a,0,1),a=Ne(t.r,0,255),s=Ne(t.g,0,255),l=Ne(t.b,0,255);return{r:Math.round((1-i)*a+i*n),g:Math.round((1-i)*s+i*r),b:Math.round((1-i)*l+i*o)}},We=function(e){var t=[e.r||0,e.g||0,e.b||0].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]},qe=function(e,t){return n=We(Ke(e,t)),r=We(Ke(t,{r:0,g:0,b:0,a:1})),(Math.max(n,r)+.05)/(Math.min(n,r)+.05);var n,r},$e=(De=function(e,t){return De=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])},De(e,t)},function(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}De(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ge=function(){return Ge=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},Ge.apply(this,arguments)},Ye=function(e){function t(n){var r=e.call(this,n)||this;return r._input=null,r._inputId=(0,l.M)(),r.focus=function(){r._input&&r._input.focus()},r.isInvalid=function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&(t=t||Boolean(e[n]));return t},r.setValidity=function(){r._input&&r._input.setCustomValidity&&(r.validity.valid||!r.validityStyles?r._input.classList.remove("k-invalid"):r._input.classList.add("k-invalid"),r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||""))},r.handleChange=function(e){r.setState({value:e.target.value}),r.valueDuringOnChange=e.target.value,r.props.onChange&&r.props.onChange.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:e.target.value,target:r}),r.valueDuringOnChange=void 0},r.handleAutoFill=function(e){if("autoFillStart"===e.animationName){var t=e.target.parentNode;t&&t.classList.contains("k-empty")&&t.classList.remove("k-empty")}},(0,M.s)(O.k),r.state={value:r.props.defaultValue||t.defaultProps.defaultValue},r}return $e(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.value?this.props.value:this.state.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e={badInput:!!this._input&&this._input.validity.badInput,patternMismatch:!!this._input&&this._input.validity.patternMismatch,rangeOverflow:!!this._input&&this._input.validity.rangeOverflow,rangeUnderflow:!!this._input&&this._input.validity.rangeUnderflow,stepMismatch:!!this._input&&this._input.validity.stepMismatch,tooLong:!!this._input&&this._input.validity.tooLong,typeMismatch:!!this._input&&this._input.validity.typeMismatch,valueMissing:!!this._input&&this._input.validity.valueMissing};return Ge(Ge({},e),{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!this._input||!this.isInvalid(e)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.label,i=t.id,a=(t.validationMessage,t.defaultValue,t.valid,t.visited,t.touched,t.modified,t.ariaLabelledBy),s=t.ariaDescribedBy,l=(t.validityStyles,t.style),c=t.ariaLabel,u=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}(t,["className","label","id","validationMessage","defaultValue","valid","visited","touched","modified","ariaLabelledBy","ariaDescribedBy","validityStyles","style","ariaLabel"]),d=i||this._inputId,p=!this.validityStyles||this.validity.valid,f=(0,h.A)(n,"k-input k-input-md k-rounded-md k-input-solid"),m=r.createElement("input",Ge({"aria-labelledby":a,"aria-describedby":s,"aria-disabled":this.props.disabled||void 0,"aria-invalid":!p||void 0,"aria-label":c||void 0},u,{style:o?void 0:l,value:this.value,id:d,className:f,onChange:this.handleChange,onAnimationStart:this.handleAutoFill,ref:function(t){e._input=t}}));return o?r.createElement(S._,{label:o,editorId:d,editorValue:String(this.value),editorValid:p,editorDisabled:u.disabled,editorPlaceholder:u.placeholder,children:m,style:l,dir:u.dir}):m},t.displayName="Input",t.propTypes={label:o.string,validationMessage:o.string,required:o.bool,validate:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string},t.defaultProps={defaultValue:"",required:!1,validityStyles:!0},t}(r.Component),Xe=(0,a.Y)(),Ze=(0,a.u)(Xe,Ye);Ze.displayName="KendoReactInput";var Je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const Qe=function(e){function t(t){var n=e.call(this,t)||this;return n.onChange=function(e){var t=e.target.value,r=Le(t,"rgba");n.setState({hex:t}),Ae(r)&&n.props.onHexChange(t,r,e)},n.onBlur=function(){Ae(Le(n.state.hex,"rgba"))||n.setState({hex:n.state.originalHex})},n.state={hex:n.props.hex,originalHex:n.props.hex},n}return Je(t,e),t.prototype.render=function(){return r.createElement(Ze,{value:this.state.hex,onChange:this.onChange,onBlur:this.onBlur,disabled:this.props.disabled})},t.getDerivedStateFromProps=function(e,t){return e.hex!==t.originalHex?{hex:e.hex,originalHex:e.hex}:null},t}(r.Component);var et=n(2609),tt=n(8011),nt=function(e){(0,M.s)(tt.k);var t=e.id,n=e.editorId,o=e.editorRef,a=e.editorDisabled,s=e.children,l=e.editorValid,c=e.style,u=e.className,d=e.optional,p=(0,i.useLocalization)(),f=d?p.toLanguageString(et.y,et.s[et.y]):"",m=f&&r.createElement("span",{className:"k-label-optional"},f),v=r.useCallback((function(e){if(o&&o.current&&!a){o.current.focus&&(e.preventDefault(),o.current.focus());var t=o.current.actionElement;t&&(e.preventDefault(),t.click())}}),[o]),g=(0,h.A)({"k-label":!0,"k-label-empty":!s,"k-text-error":!1===l,"k-text-disabled":!0===a},u);return r.createElement("label",{id:t,htmlFor:n,onClick:v,style:c,className:g},s,m)};nt.propTypes={id:o.string,editorId:o.string,editorRef:o.oneOfType([o.func,o.shape({current:o.any})]),editorValid:o.bool,editorDisabled:o.bool,style:o.object,className:o.string,optional:o.bool},nt.displayName="KendoReactLabel";var rt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ot=function(){return ot=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},ot.apply(this,arguments)},it=["rgba","rgb","hex"],at=function(e){function t(t){var n=e.call(this,t)||this;return n.onRgbaRChange=function(e){n.dispatchRgbaChange({r:e.value},e)},n.onRgbaGChange=function(e){n.dispatchRgbaChange({g:e.value},e)},n.onRgbaBChange=function(e){n.dispatchRgbaChange({b:e.value},e)},n.onRgbaAChange=function(e){n.dispatchRgbaChange({a:e.value},e)},n.state={inputMode:t.defaultInputMode||it[1]},n}return rt(t,e),t.prototype.render=function(){var e=(0,i.provideLocalizationService)(this),t=e.toLanguageString(B,le[P]),n=e.toLanguageString(B,le[B]),o=e.toLanguageString(B,le[A]),a=e.toLanguageString(B,le[N]),s=e.toLanguageString(B,le[L]),l=e.toLanguageString(G,le[G]);return r.createElement("div",{className:"k-colorgradient-inputs k-hstack"},r.createElement("div",{className:"k-vstack"},r.createElement(Re.z,{"aria-label":l,fillMode:"flat",icon:"caret-alt-expand",svgIcon:b,className:"k-colorgradient-toggle-mode k-icon-button",onClick:this.onToggleModeChange.bind(this)})),"hex"===this.state.inputMode&&r.createElement("div",{className:"k-vstack k-flex-1"},r.createElement("span",{className:"k-hex-value k-textbox k-input"},r.createElement(Qe,{hex:this.props.hex,onHexChange:this.props.onHexChange,disabled:this.props.disabled})),r.createElement(nt,{className:"k-colorgradient-input-label"},t)),("rgb"===this.state.inputMode||"rgba"===this.state.inputMode)&&r.createElement(r.Fragment,null,r.createElement("div",{className:"k-vstack"},r.createElement(Ve,{inputType:"number",value:this.props.rgba.r,ariaLabel:String(this.props.rgba.r),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaRChange,disabled:this.props.disabled}),r.createElement(nt,{className:"k-colorgradient-input-label"},n)),r.createElement("div",{className:"k-vstack"},r.createElement(Ve,{inputType:"number",value:this.props.rgba.g,ariaLabel:String(this.props.rgba.g),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaGChange,disabled:this.props.disabled}),r.createElement(nt,{className:"k-colorgradient-input-label"},o)),r.createElement("div",{className:"k-vstack"},r.createElement(Ve,{inputType:"number",value:this.props.rgba.b,ariaLabel:String(this.props.rgba.b),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaBChange,disabled:this.props.disabled}),r.createElement(nt,{className:"k-colorgradient-input-label"},a))),"rgba"===this.state.inputMode&&r.createElement("div",{className:"k-vstack"},this.props.opacity&&r.createElement(Ve,{inputType:"number",value:this.props.rgba.a,ariaLabel:String(this.props.rgba.a),min:0,max:1,step:.01,spinners:!1,format:"n2",onChange:this.onRgbaAChange,disabled:this.props.disabled}),this.props.opacity&&r.createElement(nt,{className:"k-colorgradient-input-label"},s)))},t.prototype.dispatchRgbaChange=function(e,t){var n=ot({},this.props.rgba);void 0!==e.r&&(n.r=e.r),void 0!==e.g&&(n.g=e.g),void 0!==e.b&&(n.b=e.b),void 0!==e.a&&(n.a=e.a),this.props.onRgbaChange(n,t)},t.prototype.onToggleModeChange=function(){var e=it.length-1===it.indexOf(this.state.inputMode)?0:it.indexOf(this.state.inputMode)+1;if(this.props.opacity)this.setState({inputMode:it[e]});else{var t="rgba"===it[e]?e+1:e;this.setState({inputMode:it[t]})}},t}(r.Component);const st=at;(0,i.registerForIntl)(at),(0,i.registerForLocalization)(at);var lt=n(9124),ct=n(1779),ut=n(3493),ht=n(8199),dt=function(){return dt=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},dt.apply(this,arguments)},pt="data-slider-label",ft=function(e){var t,n,o=r.useRef(null),i=(0,ht.n)(o),a=e.vertical?{bottom:"".concat(e.position,"%")}:((t={})["rtl"===i?"right":"left"]="".concat(e.position,"%"),t),s=e.vertical?"k-tick-vertical":"k-tick-horizontal";return r.createElement("li",{ref:o,className:"k-tick k-tick-large ".concat(s),title:e.title,style:dt({zIndex:1,position:"absolute"},a)},e.children&&r.createElement("span",dt({},((n={})[pt]=!0,n),{className:"k-label",onClick:e.onClick}),e.children))},mt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),vt=function(){return vt=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},vt.apply(this,arguments)},gt=function(e){function t(t){var n=e.call(this,t)||this;return n.state={value:void 0===n.props.defaultValue?n.props.min:n.props.defaultValue,focused:!1,dir:n.props.dir},n._sliderTrack=null,n._element=null,n.buttons=function(e){return e.enabled?r.createElement(r.Fragment,null,r.createElement(Re.z,{className:"k-button-decrease",rounded:"full",icon:n.props.vertical?"caret-alt-down":"caret-alt-left",svgIcon:n.props.vertical?v:g,title:e.decrementTitle,onClick:e.decrement}),e.children,r.createElement(Re.z,{className:"k-button-increase",rounded:"full",icon:n.props.vertical?"caret-alt-up":"caret-alt-right",svgIcon:n.props.vertical?f:m,title:e.incrementTitle,onClick:e.increment})):e.children},n.focus=function(){n._element&&n._element.focus()},n.isLabel=function(e){for(var t=e;t;){if(Boolean(t.getAttribute(pt)))return!0;t=t.parentElement}return!1},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.onKeyDown=function(e){var t=void 0;e.keyCode===ut.R.left||e.keyCode===ut.R.down?t=n.state.value-(n.props.step||0):e.keyCode===ut.R.right||e.keyCode===ut.R.up?t=n.state.value+(n.props.step||0):e.keyCode===ut.R.home?t=n.props.min:e.keyCode===ut.R.end&&(t=n.props.max),void 0!==t&&(e.preventDefault(),n.change(e,t))},n.decrement=function(e){e.preventDefault(),n.change(e,n.state.value-(n.props.step||0))},n.increment=function(e){e.preventDefault(),n.change(e,n.state.value+(n.props.step||0))},n.dragStart=function(e){n.isLabel(e.event.originalEvent.target)||(e.event.isTouch&&e.event.originalEvent.preventDefault(),n.drag(e))},n.dragOver=function(e){e.event.originalEvent.preventDefault(),n.drag(e)},n.drag=function(e){var t=e.element.getBoundingClientRect(),r=(n.props.vertical?t.bottom-e.event.clientY:"rtl"===n.state.dir?t.right-e.event.clientX:e.event.clientX-t.left)/(n.props.vertical?t.height:t.width);n.change(e,n.props.min+r*(n.props.max-n.props.min))},(0,M.s)(O.k),n}return mt(t,e),t.getDerivedStateFromProps=function(e,t){var n=void 0!==e.value?e.value:t.value,r=e.min,o=e.max;return void 0===n?null:{value:Math.min(Math.max(n,r),o)}},t.prototype.componentDidMount=function(){if(!this.state.dir&&window&&this._element){var e=window.getComputedStyle(this._element).direction;e&&this.setState({dir:e})}},t.prototype.render=function(){var e,t=this,n=(0,i.provideLocalizationService)(this),o=(this.state.value-this.props.min)/(this.props.max-this.props.min)*100,a=this.props.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"},s=this.props.vertical?{paddingTop:0,height:"100%"}:{};return r.createElement("div",{ref:function(e){return t._element=e},dir:this.state.dir,id:this.props.id,style:vt({gap:0},this.props.style),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,className:(0,h.A)("k-slider",{"k-focus":this.state.focused,"k-disabled":this.props.disabled,"k-slider-horizontal":!this.props.vertical,"k-slider-vertical":this.props.vertical},this.props.className)},r.createElement(this.buttons,{enabled:this.props.buttons,decrement:this.decrement,increment:this.increment,incrementTitle:n.toLanguageString(F,le[F]),decrementTitle:n.toLanguageString(V,le[V])},r.createElement(ct._,{onDrag:this.dragOver,onPress:this.dragStart},r.createElement("div",{className:"k-slider-track-wrap",style:vt({flexGrow:1,position:"relative",touchAction:"none"},a)},this.props.children&&r.createElement("ul",{className:"k-reset k-slider-items",style:vt({margin:0},s)},r.Children.map(this.props.children,(function(e){return e&&r.cloneElement(e,{position:100*(e.props.position-t.props.min)/(t.props.max-t.props.min),vertical:t.props.vertical},e.props.children)}))),r.createElement("div",{className:"k-slider-track",style:this.props.vertical?{bottom:0,height:"100%"}:(e={},e["rtl"===this.state.dir?"right":"left"]=0,e.width="100%",e),ref:function(e){return t._sliderTrack=e}},r.createElement("div",{className:"k-slider-selection",style:this.props.vertical?{height:o+"%"}:{width:o+"%"}}),r.createElement("span",{role:"slider","aria-valuemin":this.props.min,"aria-valuemax":this.props.max,"aria-valuenow":this.state.value,"aria-valuetext":String(this.state.value),"aria-orientation":this.props.vertical?"vertical":void 0,"aria-disabled":this.props.disabled?"true":void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-label":this.props.ariaLabel,tabIndex:(0,p.p)(this.props.tabIndex,this.props.disabled,void 0),className:"k-draghandle",title:n.toLanguageString(D,le[D]),style:this.props.vertical?{bottom:"calc("+o+"%)",zIndex:1}:"rtl"===this.state.dir?{right:"calc("+o+"% - 13px)",zIndex:1}:{left:"calc("+o+"%)",zIndex:1}}))))))},Object.defineProperty(t.prototype,"sliderTrack",{get:function(){return this._sliderTrack},enumerable:!1,configurable:!0}),t.prototype.change=function(e,t){t=Math.min(Math.max(t,this.props.min),this.props.max),this.setState({value:t}),(0,u.N)(this.props.onChange,e,this,{value:t})},t.displayName="Slider",t.propTypes={min:o.number.isRequired,max:o.number.isRequired,value:o.number,vertical:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string},t}(r.Component),bt=(0,a.Y)(),yt=(0,a.u)(bt,gt);yt.displayName="KendoReactSlider",(0,i.registerForLocalization)(gt);var wt={},xt=n(8130),kt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return kt(t,e),t.prototype.render=function(){var e=(0,i.provideLocalizationService)(this),t=e.toLanguageString(T,le[T]),n=e.toLanguageString(j,le[j]),o=e.toLanguageString(U,le[U]),a=e.toLanguageString(K,le[K]),s=e.toLanguageString(W,le[W]),l=qe(this.props.rgba,this.props.bgColor),c=4.5.toFixed(1),u=7..toFixed(1),h="".concat(t,": ").concat(l.toFixed(2)),d="".concat(n,": ").concat(c),p="".concat(o,": ").concat(u),f=r.createElement("span",{className:"k-contrast-validation k-text-success"},a," ",r.createElement(xt.a,{name:"check",icon:w})),m=r.createElement("span",{className:"k-contrast-validation k-text-error"},s," ",r.createElement(xt.a,{name:"x",icon:x}));return r.createElement("div",{className:"k-vbox k-colorgradient-color-contrast"},r.createElement("div",{className:"k-contrast-ratio"},r.createElement("span",{className:"k-contrast-ratio-text"},h),l>=4.5?r.createElement("span",{className:"k-contrast-validation k-text-success"},r.createElement(xt.a,{name:"check",icon:w}),l>=7&&r.createElement(xt.a,{name:"check",icon:w})):r.createElement("span",{className:"k-contrast-validation k-text-error"},r.createElement(xt.a,{name:"x",icon:x}))),r.createElement("div",null,r.createElement("span",null,d),l>=4.5?f:m),r.createElement("div",null,r.createElement("span",null,p),l>=7?f:m))},t}(r.Component);(0,i.registerForLocalization)(zt);var Ct=function(e,t){if(0===e.length)return"";var n=e.reduce((function(e,n,r,o){return 0===r?"M ".concat(n[0],",").concat(n[1]):"".concat(e," ").concat(t(n,r,o))}),"");return'<path d="'.concat(n,'" fill="none" stroke="white" stroke-width="1"/>')},_t=function(e,t){var n=t[0]-e[0],r=t[1]-e[1];return{length:Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),angle:Math.atan2(r,n)}},It=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Et=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return It(t,e),t.prototype.renderSvgCurveLine=function(){var e,t,n=this,r=this.props.metrics,o=function(e,t,i,a,s){var l=(i+a)/2,c=Object.assign({},n.props.hsva,{s:t/r.width,v:1-l/r.height}),u=qe(Te(je(c)),Te(n.props.backgroundColor||""));return i+.5>a?u<e+1&&u>e-1?l:null:s(u,e)?o(e,t,i,a-(a-i)/2,s):o(e,t,i+(a-i)/2,a,s)},i=function(e,t,n){void 0===n&&(n=!1);for(var i=[],a=0;a<=r.width;a+=r.width/t){var s=o(e,a,0,r.height,n?function(e,t){return e<t}:function(e,t){return e>t});null!==s&&i.push([a,s])}return i},a=(t=_t,e=function(e,n,r,o){var i=t(n||e,r||e),a=i.angle+(o?Math.PI:0),s=.1*i.length;return[e[0]+Math.cos(a)*s,e[1]+Math.sin(a)*s]},function(t,n,r){var o=e(r[n-1],r[n-2],t),i=o[0],a=o[1],s=e(t,r[n-1],r[n+1],!0),l=s[0],c=s[1];return"C ".concat(i,",").concat(a," ").concat(l,",").concat(c," ").concat(t[0],",").concat(t[1])});return Ct(i(4.5,16),a)+Ct(i(4.5,16,!0),a)+Ct(i(7,16),a)+Ct(i(7,16,!0),a)},t.prototype.shouldComponentUpdate=function(e){return e.hsva.h!==this.props.hsva.h||e.hsva.a!==this.props.hsva.a||this.props.backgroundColor!==e.backgroundColor},t.prototype.render=function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"k-color-contrast-svg",dangerouslySetInnerHTML:{__html:this.renderSvgCurveLine()},style:{position:"absolute",overflow:"visible",pointerEvents:"none",left:0,top:0,zIndex:3}})},t}(r.Component),St=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mt="rgba(255, 255, 255, 1)",Ot=function(e){function t(n){var r=e.call(this,n)||this;r.wrapper=null,r.onHexChange=function(e,t,n){if(r.isUncontrolled){var o=Pe(t);r.setState({hsva:o,backgroundColor:Ue(o.h),rgba:Te(t),hex:e})}else!function(e,t,n){wt[e]={value:t,hex:n}}(r.state.guid,t,e);r.dispatchChangeEvent(t,n,n.nativeEvent)},r.onRgbaChange=function(e,t){var n=function(e){var t=Ne(e.r,0,255),n=Ne(e.g,0,255),r=Ne(e.b,0,255),o=Ne(e.a,0,1);return Be.Color.fromBytes(t,n,r,o).toCssRgba()}(e);if(r.isUncontrolled){var o=Pe(n),i=Le(n,"hex");r.setState({hsva:o,backgroundColor:Ue(o.h),rgba:e,hex:i})}else!function(e,t,n){wt[e]={value:t,rgba:n}}(r.state.guid,n,e);r.dispatchChangeEvent(n,t.syntheticEvent,t.nativeEvent)},r.onAlphaSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{a:e.value/100}),e.syntheticEvent,e.nativeEvent)},r.onHueSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{h:e.value}),e.syntheticEvent,e.nativeEvent)},r.onDrag=function(e){r.gradientWrapper.classList.add("k-dragging"),r.changePosition(e.event)},r.onRelease=function(){r.gradientWrapper.classList.remove("k-dragging")},r.onGradientWrapperClick=function(e){r.changePosition(e)},r.changePosition=function(e){var t=r.getGradientRectMetrics(),n=e.clientX-t.left,o=e.clientY-t.top,i=Ne(n,0,t.width),a=Ne(o,0,t.height),s=Object.assign({},r.state.hsva,{s:i/t.width,v:1-a/t.height});r.handleHsvaChange(s,e,e.nativeEvent)},r.onFocus=function(e){r.props.onFocus&&r.props.onFocus.call(void 0,{nativeEvent:e,target:r})},r.focus=function(){(0,lt.n)(r.wrapper)},(0,M.s)(O.k);var o=n.value||n.defaultValue||Le(Mt,"rgba");return r.state=Object.assign({},t.getStateFromValue(o),{isFirstRender:!0,guid:(0,l.M)()}),r}return St(t,e),t.getDerivedStateFromProps=function(e,n){return e.value&&!n.isFirstRender?t.getStateFromValue(e.value,n.guid):null},t.prototype.componentDidMount=function(){this.setAlphaSliderBackground(this.state.backgroundColor),this.state.isFirstRender&&this.setState({isFirstRender:!1})},t.prototype.componentWillUnmount=function(){var e;e=this.state.guid,delete wt[e]},t.prototype.componentDidUpdate=function(e,t){t.backgroundColor!==this.state.backgroundColor&&this.setAlphaSliderBackground(this.state.backgroundColor)},t.prototype.renderRectangleDragHandle=function(){var e={};if(!this.state.isFirstRender){var t=this.getGradientRectMetrics(),n=(1-this.state.hsva.v)*t.height,o=this.state.hsva.s*t.width;e.top="".concat(n,"px"),e.left="".concat(o,"px")}return r.createElement("div",{role:"slider",tabIndex:(0,p.p)(this.props.tabIndex,this.props.disabled),"aria-valuetext":this.props.ariaValueText,"aria-valuenow":parseInt(this.state.hex.substring(1),16),"aria-label":this.props.ariaLabelHSV,"aria-orientation":void 0,"aria-disabled":this.props.disabled?"true":void 0,className:"k-hsv-draghandle k-draghandle",style:e})},t.prototype.handleHsvaChange=function(e,t,n){var r=je(e);if(this.isUncontrolled){var o=Le(r,"hex");this.setState({hsva:e,backgroundColor:Ue(e.h),rgba:Te(r),hex:o})}else!function(e,t,n){wt[e]={value:t,hsva:n}}(this.state.guid,r,e);this.dispatchChangeEvent(r,t,n)},t.prototype.dispatchChangeEvent=function(e,t,n){this.props.onChange&&this.props.onChange.call(void 0,{syntheticEvent:t,nativeEvent:n,target:this,value:e})},t.getStateFromValue=function(e,t){Ae(Le(e,"hex"))||(e=Mt);var n=function(e,t){if(e){var n=wt[e];return n&&n.value===t?n.hsva:void 0}}(t,e)||Pe(e),r=function(e,t){if(e){var n=wt[e];return n&&n.value===t?n.rgba:void 0}}(t,e)||Te(e),o=function(e,t){if(e){var n=wt[e];return n&&n.value===t?n.hex:void 0}}(t,e)||Le(e,"hex");return{hsva:n,backgroundColor:Ue(n.h),rgba:r,hex:o}},t.prototype.setAlphaSliderBackground=function(e){this.props.opacity&&this.alphaSlider&&this.alphaSlider.sliderTrack&&(this.alphaSlider.sliderTrack.style.background="linear-gradient(to top, transparent, ".concat(e,")"))},Object.defineProperty(t.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),t.prototype.getGradientRectMetrics=function(){return this.gradientWrapper.getBoundingClientRect()},t.prototype.render=function(){var e=this,t=(0,i.provideLocalizationService)(this),n=(0,h.A)("k-colorgradient",{"k-disabled":this.props.disabled});return r.createElement("div",{id:this.props.id,role:this.props.role,className:n,"aria-disabled":this.props.disabled?"true":void 0,style:this.props.style,ref:function(t){return e.wrapper=t},tabIndex:(0,p.p)(this.props.tabIndex,this.props.disabled),"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,onFocus:this.onFocus},r.createElement("div",{className:"k-colorgradient-canvas k-hstack"},r.createElement("div",{className:"k-hsv-rectangle",style:{background:this.state.backgroundColor}},r.createElement(ct._,{onDrag:this.onDrag,onRelease:this.onRelease,ref:function(t){return e.gradientWrapper=t?t.element:void 0}},r.createElement("div",{className:"k-hsv-gradient",style:{touchAction:"none"},onClick:this.onGradientWrapperClick},this.renderRectangleDragHandle())),this.props.backgroundColor&&!this.state.isFirstRender&&r.createElement(Et,{metrics:this.gradientWrapper?this.getGradientRectMetrics():void 0,hsva:this.state.hsva,backgroundColor:this.props.backgroundColor})),r.createElement("div",{className:"k-hsv-controls k-hstack"},r.createElement(yt,{value:this.state.hsva.h,buttons:!1,vertical:!0,min:0,max:360,step:5,onChange:this.onHueSliderChange,className:"k-hue-slider k-colorgradient-slider",disabled:this.props.disabled,ariaLabel:t.toLanguageString(q,le[q])}),this.props.opacity&&r.createElement(yt,{value:Ae(this.state.hsva.a)?100*this.state.hsva.a:100,buttons:!1,vertical:!0,min:0,max:100,step:1,ariaLabel:t.toLanguageString($,le[$]),onChange:this.onAlphaSliderChange,className:"k-alpha-slider k-colorgradient-slider",disabled:this.props.disabled,ref:function(t){return e.alphaSlider=t}}))),r.createElement(st,{rgba:this.state.rgba,onRgbaChange:this.onRgbaChange,hex:this.state.hex,onHexChange:this.onHexChange,opacity:this.props.opacity,disabled:this.props.disabled,defaultInputMode:this.props.format}),this.props.backgroundColor&&r.createElement(zt,{bgColor:Te(this.props.backgroundColor),rgba:this.state.rgba}))},t.displayName="ColorGradient",t.propTypes={defaultValue:o.string,value:o.string,onChange:o.func,onFocus:o.func,opacity:o.bool,backgroundColor:o.string,format:o.any,disabled:o.bool,style:o.any,id:o.string,role:o.string,ariaLabel:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string},t.defaultProps={opacity:!0,role:"textbox",format:"rgb"},t}(r.Component),Rt=(0,a.Y)(),Ht=(0,a.u)(Rt,Ot);Ht.displayName="KendoReactColorGradient";var Ft=function(){function e(){this.colorRows=[]}return e.prototype.setColorMatrix=function(e,t){if(this.colorRows=[],Ae(e)&&e.length){t=t||e.length;for(var n=0;n<e.length;n+=t){var r=e.slice(n,t+n);this.colorRows.push(r)}}},e.prototype.getCellCoordsFor=function(e){var t=this;if(Ae(e)){var n=e?(0,Be.parseColor)(e,!0):e,r=[e];Ae(n)&&r.push(n.toCss(),n.toCssRgba());for(var o=function(e){for(var n=function(n){if(r.some((function(r){return r===t.colorRows[e][n]})))return{value:{row:e,col:n}}},o=0;o<i.colorRows[e].length;o++){var a=n(o);if("object"==typeof a)return a}},i=this,a=0;a<this.colorRows.length;a++){var s=o(a);if("object"==typeof s)return s.value}}},e.prototype.getColorAt=function(e){if(Ae(e)&&Ae(this.colorRows[e.row]))return this.colorRows[e.row][e.col]},e.prototype.getNextCell=function(e,t,n){if(!(Ae(e)&&Ae(e.row)&&Ae(e.col)))return{row:0,col:0};var r=this.clampIndex(e.row+n,this.colorRows.length-1);return{row:r,col:this.clampIndex(e.col+t,this.colorRows[r].length-1)}},e.prototype.clampIndex=function(e,t){return e<0?0:e>t?t:e},e}(),Vt={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4"," ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Dt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Bt="office",At=function(e){function t(t){var n=e.call(this,t)||this;return n.wrapper=null,n.paletteService=null,n.guid=(0,l.M)(),n.focus=function(){n.wrapper&&n.wrapper.focus()},n.onKeyDown=function(e){switch(e.keyCode){case ut.R.down:n.handleCellNavigation(0,1);break;case ut.R.up:n.handleCellNavigation(0,-1);break;case ut.R.right:n.handleCellNavigation(1,0);break;case ut.R.left:n.handleCellNavigation(-1,0);break;case ut.R.enter:n.handleEnter(e);break;default:return}e.preventDefault()},n.onColorClick=function(e,t){n.isUncontrolled?n.setState({selectedColor:e,focusedColor:e}):n.setState({focusedColor:e}),n.dispatchChangeEvent(e,t)},n.onFocus=function(e){n.paletteService&&(n.setState({focusedColor:n.state.selectedColor||n.paletteService.colorRows[0][0]}),n.props.onFocus&&n.props.onFocus.call(void 0,e))},n.onBlur=function(){n.setState({focusedColor:void 0})},(0,M.s)(O.k),n.state={selectedColor:void 0!==n.props.value?n.props.value:n.props.defaultValue,isFirstRender:!0},n}return Dt(t,e),t.prototype.render=function(){var e=this,t=this.getPaletteInfo(),n=this.paletteService=new Ft;n.setColorMatrix(t.colors,t.columns);var o=n.getCellCoordsFor(this.state.selectedColor),i=n.getCellCoordsFor(this.state.focusedColor),a=(0,h.A)("k-colorpalette",{"k-disabled":this.props.disabled});return t.colors.length?r.createElement("div",{id:this.props.id,role:"grid",className:a,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,"aria-disabled":this.props.ariaDisabled||(this.props.disabled?"true":void 0),"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,tabIndex:(0,p.p)(this.props.tabIndex,this.props.disabled),ref:function(t){return e.wrapper=t}},r.createElement("table",{className:"k-colorpalette-table",role:"presentation"},r.createElement("tbody",{role:"rowgroup"},this.renderRows(n.colorRows,o,i)))):""},t.getDerivedStateFromProps=function(e,t){if(t.isFirstRender||void 0===e.value){if(t.isFirstRender)return{isFirstRender:!1}}else{if(""===e.value&&void 0!==t.selectedColor)return{selectedColor:void 0};if(""!==e.value&&e.value!==t.selectedColor)return{selectedColor:e.value}}return null},t.prototype.handleCellNavigation=function(e,t){if(this.paletteService)if(this.focusedColorCooridanates){var n=this.paletteService.getNextCell(this.focusedColorCooridanates,e,t);this.setState({focusedColor:this.paletteService.getColorAt(n)})}else this.setState({focusedColor:this.paletteService.colorRows[0][0]})},t.prototype.handleEnter=function(e){this.isUncontrolled&&this.setState({selectedColor:this.state.focusedColor}),this.dispatchChangeEvent(this.state.focusedColor,e)},t.prototype.dispatchChangeEvent=function(e,t){(0,u.N)(this.props.onChange,t,this,{value:e,rgbaValue:Le(e,"rgba")})},Object.defineProperty(t.prototype,"focusedColorCooridanates",{get:function(){return this.state.focusedColor&&this.paletteService?this.paletteService.getCellCoordsFor(this.state.focusedColor):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),t.prototype.getPaletteInfo=function(){if("string"==typeof this.props.palette){var e=Vt[this.props.palette];return Ae(e)?{colors:e.colors,columns:this.props.columns||e.columns||10}:{colors:[],columns:0}}return{colors:this.props.palette||[],columns:this.props.columns||10}},t.prototype.renderRows=function(e,t,n){var o=this;return e.map((function(e,i){return r.createElement("tr",{role:"row",key:i},o.renderColumns(e,i,t,n))}))},t.prototype.renderColumns=function(e,t,n,o){var i=this,a=void 0!==n&&n.row===t,s=n&&n.col,l=void 0!==o&&o.row===t,c=o&&o.col,u="number"!=typeof this.props.tileSize?this.props.tileSize:{width:this.props.tileSize,height:this.props.tileSize},d=u.width+"px",p=u.height+"px";return e.map((function(e,n){var o=a&&s===n,u=(0,h.A)("k-colorpalette-tile",{"k-selected":o,"k-focus":l&&c===n});return r.createElement("td",{role:"gridcell",className:u,"aria-label":e,"aria-selected":!!o||!!i.props.disabled&&void 0,style:{backgroundColor:e,width:d,height:p,minWidth:d},onClick:function(t){return i.onColorClick(e,t)},id:i.createCellId({row:t,col:n}),key:n})}))},t.prototype.createCellId=function(e){return"".concat(this.guid,"_").concat(e.row,"_").concat(e.col)},t.displayName="ColorPalette",t.propTypes={palette:o.oneOfType([o.arrayOf(o.string.isRequired),o.string]),columns:o.number,tileSize:o.any,defaultValue:o.string,value:o.string,disabled:o.bool,tabIndex:o.number,onChange:o.func,onFocus:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string},t.defaultProps={palette:Bt,tileSize:24},t}(r.Component),Nt=(0,a.Y)(),Lt=(0,a.u)(Nt,At);Lt.displayName="KendoReactColorPalette";var Pt=n(3218),Tt=n(1754),jt=function(){return jt=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},jt.apply(this,arguments)},Ut=function(e){var t=e.popupSettings||{},n="rtl"===e.dir?"right":"left",o=r.useMemo((function(){return{horizontal:n,vertical:"bottom"}}),[n]),i=r.useMemo((function(){return{horizontal:n,vertical:"top"}}),[n]);return r.createElement(r.Fragment,null,e.input,e.button,r.createElement(Tt.G,jt({style:jt(jt({},(t||{}).style),{direction:e.dir})},t,{anchor:e.popupAnchor,anchorAlign:o,popupAlign:i,show:e.open,onOpen:e.onOpen,onClose:e.onClose,className:(0,h.A)("k-reset",t.className)}),e.content))};Ut.displayName="KendoPickerComponent";var Kt=function(){return Kt=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},Kt.apply(this,arguments)},Wt={palette:Bt,tileSize:24},qt=function(e){return void 0!==e},$t=(0,a.Y)(),Gt=r.forwardRef((function(e,t){var n;(0,M.s)(O.k);var o=(0,s.Y)($t,e),a=(0,i.useLocalization)(),l=o.size,c=void 0===l?Yt.size:l,u=o.rounded,f=void 0===u?Yt.rounded:u,m=o.fillMode,g=void 0===m?Yt.fillMode:m,b=o.popupSettings,y=o.gradientSettings,w=o.paletteSettings,x=o.valid,k=o.disabled,z=o.tabIndex,C=o.view,_=o.icon,I=o.svgIcon,E=o.iconClassName,S=o.onChange,R=o.onFocus,H=o.onBlur,F=o.onActiveColorClick,V=r.useRef(null),D=r.useRef(null),B=r.useRef(null),A=r.useRef(),N=r.useRef(null),L=r.useCallback((function(){V.current&&V.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:V.current,actionElement:N.current,focus:L}}));var P=r.useState(!1),T=P[0],j=P[1],U=r.useState(o.defaultValue),K=U[0],W=U[1],q=r.useState(!1),$=q[0],G=q[1],Y=qt(o.value),X=qt(o.open),Z=Y?o.value:K,J=X?o.open:$,Q=r.useCallback((function(e,t){X||(!e&&!t&&V&&V.current&&V.current.focus(),G(e))}),[X]),ee=r.useCallback((function(e){var t=e.altKey,n=e.keyCode;if(n!==ut.R.esc)return n!==ut.R.enter||X?void(!t||n!==ut.R.up&&n!==ut.R.down||(e.preventDefault(),e.stopPropagation(),n===ut.R.up&&V&&V.current&&(V.current.focus(),Q(!1)),n===ut.R.down&&Q(!0))):(e.preventDefault(),e.stopPropagation(),void Q(!J));Q(!1)}),[J,X]),te=r.useCallback((function(){X||(D.current?D.current.focus():B.current&&B.current.focus())}),[X]),ne=r.useCallback((function(){Q(!J,!0)}),[J]),oe=r.useCallback((function(e){F&&F.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:Z})}),[F,Z]),ie=r.useCallback((function(e){A.current?(clearTimeout(A.current),A.current=void 0):j(!0),R&&R.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[R]),ae=r.useCallback((function(){Q(!1,!0),j(!1),A.current=void 0}),[]),se=r.useCallback((function(e){clearTimeout(A.current),A.current=window.setTimeout(ae),H&&H.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[H]),ce=r.useCallback((function(e,t){var n=t?e.rgbaValue:e.value;Y||W(n),t&&Q(!1),S&&S.call(void 0,{value:n,nativeEvent:e.nativeEvent,syntheticEvent:e.syntheticEvent})}),[Y,S]),ue=r.useCallback((function(e){return ce(e,!0)}),[qt,ce]),he=(0,ht.n)(V,o.dir),de=!1!==x;return r.createElement("span",{id:o.id,role:"combobox","aria-label":o.ariaLabel,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,"aria-haspopup":"dialog","aria-expanded":J,"aria-disabled":k?"true":void 0,className:(0,h.A)("k-colorpicker","k-picker","k-icon-picker",(n={},n["k-picker-".concat(d.G.sizeMap[c]||c)]=c,n["k-picker-".concat(g)]=g,n["k-rounded-".concat(d.G.roundedMap[f]||f)]=f,n["k-invalid"]=!de,n["k-disabled"]=k,n["k-focus"]=T,n)),ref:V,tabIndex:(0,p.p)(z,k),title:o.title,onKeyDown:ee,onFocus:ie,onBlur:se,dir:he},r.createElement(Ut,{dir:he,open:J,onOpen:te,popupAnchor:V.current||void 0,popupSettings:Kt({},b),input:r.createElement("span",{onClick:oe,className:"k-input-inner"},r.createElement("span",{className:(0,h.A)("k-value-icon","k-color-preview",{"k-no-color":!Z,"k-icon-color-preview":_||I||E})},E&&r.createElement("span",{className:(0,h.A)("k-color-preview-icon",E)}),!E&&(_||I)&&r.createElement(xt.a,{name:_,icon:I}),r.createElement("span",{className:"k-color-preview-mask",style:{backgroundColor:Z}}))),button:r.createElement(Re.z,{tabIndex:-1,type:"button",onClick:ne,className:"k-input-button",rounded:null,icon:"caret-alt-down",svgIcon:v,"aria-label":a.toLanguageString(re,le[re])}),content:r.createElement(r.Fragment,null,("combo"===C||"gradient"===C)&&r.createElement(Ht,Kt({},y,{tabIndex:0,ref:D,value:Z,onChange:ce})),("combo"===C||"palette"===C)&&r.createElement(Lt,Kt({},w,{ref:B,value:Z,onChange:ue})))}))}));Gt.propTypes={value:o.string,defaultValue:o.string,disabled:o.bool,view:o.oneOf(["gradient","palette","combo"]),dir:o.string,id:o.string,icon:o.string,svgIcon:Pt.wi,ariaLabelledBy:o.string,ariaDescribedBy:o.string,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])};var Yt={size:"medium",rounded:"medium",fillMode:"solid",view:"palette",gradientSettings:{opacity:!0},paletteSettings:Wt};Gt.defaultProps=Yt,Gt.displayName="KendoColorPicker";var Xt,Zt=n(7711),Jt="rgba(255, 255, 255, 1)",Qt=r.forwardRef((function(e,t){(0,M.s)(O.k);var n=r.useRef(null),o=r.useRef(null),a=r.useRef(null),s=e.defaultValue,l=void 0===s?Jt:s,c=e.showButtons,u=void 0===c||c,d=e.showPreview,f=void 0===d||d,m=e.showClearButton,v=void 0===m||m,g=r.useState("ColorGradient"===(e.view||"ColorGradient")),b=g[0],w=g[1],x=r.useState(e.value||l),k=x[0],z=x[1],C=r.useState(e.value||l),E=C[0],S=C[1],R=void 0!==e.value?e.value:E,H=(0,i.useLocalization)(),F=r.useCallback((function(){n.current&&n.current.focus()}),[n]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:F,props:e,value:R}}),[R,F,e]),r.useImperativeHandle(t,(function(){return n.current}));var V=r.useCallback((function(e){("ColorGradient"===e&&!b||"ColorPalette"===e&&b)&&w(!b)}),[b]),D=r.useCallback((function(){z(l)}),[l]),B=r.useCallback((function(e){z(e.value)}),[]),A=r.useCallback((function(t){if(S(k),e.onChange){var n={value:k,nativeEvent:t.nativeEvent,syntheticEvent:t};e.onChange.call(void 0,n)}}),[k,e.onChange]),N=r.useCallback((function(){S(Jt)}),[]),L=r.useCallback((function(){z(E)}),[E]),P=r.useCallback((function(e){o.current&&e.nativeEvent.target instanceof HTMLInputElement==0&&o.current.focus()}),[o]),T=r.useCallback((function(t){var n;if((!t.relatedTarget||!(null===(n=o.current)||void 0===n?void 0:n.contains(t.relatedTarget)))&&(u||S(k),!u&&e.onChange)){var r={value:k,nativeEvent:t.nativeEvent,syntheticEvent:t};e.onChange.call(void 0,r)}}),[k,u,e.onChange]);return r.createElement("div",{id:e.id,role:"textbox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledBy,"aria-disabled":e.disabled?"true":void 0,style:e.style,ref:o,tabIndex:(0,p.p)(e.tabIndex,e.disabled),className:(0,h.A)("k-flatcolorpicker k-coloreditor",{"k-disabled":e.disabled},e.className),onBlur:T},r.createElement(r.Fragment,null,e.header||r.createElement("div",{className:"k-coloreditor-header k-hstack"},r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},r.createElement(Zt.h,{className:"k-button-group-flat"},r.createElement(Re.z,{type:"button","aria-label":H.toLanguageString(Z,le[Z]),togglable:!0,fillMode:"flat",selected:b,onClick:function(){return V("ColorGradient")},icon:"droplet-slider",svgIcon:y}),r.createElement(Re.z,{type:"button","aria-label":H.toLanguageString(J,le[J]),togglable:!0,fillMode:"flat",selected:!b,onClick:function(){return V("ColorPalette")},icon:"palette",svgIcon:_}))),r.createElement("div",{className:"k-spacer"}),r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},v&&r.createElement(Re.z,{type:"button",fillMode:"flat",onClick:D,"aria-label":H.toLanguageString(Q,le[Q]),icon:"droplet-slash",svgIcon:I}),f&&r.createElement("div",{className:"k-coloreditor-preview k-vstack"},r.createElement("span",{className:"k-coloreditor-preview-color k-color-preview",style:{background:k}}),r.createElement("span",{className:"k-coloreditor-current-color k-color-preview",style:{background:E},onClick:L})))),r.createElement("div",{className:"k-coloreditor-views k-vstack"},b?r.createElement(Ht,{ref:a,role:"none",tabIndex:-1,ariaLabel:void 0,value:k,onChange:B,onFocus:P,opacity:e.opacity,format:e.format}):r.createElement(Lt,{ariaDisabled:!0,ariaLabelledBy:"required_label",value:k,onChange:B,onFocus:P})),u&&r.createElement("div",{className:"k-coloreditor-footer k-actions k-actions-end"},r.createElement(Re.z,{type:"button",className:"k-coloreditor-cancel",onClick:N},le[Y]),r.createElement(Re.z,{type:"button",className:"k-coloreditor-apply k-primary",onClick:A},le[X]))))})),en={id:o.string,style:o.any,className:o.string,value:o.string,defaultValue:o.string,onChange:o.func,opacity:o.bool,format:o.any,tabIndex:o.number,ariaLabel:o.string,ariaLabelledBy:o.string,disabled:o.bool,view:o.any,header:o.any,showClearButton:o.bool,showPreview:o.bool,showButtons:o.bool};Qt.displayName="KendoFlatColorPicker",Qt.propTypes=en,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(Xt||(Xt={}));var tn=function(){function e(e,t,n){void 0===n&&(n=Xt.Undefined),this.value=e,this.rest=t,this.type=n}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '".concat(this.value,"', rest: ").concat(this.rest," })")},e}(),nn=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}(),rn=function(e){return(e||"").split("")},on=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof nn?this.parse(e):this.parse(new nn(rn(e),rn(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===Xt.Literal},e}(),an=function(e,t){return new on((function(n){var r=n.next().char,o=e[r];return"\\"===r?(r=n.next().char,new tn(t.literal(r),n)):new tn(o?t.mask(o):t.literal(r),n)}))},sn=function(e){return new on((function(t){var n=e.prompt,r=e.promptPlaceholder,o=t.next().char;return new tn(o===n?r:o,t)}))},ln=function(e){return new on((function(t){var n=t.next().char;return new tn(e?n:"",t)}))},cn=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new on((function(e){return new tn(t,e)}))));var t},un=function(e){return new on((function(t){for(var n=new tn([],t);!t.eof();)n=n.concat(e.run(t));return n}))},hn=function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}return e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,r=e.prompt,o=void 0===r?"":r,i=e.promptPlaceholder,a=void 0===i?" ":i,s=e.rules,l=void 0===s?{}:s,c=e.includeLiterals,u=void 0!==c&&c;this.mask=n,this.prompt=o,this.promptPlaceholder=a,this.rules=l,this.includeLiterals=u,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return cn(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?(cn(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?(cn(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,r){var o="",i=r,a=t.split("").slice(0,n),s=t.split("").slice(r);return cn(this.maskTokens.slice(n,r)).run(e).fold((function(e){o=a.concat(e).concat(s).join("")})),{selection:i,value:o}},e.prototype.maskRemoved=function(e,t,n){var r=this,o="",i=n,a=e.split("").slice(n),s=e.split("").slice(0,n).join(""),l=this.maskTokens.length-(e.length-n);return cn(this.maskTokens.slice(0,l)).run(s,t).fold((function(e){i=r.adjustPosition(e,i),o=e.concat(a).join("")})),{selection:i,value:o}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var r=this,o="",i=n,a=e.slice(0,n);return cn(this.unmaskTokens).run(a,t).chain((function(e){i=e.join("").length;var n=t.slice(i);return cn(r.maskTokens).run(e.join("")+n,t)})).fold((function(e){o=e.join("")})),{selection:i,value:o}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return t=e,new on((function(e){return e.peek().char===t?(e.eat(),new tn(t,e,Xt.Literal)):new tn(t,e,Xt.Literal)}));var t},mask:function(n){return(r={prompt:e,promptPlaceholder:t},function(e){return new on((function(t){for(var n=r.prompt,o=r.promptPlaceholder;!t.eof();){var i=t.peek(),a=i.char,s=i.control;if(a===s&&s===n)return t.eat(),new tn(n,t,Xt.Mask);if(e.test(a))return t.eat(),new tn(a,t,Xt.Mask);if(a===o)return t.eat(),new tn(n,t,Xt.Mask);t.eat_input()}return t.eat(),new tn(n,t,Xt.Mask)}))})(n);var r}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return t=e,new on((function(e){return e.eof()?new tn("",e):(e.peek().char===t&&e.eat(),new tn(t,e))}));var t},mask:function(t){return(n=e.prompt,function(e){return new on((function(t){for(;!t.eof();){var r=t.peek(),o=r.char,i=r.control;if(o===n&&i===n)return t.eat(),new tn(o,t);if(e.test(o))return t.eat(),new tn(o,t);t.eat_input()}return t.eat(),new tn("",t)}))})(t);var n}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this,t=e.prompt,n=e.promptPlaceholder,r=e.includeLiterals;return{literal:function(e){return ln(r)},mask:function(e){return sn({prompt:t,promptPlaceholder:n})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return ln(!1)},mask:function(t){return sn({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;un(an(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),un(an(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),un(an(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),un(an(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))},e}(),dn={"#":/[\d\s\+\-]/,"&":/[\S]/,0:/[\d]/,9:/[\d\s]/,"?":/[a-zA-Z\s]/,A:/[a-zA-Z0-9]/,C:/./,L:/[a-zA-Z]/,a:/[a-zA-Z0-9\s]/},pn=function(){return!1},fn=function(e,t){return e.includeLiterals!==t.includeLiterals||e.mask!==t.mask||e.prompt!==t.prompt||e.promptPlaceholder!==t.promptPlaceholder||!mn(e.rules,t.rules)},mn=function(e,t){if(!!e!=!!t)return!1;if(e===t||!e||!t)return!0;var n=!0;for(var r in e)if(e[r]!==t[r]){n=!1;break}if(n)for(var r in t)if(!e.hasOwnProperty(r)){n=!1;break}return n},vn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gn=function(){return gn=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},gn.apply(this,arguments)},bn=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n._inputId="k-".concat((0,l.M)()),n._service=new hn,n._isPasted=!1,n._selection=[null,null],n._input=null,n.focus=function(){n._input&&n._input.focus()},n.pasteHandler=function(e){var t=e.target,r=t.selectionStart,o=t.selectionEnd;o!==r&&(n._isPasted=!0,n._selection=[r||0,o||0])},n.onChangeHandler=function(e){var t=e.currentTarget,r=t.value,o=n._selection[0]||0,i=n._selection[1]||0;if(!n.props.mask)return n._isPasted=!1,n._selection=[null,null],void n.triggerOnChange(r,e);var a,s=n.value;if(n._isPasted){n._isPasted=!1;var l=s.length-i,c=r.length-l;a=n._service.maskInRange(r.slice(o,c),s,o,i)}else a=n._service.maskInput(r,s,t.selectionStart||0);n._selection=[a.selection,a.selection],n.triggerOnChange(a.value,e)},n.focusHandler=function(e){n.state.focused||(n.setState({focused:!0}),n.props.onFocus&&n.props.onFocus.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.blurHandler=function(e){n.state.focused&&(n.setState({focused:!1}),n.props.onBlur&&n.props.onBlur.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.setValidity=function(){n.element&&n.element.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"")},(0,M.s)(O.k),n}return vn(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawValue",{get:function(){return this._service.rawValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=this.value,t=this._service.validationValue(e);return{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!(this.required&&!t||this.props.maskValidation&&this.props.prompt&&-1!==e.indexOf(this.props.prompt)),valueMissing:!t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(this.element&&this.state.focused&&t.focused){var n=this._selection,r=n[0],o=n[1],i=e.selection,a=this.props.selection;(!i&&a||i&&a&&(i.start!==a.start||i.end!==a.end))&&(r=a.start,o=a.end),null!==r&&null!==o&&this.element.setSelectionRange(r,o)}fn(e,this.props)&&this.updateService(),this.setValidity()},t.prototype.componentDidMount=function(){this.updateService(),this.setValidity()},t.prototype.render=function(){var e,n=this,o=this.props,i=o.size,a=void 0===i?t.defaultProps.size:i,s=o.fillMode,l=void 0===s?t.defaultProps.fillMode:s,u=o.rounded,f=void 0===u?t.defaultProps.rounded:u,m=this.props.id||this._inputId,v=!this.validityStyles||this.validity.valid,g=this.props.style||{},b=this.props,y=b.prefix,w=void 0===y?t.defaultProps.prefix:y,x=b.suffix,k=void 0===x?t.defaultProps.suffix:x,z=(0,c.A)(w)[0],C=(0,c.A)(k)[0],_=r.createElement("span",{dir:this.props.dir,className:(0,h.A)("k-maskedtextbox k-input",(e={},e["k-input-".concat(d.G.sizeMap[a]||a)]=a,e["k-input-".concat(l)]=l,e["k-rounded-".concat(d.G.roundedMap[f]||f)]=f,e["k-invalid"]=!v,e["k-required"]=this.required,e["k-disabled"]=this.props.disabled,e),this.props.className),style:this.props.label?g:gn({width:this.props.width},g)},r.createElement(z,null),r.createElement("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,className:"k-input-inner",value:this.value,id:m,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-placeholder":this.props.mask,name:this.props.name,tabIndex:(0,p.p)(this.props.tabIndex,this.props.disabled,!0),accessKey:this.props.accessKey,title:this.props.title,disabled:this.props.disabled||void 0,readOnly:this.props.readonly||void 0,placeholder:this.props.placeholder,ref:function(e){return n._input=e},onChange:this.onChangeHandler,onPaste:this.pasteHandler,onFocus:this.focusHandler,onBlur:this.blurHandler,onDragStart:pn,onDrop:pn}),r.createElement(C,null));return this.props.label?r.createElement(S._,{label:this.props.label,editorId:m,editorValue:this.value,editorValid:v,editorDisabled:this.props.disabled,editorPlaceholder:this.props.placeholder,children:_,style:{width:this.props.width},dir:this.props.dir}):_},t.prototype.triggerOnChange=function(e,t){if(this.setState({value:e}),this.props.onChange){this._valueDuringOnChange=e;var n={syntheticEvent:t,nativeEvent:t.nativeEvent,selectionStart:this._selection[0],selectionEnd:this._selection[1],target:this,value:this.value};this.props.onChange.call(void 0,n),this._valueDuringOnChange=void 0}},t.prototype.updateService=function(e){var t=Object.assign({includeLiterals:this.props.includeLiterals,mask:this.props.mask,prompt:this.props.prompt,promptPlaceholder:this.props.promptPlaceholder,rules:this.rules},e);this._service.update(t)},Object.defineProperty(t.prototype,"rules",{get:function(){return Object.assign({},dn,this.props.rules)},enumerable:!1,configurable:!0}),t.displayName="MaskedTextBox",t.propTypes={value:o.string,defaultValue:o.string,placeholder:o.string,title:o.string,dir:o.string,id:o.string,style:o.object,className:o.string,prefix:o.any,suffix:o.any,ariaLabelledBy:o.string,ariaDescribedBy:o.string,width:o.oneOfType([o.string,o.number]),tabIndex:o.number,accessKey:o.string,disabled:o.bool,readonly:o.bool,prompt:o.string,promptPlaceholder:o.string,includeLiterals:o.bool,maskValidation:o.bool,mask:o.string,rules:function(e,t,n){var r=e.rules;return void 0===r||Object.entries(r).some((function(e){return"string"!=typeof e||!(r[e]instanceof RegExp)}))?null:new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed.")},selection:o.shape({start:o.number.isRequired,end:o.number.isRequired}),name:o.string,label:o.string,validationMessage:o.string,required:o.bool,valid:o.bool,validityStyles:o.bool,onChange:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},t.defaultProps={prompt:"_",promptPlaceholder:" ",includeLiterals:!1,maskValidation:!0,rules:dn,required:!1,validityStyles:!0,prefix:function(e){return null},suffix:function(e){return null},size:"medium",rounded:"medium",fillMode:"solid"},t}(r.Component),yn=(0,a.Y)(),wn=(0,a.u)(yn,bn);wn.displayName="KendoReactMaskedTextBox";var xn,kn=function(){return kn=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},kn.apply(this,arguments)};!function(e){e.start="start",e.end="end",e.min="min",e.max="max",e.increase="increase",e.decrease="decrease"}(xn||(xn={}));var zn=function(e,t){var n,r;switch(t.type){case xn.start:if(void 0===t.payload)return e;n={start:t.payload>e.end?e.end:Math.max(t.payload,t.min),end:e.end};break;case xn.end:if(void 0===t.payload)return e;n={start:e.start,end:t.payload<e.start?e.start:Math.min(t.payload,t.max)};break;case xn.min:n="start"===t.key?kn(kn({},e),{start:t.min}):kn(kn({},e),{end:Math.max(t.min,e.start)});break;case xn.max:n="start"===t.key?kn(kn({},e),{start:Math.min(t.max,e.end)}):kn(kn({},e),{end:t.max});break;case xn.increase:if(void 0===t.step||void 0===t.key)return e;r=e[t.key]+t.step,n="start"===t.key?r<t.min?kn(kn({},e),{start:t.min}):kn(kn({},e),{start:Math.min(r,e.end)}):r>t.max?kn(kn({},e),{end:t.max}):kn(kn({},e),{end:Math.max(r,e.start)});break;case xn.decrease:if(void 0===t.step||void 0===t.key)return e;r=e[t.key]-t.step,n="start"===t.key?r<t.min?kn(kn({},e),{start:t.min}):kn(kn({},e),{start:Math.min(r,e.end)}):r>t.max?kn(kn({},e),{end:t.max}):kn(kn({},e),{end:Math.max(r,e.start)});break;default:n=e}return n},Cn=n(9844),_n=function(){return _n=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},_n.apply(this,arguments)},In=(0,a.Y)(),En=r.forwardRef((function(e,t){var n,o;(0,M.s)(O.k);var a=(0,s.Y)(In,e),l=r.useRef(null),c=r.useRef(null),u=r.useRef(null),d=r.useRef(null),f=r.useRef(null),m=r.useCallback((function(){d.current&&d.current.focus()}),[d]);r.useImperativeHandle(l,(function(){return{element:c.current,focus:m,props:a}})),r.useImperativeHandle(t,(function(){return l.current}));var v=r.useMemo((function(){return a.min}),[a.min]),g=r.useMemo((function(){return a.max}),[a.max]),b=r.useMemo((function(){return void 0!==a.step?a.step:Mn.step}),[a.step,Mn.step]),y=(0,ht.n)(c,a.dir),w=r.useState(""),x=w[0],k=w[1],z=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1],s=r.useCallback((function(e){var r=zn(t.state||i,_n(_n({},e),t));n&&n(r,e.event),a(r)}),[t,n]);return[i,s]}(a.defaultValue||Mn.defaultValue,{min:v,max:g,step:b,state:a.value},(function(e,t){a.onChange&&l.current&&a.onChange.call(void 0,{value:e,target:l.current,syntheticEvent:t})})),C=z[0],_=z[1],I=r.useMemo((function(){return a.value||C}),[a.value,C]),E=r.useRef(null),S=r.useRef(null),R=r.useMemo((function(){return(I.start-v)/(g-v)*100}),[I.start,v,g]),H=r.useMemo((function(){return(I.end-v)/(g-v)*100}),[I.end,v,g]),F=r.useMemo((function(){return a.vertical?{paddingTop:0,height:"100%"}:{}}),[a.vertical]),V=r.useMemo((function(){return a.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"}}),[a.vertical]),B=(0,i.useLocalization)(),A=r.useCallback((function(e){if(S.current){var t=S.current.getBoundingClientRect(),n=a.vertical?t.bottom-e.clientY:"rtl"===y?t.right-e.clientX:e.clientX-t.left,r=a.vertical?t.height:t.width;return v+n/r*(g-v)}}),[S,a.vertical,y,v,g,C.start,C.end,a.value&&a.value.start,a.value&&a.value.end]),N=r.useCallback((function(e){return e<=I.start?"start":e>=I.end?"end":2*e<I.end+I.start?"start":"end"}),[C.start,C.end,a.value&&a.value.start,a.value&&a.value.end]),L=r.useCallback((function(e){switch(e.keyCode){case ut.R.right:e.preventDefault(),_({type:"rtl"===y?xn.decrease:xn.increase,key:"start",event:e});break;case ut.R.up:e.preventDefault(),_({type:xn.increase,key:"start",event:e});break;case ut.R.left:e.preventDefault(),_({type:"rtl"===y?xn.increase:xn.decrease,key:"start",event:e});break;case ut.R.down:e.preventDefault(),_({type:xn.decrease,key:"start",event:e});break;case ut.R.home:e.preventDefault(),_({type:xn.min,key:"start",event:e});break;case ut.R.end:e.preventDefault(),_({type:xn.max,key:"start",event:e})}}),[_]),P=r.useCallback((function(e){switch(e.keyCode){case ut.R.right:e.preventDefault(),_({type:"rtl"===y?xn.decrease:xn.increase,key:"end",event:e});break;case ut.R.up:e.preventDefault(),_({type:xn.increase,key:"end",event:e});break;case ut.R.left:e.preventDefault(),_({type:"rtl"===y?xn.increase:xn.decrease,key:"end",event:e});break;case ut.R.down:e.preventDefault(),_({type:xn.decrease,key:"end",event:e});break;case ut.R.home:e.preventDefault(),_({type:xn.min,key:"end",event:e});break;case ut.R.end:e.preventDefault(),_({type:xn.max,key:"end",event:e})}}),[_,y]),T=r.useCallback((function(e){var t=A(e),n=N(t);k(n),"end"===n?f.current.focus():d.current.focus();var r="end"===n?xn.end:xn.start;_({type:r,payload:t,event:e})}),[a.vertical,v,g,_]);return(0,Cn.O)(S,{onPress:T,onDrag:function(e){var t=A(e),n="end"===x?xn.end:xn.start;_({type:n,payload:t,event:e})},onRelease:function(e){var t=A(e),n="end"===x?xn.end:xn.start;_({type:n,payload:t,event:e}),k("")}}),r.createElement("div",{id:a.id,style:a.style,ref:c,dir:y,className:(0,h.A)("k-slider",{"k-rtl":"rtl"===y,"k-disabled":a.disabled,"k-slider-vertical":a.vertical,"k-slider-horizontal":!a.vertical},a.className)},r.createElement("div",{ref:S,className:"k-slider-track-wrap",style:_n({flexGrow:1,position:"relative",touchAction:"none"},V)},a.children&&r.createElement("ul",{className:"k-reset k-slider-items",style:_n({},F)},r.Children.map(a.children,(function(e){return e&&r.cloneElement(e,{position:100*(e.props.position-a.min)/(a.max-a.min),vertical:a.vertical},e.props.children)}))),r.createElement("div",{ref:E,className:"k-slider-track",style:a.vertical?{bottom:0,height:"100%"}:(n={},n["rtl"===y?"right":"left"]=0,n.width="100%",n)},null!==R&&null!==H&&r.createElement("div",{"data-selection":!0,ref:u,title:"".concat(I.start," - ").concat(I.end),className:"k-slider-selection",style:a.vertical?{height:H-R+"%",bottom:R+"%"}:(o={},o["rtl"===y?"right":"left"]=R+"%",o.width=H-R+"%",o)}),r.createElement("span",{ref:d,role:"slider",tabIndex:(0,p.p)(a.startTabIndex,a.disabled,void 0),"aria-valuemin":v,"aria-valuemax":Math.max(g,I.end),"aria-valuenow":I.start,"aria-disabled":a.disabled?"true":void 0,"aria-valuetext":"".concat(I.start," - ").concat(I.end),className:"k-draghandle",title:B.toLanguageString(D,le[D]),style:a.vertical?{bottom:"calc("+R+"%)",zIndex:1}:"rtl"===y?{right:"calc("+R+"% - 13px)",zIndex:1}:{left:"calc("+R+"%)",zIndex:1},onKeyDown:L}),r.createElement("span",{ref:f,role:"slider",tabIndex:(0,p.p)(a.endTabIndex,a.disabled,void 0),"aria-valuemin":Math.min(v,I.start),"aria-valuemax":g,"aria-valuenow":I.end,"aria-disabled":a.disabled?"true":void 0,"aria-valuetext":"".concat(I.start," - ").concat(I.end),className:"k-draghandle",title:B.toLanguageString(D,le[D]),style:a.vertical?{bottom:"calc("+H+"%)",zIndex:1}:"rtl"===y?{right:"calc("+H+"% - 13px)",zIndex:1}:{left:"calc("+H+"%)",zIndex:1},onKeyDown:P}))))})),Sn={value:function(e,t,n){if(e.value){var r=e.value.start,o=e.value.end,i=e.min,a=e.max;if(r>o||r>a||r<i||o>a||o<i||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},defaultValue:function(e,t,n){if(e.defaultValue){var r=e.defaultValue.start,o=e.defaultValue.end,i=e.min,a=e.max;if(r>o||r>a||r<i||o>a||o<i||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},onChange:o.func,step:o.number,min:function(e,t,n){var r=e[t],o=e.min,i=e.max;return void 0===o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&o>=i?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or bigger than the max value.\n ")):null},max:function(e,t,n){var r=e[t],o=e.min,i=e.max;return void 0===i?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&i<=o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or smaller than the min value.\n ")):null},vertical:o.bool,disabled:o.bool,dir:o.oneOf(["ltr","rtl"])},Mn={step:1,defaultValue:{start:0,end:0},vertical:!1,disabled:!1};En.displayName="KendoReactRangeSlider",En.propTypes=Sn,En.defaultProps=Mn;var On=n(3228),Rn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Hn=function(){return Hn=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},Hn.apply(this,arguments)},Fn=function(e){function t(n){var o=e.call(this,n)||this;return o.setValidity=function(){o._input&&o._input.setCustomValidity&&o._input.setCustomValidity(o.validity.valid?"":o.props.validationMessage||o.defaultValidationMessage.toLanguageString(ne,le[ne]))},o.limit=function(e,t,n){var r=n.offsetWidth,o=t.offsetWidth;return e<0?0:e>r-o?r-o:e},o.toggle=function(e,t){o.setState({checked:e}),o.valueDuringOnChange=e,(0,u.N)(o.props.onChange,t,o,{value:e}),o.valueDuringOnChange=void 0},o._element=null,o._wrapper=null,o._input=null,o._id=(0,l.M)(),o.defaultValidationMessage=(0,i.provideLocalizationService)(o),o.focus=function(){o._element&&o._element.focus()},o.dummyInput=function(e){return r.createElement("input",{type:"checkbox",checked:o.props.checked,ref:function(e){o._input=e},tabIndex:-1,"aria-hidden":!0,value:e,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"},onChange:On.Z})},o.handleClick=function(e){o.eventTimeStamp!==e.timeStamp&&(o.eventTimeStamp=e.timeStamp,o.toggle(!o.value,e))},o.handleKeyDown=function(e){if(!o.props.disabled){var t=e.keyCode;t!==ut.R.space&&t!==ut.R.enter||(o.toggle(!o.value,e),e.preventDefault())}},o.handleWrapperFocus=function(e){if(!o.props.disabled){o.setState({focused:!0});var t=o.props.onFocus;t&&t.call(void 0,e)}},o.handleWrapperBlur=function(e){if(!o.props.disabled){o.setState({focused:!1});var t=o.props.onBlur;t&&t.call(void 0,e)}},(0,M.s)(O.k),o.state={checked:n.defaultChecked||t.defaultProps.defaultChecked,focused:!1},o}return Rn(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.checked?this.props.checked:this.state.checked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){return this._wrapper},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=void 0!==this.props.valid?this.props.valid:!this.props.required||!!this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.setValidity(),this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e,t,n,o=this,i=this.state.focused,a=this.props,s=a.dir,l=a.disabled,c=a.trackRounded,u=a.thumbRounded,f=a.size,m=a.id,v=a.offLabel,g=a.onLabel,b=a.tabIndex;this.dir=s||this._wrapper&&getComputedStyle(this._wrapper).direction||void 0;var y=!this.validityStyles||this.validity.valid,w=(0,h.A)("k-switch",((e={})["k-switch-".concat(d.G.sizeMap[f]||f)]=f,e["k-rounded-".concat(d.G.roundedMap[c]||c)]=c,e["k-switch-on"]=this.value,e["k-switch-off"]=!this.value,e["k-focus"]=i,e["k-disabled"]=l,e["k-invalid"]=!y,e),this.props.className),x={"aria-checked":this.value,"aria-disabled":l||void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy};return r.createElement("span",Hn({ref:function(e){o._wrapper=e},role:"switch"},x,{className:w,dir:this.dir,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onBlur:this.handleWrapperBlur,onFocus:this.handleWrapperFocus}),r.createElement("span",{className:(0,h.A)("k-switch-track",(t={},t["k-rounded-".concat(d.G.roundedMap[c]||c)]=c,t)),id:m||this._id,ref:function(e){o._element=e},tabIndex:(0,p.p)(b,l,void 0),accessKey:this.props.accessKey},this.dummyInput(this.value),r.createElement("span",{className:"k-switch-label-on"},g),r.createElement("span",{className:"k-switch-label-off"},v)),r.createElement("span",{className:"k-switch-thumb-wrap"},r.createElement("span",{className:(0,h.A)("k-switch-thumb",(n={},n["k-rounded-".concat(u)]=u,n))})))},t.displayName="Switch",t.propTypes={accessKey:o.string,checked:o.bool,className:o.string,disabled:o.bool,defaultChecked:o.bool,size:o.oneOf([null,"small","medium","large"]),trackRounded:o.oneOf([null,"small","medium","large","full"]),thumbRounded:o.oneOf([null,"small","medium","large","full"]),dir:o.string,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,offLabel:o.string,required:o.bool,tabIndex:o.number,valid:o.bool,validate:o.bool,validationMessage:o.string,onBlur:o.any,onChange:o.any,onFocus:o.any,onLabel:o.string},t.defaultProps={disabled:!1,defaultChecked:!1,size:"medium",trackRounded:"full",thumbRounded:"full",offLabel:"OFF",onBlur:On.Z,onFocus:On.Z,onLabel:"ON",required:!1,validityStyles:!0},t}(r.Component),Vn=(0,a.Y)(),Dn=(0,a.u)(Vn,Fn);Dn.displayName="KendoReactSwitch";var Bn=function(){return Bn=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},Bn.apply(this,arguments)},An=(0,a.Y)(),Nn=r.forwardRef((function(e,t){var n;(0,M.s)(O.k);var o=(0,s.Y)(An,e),a=o,c=a.ariaDescribedBy,f=a.ariaLabelledBy,m=a.checked,v=a.className,g=a.children,b=a.defaultChecked,y=a.disabled,w=a.defaultValue,x=a.id,k=a.size,z=a.rounded,C=a.label,_=a.labelPlacement,I=a.name,E=a.labelOptional,S=a.onChange,R=a.onFocus,H=a.onBlur,F=a.tabIndex,V=a.value,D=a.required,B=a.valid,A=a.validationMessage,N=a.validityStyles,L=(a.visited,a.touched,a.modified,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}(a,["ariaDescribedBy","ariaLabelledBy","checked","className","children","defaultChecked","disabled","defaultValue","id","size","rounded","label","labelPlacement","name","labelOptional","onChange","onFocus","onBlur","tabIndex","value","required","valid","validationMessage","validityStyles","visited","touched","modified"])),P=r.useRef(null),T=r.useCallback((function(){P.current&&P.current.focus()}),[]),j=r.useCallback((function(){return{element:P.current,focus:T,get name(){return P.current&&P.current.name}}}),[T]);r.useImperativeHandle(t,j);var U=r.useState(b),K=U[0],W=U[1],q=r.useState(w),$=q[0],G=q[1],Y="boolean"==typeof V||null===V,X=void 0!==m,Z=Y,J=Z?V:$,Q=X?m:Z?void 0:K,ne=void 0===Q&&J,re=ne?J:Q,oe=ne||Z?null===V?V:void 0:V||J,ie=null===re||null===oe,ae=r.useMemo((function(){return(0,l.M)()}),[]),se=(0,i.useLocalization)(),ce=function(e){return se.toLanguageString(e,le[e])},ue=ce(ee),he=ce(te),de=void 0!==B?B:!D||!!Q;r.useEffect((function(){P.current&&P.current.setCustomValidity&&P.current.setCustomValidity(de?"":A||ue)}),[de,A,ue]);var pe=r.useCallback((function(e,t){Z||y||(G(t),X||y||W(t)),S&&!y&&(0,u.N)(S,e,Bn(Bn({},j()),{value:t}),{value:t})}),[X,y,S,Z,j]),fe=r.useCallback((function(e){var t=e.target.checked;pe(e,t)}),[pe,V]),me=r.useCallback((function(e){if(!y){var t=e.keyCode,n=e.currentTarget.checked;t===ut.R.space&&(e.preventDefault(),e.stopPropagation(),pe(e,!n))}}),[y,pe]),ve=r.useCallback((function(e){y||e.keyCode===ut.R.space&&e.preventDefault()}),[y]),ge=r.useCallback((function(e){R&&!y&&(0,u.N)(R,e,j(),void 0)}),[R,y,j]),be=r.useCallback((function(e){H&&!y&&(0,u.N)(H,e,j(),void 0)}),[H,y,j]),ye=(0,ht.n)(P,o.dir),we=(0,h.A)({"k-disabled":y},v),xe=Bn(Bn({type:"checkbox",className:(0,h.A)("k-checkbox",(n={},n["k-checkbox-".concat(d.G.sizeMap[k]||k)]=k,n["k-rounded-".concat(d.G.roundedMap[z]||z)]=z,n["k-indeterminate"]=ie,n["k-disabled"]=y,n["k-invalid k-invalid"]=!(de||void 0!==N||!0===N),n)),ref:P,name:I,id:x||ae,"aria-labelledby":f,"aria-describedby":c,checked:Boolean(re),disabled:y,tabIndex:(0,p.p)(F,y),role:"checkbox",required:void 0!==D&&D,"aria-checked":!(!Q&&!re)||!!ie&&"mixed","aria-disabled":y||void 0},L),{onChange:fe,onKeyDown:me,onKeyUp:ve,onFocus:ge,onBlur:be}),ke=r.createElement(r.Fragment,null,void 0===oe?r.createElement("input",Bn({},xe)):r.createElement("input",Bn({},xe,{value:Y?void 0:null===oe?"":oe}))),ze=r.createElement(r.Fragment,null,void 0!==C?r.createElement("label",{className:"k-checkbox-label",htmlFor:x||ae,style:{userSelect:"none"}},C,E&&r.createElement("span",{className:"k-label-optional"},he)):null);return r.createElement(r.Fragment,null,"before"===_?r.createElement("span",{className:we,dir:"rtl"},ke,ze,g):r.createElement("span",{className:we,dir:ye},ke,ze,g))}));Nn.propTypes={checked:o.bool,className:o.string,defaultChecked:o.bool,defaultValue:o.any,dir:o.string,disabled:o.bool,id:o.string,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large"]),ariaLabelledBy:o.string,ariaDescribedBy:o.string,label:o.any,labelPlacement:o.string,labelOptional:o.bool,name:o.string,tabIndex:o.number,value:o.any,validationMessage:o.string,required:o.bool,validate:o.bool,valid:o.bool,onChange:o.func,onFocus:o.func,onBlur:o.func},Nn.defaultProps={size:"medium",rounded:"medium"},Nn.displayName="KendoCheckbox";var Ln=function(){return Ln=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},Ln.apply(this,arguments)},Pn=(0,a.Y)(),Tn=r.forwardRef((function(e,t){var n;(0,M.s)(O.k);var o=(0,s.Y)(Pn,e),i=o.ariaDescribedBy,a=o.checked,c=o.children,f=o.className,m=o.disabled,v=o.id,g=o.size,b=o.label,y=o.labelPlacement,w=o.name,x=o.style,k=o.tabIndex,z=o.value,C=o.valid,_=o.onChange,I=o.onFocus,E=o.onBlur,S=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,["ariaDescribedBy","checked","children","className","disabled","id","size","label","labelPlacement","name","style","tabIndex","value","valid","onChange","onFocus","onBlur"]),R=r.useRef(null),H=r.useCallback((function(){R.current&&R.current.focus()}),[]),F=r.useCallback((function(){return{element:R.current,focus:H}}),[H]);r.useImperativeHandle(t,F);var V=r.useMemo((function(){return(0,l.M)()}),[]),D=r.useCallback((function(e){(0,u.N)(_,e,F(),{value:z})}),[_,z,m]),B=r.useCallback((function(e){I&&!m&&(0,u.N)(I,e,F(),void 0)}),[I,m]),A=r.useCallback((function(e){E&&!m&&(0,u.N)(E,e,F(),void 0)}),[E,m]),N=Ln({type:"radio",id:v||V,name:w,className:(0,h.A)("k-radio",(n={},n["k-radio-".concat(d.G.sizeMap[g]||g)]=g,n["k-invalid"]=!1===C,n),f),ref:R,disabled:m,tabIndex:(0,p.p)(k,m),checked:a,style:x,"aria-describedby":i,value:z,onChange:D,onFocus:B,onBlur:A},S),L=r.createElement(r.Fragment,null,void 0!==b?r.createElement("label",{className:"k-radio-label",htmlFor:v||V,style:{userSelect:"none"},"aria-label":b},b):null),P=r.createElement("input",Ln({},N));return"before"===y?r.createElement(r.Fragment,null,L,P,c):r.createElement(r.Fragment,null,P,L,c)}));Tn.propTypes={ariaDescribedBy:o.string,checked:o.bool,className:o.string,disabled:o.bool,id:o.string,size:o.oneOf([null,"small","medium","large"]),label:o.string,labelPlacement:o.string,name:o.string,style:o.object,tabIndex:o.number,value:o.any,valid:o.bool,onChange:o.func,onFocus:o.func,onBlur:o.func},Tn.displayName="KendoRadioButton",Tn.defaultProps={size:"medium"};var jn=n(1573),Un=function(){return Un=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},Un.apply(this,arguments)},Kn=(0,a.Y)(),Wn=r.forwardRef((function(e,t){(0,M.s)(O.k);var n=(0,s.Y)(Kn,e),o=n.ariaLabelledBy,i=n.ariaDescribedBy,a=n.className,c=n.data,d=n.defaultValue,p=n.disabled,f=n.name,m=n.labelPlacement,v=n.layout,g=n.style,b=n.value,y=n.valid,w=n.item,x=void 0===w?qn.item:w,k=n.onChange,z=n.onFocus,C=r.useRef(null),_=r.useCallback((function(){C.current&&(0,lt.n)(C.current)}),[]),I=r.useCallback((function(){return{element:C.current,focus:_}}),[_]);r.useImperativeHandle(t,I);var E=r.useState(d),S=E[0],R=E[1],H=void 0!==b,F=H?b:S,V=r.useCallback((function(e){var t=e.value;H||p||R(t),k&&!p&&(0,u.N)(k,e.syntheticEvent,I(),{value:t})}),[R,k,p]),D=r.useCallback((function(e){z&&!p&&(0,u.N)(z,e.syntheticEvent,I(),void 0)}),[z,p]),B=r.useMemo((function(){return(0,l.M)()}),[]),A=(0,h.A)("k-radio-list",{"k-list-horizontal":"horizontal"===v,"k-list-vertical":"vertical"===v||void 0===v},a),N=(0,jn.V)(C,n.dir),L=c&&c.map((function(e,t){var n=F===e.value,o=null==F,i=Un(Un({},e),{valid:y,checked:n,disabled:!(!e.disabled&&!p),labelPlacement:e.labelPlacement?e.labelPlacement:m,tabIndex:e.tabIndex?e.tabIndex:o&&0===t||n?0:-1,index:t,name:f||B,onChange:V,onFocus:D});return r.createElement(x,{className:(0,h.A)("k-radio-item",{"k-disabled":i.disabled||p}),key:t,role:"none"},r.createElement(Tn,Un({},i)))}));return r.createElement("ul",{role:"radiogroup",className:A,ref:C,dir:N,style:g,"aria-labelledby":o,"aria-describedby":i},L)})),qn={item:function(e){return r.createElement("li",Un({},e))}};Wn.propTypes={ariaLabelledBy:o.string,ariaDescribedBy:o.string,className:o.string,data:o.arrayOf(o.object),defaultValue:o.any,dir:o.string,disabled:o.bool,labelPlacement:o.string,layout:o.string,name:o.string,style:o.object,value:o.any,onChange:o.func,onFocus:o.func},Wn.defaultProps=qn,Wn.displayName="KendoRadioGroup";var $n=function(){return $n=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},$n.apply(this,arguments)},Gn=(0,a.Y)(),Yn=r.forwardRef((function(e,t){var n,o=(0,s.Y)(Gn,e),i=o,a=i.size,c=i.rounded,f=i.fillMode,m=i.ariaDescribedBy,v=i.ariaLabelledBy,g=i.autoSize,b=i.className,y=i.defaultValue,w=i.disabled,x=i.readOnly,k=i.required,z=i.rows,C=i.id,_=i.name,I=i.placeholder,E=i.style,S=i.tabIndex,M=i.value,O=i.valid,R=i.validationMessage,H=i.validityStyles,F=i.onChange,V=i.onFocus,D=i.onBlur,B=(i.visited,i.touched,i.modified,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}(i,["size","rounded","fillMode","ariaDescribedBy","ariaLabelledBy","autoSize","className","defaultValue","disabled","readOnly","required","rows","id","name","placeholder","style","tabIndex","value","valid","validationMessage","validityStyles","onChange","onFocus","onBlur","visited","touched","modified"])),A=r.useRef(null),N=r.useCallback((function(){A.current&&A.current.focus()}),[]),L=r.useState(y),P=L[0],T=L[1],j=void 0!==M,U=j?M:P,K=r.useCallback((function(){return{element:A,focus:N,get value(){return U},get name(){return A.current&&A.current.name}}}),[N,U]);r.useImperativeHandle(t,K);var W=r.useState("auto"),q=W[0],$=W[1],G=r.useMemo((function(){return(0,l.M)()}),[]),Y=(0,ht.n)(A,o.dir),X=void 0!==O?O:!k||!!U;r.useEffect((function(){A.current&&A.current.setCustomValidity&&A.current.setCustomValidity(X?"":R||"")}),[X,R]),r.useLayoutEffect((function(){A.current&&$("".concat(A.current.scrollHeight,"px"))}),[U]);var Z=r.useCallback((function(e){var t=e.target.value;$("auto"),j||w||T(t),F&&!w&&(0,u.N)(F,e,$n($n({},K()),{value:t}),{value:t})}),[T,F,w,j]),J=r.useCallback((function(e){V&&!w&&(0,u.N)(V,e,K(),void 0)}),[V,w]),Q=r.useCallback((function(e){D&&!w&&(0,u.N)(D,e,K(),void 0)}),[D,w]),ee=$n($n({id:C||G,role:"textbox",name:_,className:"k-input-inner !k-overflow-auto",ref:A,disabled:w,rows:z,placeholder:I,readOnly:x,required:k,tabIndex:(0,p.p)(S,w),style:g?{resize:"none",overflow:"hidden",height:q}:{},"aria-labelledby":v,"aria-describedby":m,"aria-multiline":!0,"aria-disabled":w||void 0,value:j?M:P},B),{onChange:Z,onFocus:J,onBlur:Q});return r.createElement("span",{className:(0,h.A)("k-input","k-textarea",(n={},n["k-input-".concat(d.G.sizeMap[a]||a)]=a,n["k-input-".concat(f)]=f,n["k-rounded-".concat(d.G.roundedMap[c]||c)]=c,n["k-invalid"]=!(X||void 0!==H||!0===H),n["k-required"]=k,n["k-disabled"]=w,n),b),style:E,dir:Y},r.createElement("textarea",$n({},ee)))}));Yn.propTypes={ariaDescribedBy:o.string,ariaLabelledBy:o.string,autoSize:o.bool,className:o.string,defaultValue:o.string,dir:o.string,disabled:o.bool,readOnly:o.bool,rows:o.number,id:o.string,name:o.string,placeholder:o.string,style:o.object,tabIndex:o.number,value:o.oneOfType([o.string,o.arrayOf(o.string),o.number]),onChange:o.func,onFocus:o.func,onBlur:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},Yn.displayName="KendoTextArea",Yn.defaultProps={size:"medium",rounded:"medium",fillMode:"solid"};var Xn=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=(0,ht.n)(o,e.dir);r.useImperativeHandle(n,(function(){return{element:o.current,props:e,value:e.value}})),r.useImperativeHandle(t,(function(){return n.current}));var a=r.useCallback((function(t){e.onClick&&e.onClick.call(void 0,{value:e.value,target:n.current,syntheticEvent:t})}),[e.onClick,e.value]),s=r.useCallback((function(t){e.onKeyDown&&e.onKeyDown.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onKeyDown]),l=r.useCallback((function(t){e.onFocus&&e.onFocus.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onFocus]),c=r.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onBlur]),u=r.useCallback((function(t){e.onMouseMove&&e.onMouseMove.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseMove]),d=r.useCallback((function(t){e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseEnter]),p=r.useCallback((function(t){e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseLeave]);return r.createElement("span",{id:e.id,ref:o,dir:i,"data-half":e.half,tabIndex:e.tabIndex,title:e.title,style:e.style,className:(0,h.A)("k-rating-item",{"k-rtl":"rtl"===i,"k-selected":e.selected,"k-hover":e.hovered},e.className),onClick:a,onKeyDown:s,onFocus:l,onBlur:c,onMouseEnter:d,onMouseLeave:p,onMouseMove:u},e.children)})),Zn={id:o.string,icon:o.any,dir:o.oneOf(["ltr","rtl"]),title:o.string,value:o.number,half:o.bool,selected:o.bool,hovered:o.bool};Xn.displayName="KendoReactRatingItem",Xn.propTypes=Zn,Xn.defaultProps={dir:"ltr"};var Jn,Qn=function(e,t){if(e%1){var n=Math.pow(10,(t.toString().split(".")[1]||t.toString().split(".")[0]).length);return Math.round(e*n)/n}return e},er=function(e,t,n){return Qn(e-n,n)<t&&t<e},tr=function(e,t,n,r){return null!==t&&("continues"===r?er(e,t,n)?Qn(e-n/2,n/2)<=t:e<=t:"single"===r&&(er(e,t,n)?Qn(e-n/2,n/2)===t:e===t))},nr=function(e,t,n){return"ltr"===e?n<t.x+t.width/2:n>t.x+t.width/2},rr=function(e,t,n,r){for(var o=e;o<=t;o+=n)if(r===o)return!0;return!1};!function(e){e.select="select",e.deselect="deselect",e.increase="increase",e.decrease="decrease",e.min="min",e.max="max",e.reset="reset"}(Jn||(Jn={}));var or,ir=function(e,t){switch(t.type){case Jn.select:return void 0===t.payload||void 0===t.step?e:t.payload===e?null:t.payload>=t.min?t.payload<t.max?Qn(t.payload,t.step):t.max:t.min;case Jn.deselect:return null;case Jn.increase:return void 0===t.step?e:e<t.min?t.min:e+t.step<t.max?Qn(e+t.step,t.step):t.max;case Jn.decrease:return void 0===t.step?e:Qn(e-t.step,t.step)>=t.min?Qn(e-t.step,t.step):t.min;case Jn.min:return void 0===t.step?e:t.min;case Jn.max:return t.max;case Jn.reset:return null;default:return e}},ar=function(){return ar=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},ar.apply(this,arguments)},sr=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1];return[i,function(e){var r=ir(t.state||i,ar(ar({},e),t));n&&n(r,e.event),a(r)}]},lr=(0,a.Y)(),cr=r.forwardRef((function(e,t){var n,o=(0,s.Y)(lr,e),a=(0,i.useLocalization)(),l=r.useRef(null),c=r.useRef(null),u=(0,ht.n)(c,o.dir);r.useImperativeHandle(l,(function(){return{element:c.current,props:o}})),r.useImperativeHandle(t,(function(){return l.current}));for(var d,f,m=r.useCallback((function(e,t){o.onChange&&l.current&&o.onChange.call(void 0,{value:e,target:l.current,syntheticEvent:t})}),[o.onChange]),v=r.useMemo((function(){return void 0!==o.min?o.min:hr.min}),[o.min]),g=r.useMemo((function(){return void 0!==o.max?o.max:hr.max}),[o.max]),b=r.useMemo((function(){return o.precision||hr.precision}),[o.precision]),y=r.useMemo((function(){return void 0!==o.step?o.step:hr.step}),[o.step]),w=r.useMemo((function(){return o.readonly||hr.readonly}),[o.readonly]),x=r.useMemo((function(){return o.disabled||hr.disabled}),[o.disabled]),k=r.useMemo((function(){return o.item||hr.item}),[o.item]),_=sr(o.defaultValue||hr.defaultValue,{state:o.value,min:v,max:g,step:"half"===b?y/2:y},m),I=_[0],E=_[1],S=sr(null,{state:o.value,min:v,max:g,step:"half"===b?y/2:y,precision:b}),M=S[0],O=S[1],R=r.useMemo((function(){return o.value||I}),[o.value,I]),H=r.useMemo((function(){return M}),[M]),F=r.useMemo((function(){return o.selection||hr.selection}),[o.selection]),V=r.useMemo((function(){return y/("half"===b?2:1)}),[y,b]),D=r.useCallback((function(e){if(e.target&&e.target.element&&!w&&!x){if("half"===b){var t=e.target.element.getBoundingClientRect(),n=nr(u||"ltr",t,e.syntheticEvent.clientX)?Qn(e.target.value-y/2,V):e.target.value;E({type:Jn.select,payload:n,event:e.syntheticEvent})}else E({type:Jn.select,payload:e.target.value,event:e.syntheticEvent});if(o.onClick){var r={value:R,target:l.current,syntheticEvent:e.syntheticEvent};o.onClick.call(void 0,r)}}}),[o.onClick,E,R]),B=r.useCallback((function(e){if(!w&&!x){switch(e.keyCode){case ut.R.right:e.preventDefault(),E({type:"rtl"===u?Jn.decrease:Jn.increase,event:e});break;case ut.R.left:e.preventDefault(),E({type:"rtl"===u?Jn.increase:Jn.decrease,event:e});break;case ut.R.home:e.preventDefault(),E({type:"rtl"===u?Jn.min:Jn.max,event:e});break;case ut.R.end:e.preventDefault(),E({type:"rtl"===u?Jn.max:Jn.min,event:e});break;case ut.R.esc:e.preventDefault(),E({type:Jn.deselect,event:e})}o.onKeyDown&&o.onKeyDown.call(void 0,{value:R,target:l.current,syntheticEvent:e})}}),[o.onKeyDown,E,R]),A=r.useCallback((function(e){if(o.onFocus){var t={target:l.current,syntheticEvent:e};o.onFocus.call(void 0,t)}}),[o.onFocus]),N=r.useCallback((function(e){if(o.onBlur){var t={target:l.current,syntheticEvent:e};o.onBlur.call(void 0,t)}}),[o.onBlur]),L=r.useCallback((function(e){if(e.target&&e.target.element)if("half"===b){var t=e.target.element.getBoundingClientRect(),n=nr(u||"ltr",t,e.syntheticEvent.clientX)?e.target.value-y/2:e.target.value;O({type:Jn.select,payload:n,event:e.syntheticEvent})}else O({type:Jn.select,payload:e.target.value,event:e.syntheticEvent})}),[b,y,u]),P=r.useCallback((function(e){O({type:Jn.reset,event:e.syntheticEvent})}),[]),T=[],j=(d=Qn(g-v,V))-(f=y)*Math.floor(d/f),U=v;U<=g;U=Qn(U+y,V)){var K=Qn(U+j,V),W="half"===b&&er(K,null!==H?H:null!==R?R:0,y),q=tr(K,R,y,F),$=tr(K,null!==H?H:R,y,F),G=tr(K,H,y,F);T.push(r.createElement(k,{key:K,value:K,dir:u,title:String(W?Qn(K-y/2,V):K),icon:o.icon,svgIcon:o.svgIcon,half:W,selected:q||$,hovered:G,onClick:D,onMouseMove:L,onMouseLeave:P},W&&r.createElement("span",{className:"k-rating-precision-complement",style:(n={width:"12px"},n["rtl"===u?"right":"left"]="50%",n)},!(o.icon||o.svgIconOutline)&&r.createElement(xt.a,{name:"star-outline",icon:z}),(o.icon||o.svgIconOutline)&&r.createElement(xt.a,{name:(0,Pt.iJ)("".concat(o.icon,"-outline")),icon:o.svgIconOutline})),W&&r.createElement("span",{className:"k-rating-precision-part",style:{width:"12px"}},!(o.icon||o.svgIcon)&&r.createElement(xt.a,{name:"star",icon:C}),(o.icon||o.svgIcon)&&r.createElement(xt.a,{name:o.icon?(0,Pt.iJ)(o.icon):void 0,icon:o.svgIcon})),W&&r.createElement("span",{style:{width:"24px",height:"24px",display:"block"}}),!W&&!(o.icon||o.svgIcon)&&(G||$&&!G)&&r.createElement(xt.a,{name:"star",icon:C})||!(o.icon||o.svgIcon)&&!G&&r.createElement(xt.a,{name:"star-outline",icon:z})||(o.icon||o.svgIcon)&&(G||$&&!G)&&r.createElement(xt.a,{name:o.icon,icon:o.svgIcon})||(o.icon||o.svgIcon)&&!G&&r.createElement(xt.a,{name:(0,Pt.iJ)("".concat(o.icon,"-outline")),icon:o.svgIconOutline})))}return r.createElement("span",{id:o.id,style:o.style,ref:c,role:"slider",dir:u,tabIndex:(0,p.p)(o.tabIndex,o.disabled,void 0),className:(0,h.A)("k-rating",{"k-rtl":"rtl"===u,"k-readonly":w,"k-disabled":x},o.className),onKeyDown:B,onFocus:A,onBlur:N,"aria-valuemin":v,"aria-valuemax":g,"aria-valuenow":null!==R?R:void 0,"aria-disabled":x?"true":void 0,"aria-label":a.toLanguageString(oe,le[oe]),"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy},r.createElement("input",{id:"rating",className:"k-hidden",readOnly:w,disabled:x}),r.createElement("span",{className:"k-rating-container"},T),o.label&&r.createElement("span",{className:"k-rating-label"},o.label))})),ur={id:o.string,dir:o.oneOf(["ltr","rtl"]),selection:o.oneOf(["continues","single"]),precision:o.oneOf(["item","half"]),value:function(e,t,n){return e.value&&e.min&&e.max&&e.step&&!("half"===e.precision?rr(e.min,e.max,e.step/2,e.value):rr(e.min,e.max,e.step,e.value))&&"half"===e.precision?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The value of the { value } property is not correct, please check your values.\n ")):null},defaultValue:o.number,min:o.number,max:o.number,step:function(e,t,n){return void 0!==e.step&&e.step<=0?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,'.\n The value of the { step } property is cannot be equal or less than "0", please check your values.\n ')):null},hovered:o.number,label:o.string,readonly:o.bool,disabled:o.bool,half:o.bool,icon:o.string,svgIcon:Pt.wi,svgIconOutline:Pt.wi,ariaDescribedBy:o.string},hr={dir:"ltr",min:1,max:5,step:1,item:Xn,defaultValue:null,readonly:!1,disabled:!1,selection:"continues",precision:"item"};cr.displayName="KendoReactRating",cr.propTypes=ur,cr.defaultProps=hr,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(or||(or={}));var dr=function(){function e(e,t,n){void 0===n&&(n=or.Undefined),this.value=e,this.rest=t,this.type=n}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '"+this.value+"', rest: "+this.rest+" })"},e}(),pr=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}(),fr=function(e){return(e||"").split("")},mr=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof pr?this.parse(e):this.parse(new pr(fr(e),fr(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===or.Literal},e}(),vr=function(e,t){return new mr((function(n){var r=n.next().char,o=e[r];return"\\"===r?(r=n.next().char,new dr(t.literal(r),n)):new dr(o?t.mask(o):t.literal(r),n)}))},gr=function(e){var t=e.prompt,n=e.promptPlaceholder;return new mr((function(e){var r=e.next().char;return new dr(r===t?n:r,e)}))},br=function(e){return new mr((function(t){var n=t.next().char;return new dr(e?n:"",t)}))},yr=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new mr((function(e){return new dr(t,e)}))));var t},wr=function(e){return new mr((function(t){for(var n=new dr([],t);!t.eof();)n=n.concat(e.run(t));return n}))},xr=(function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,r=e.prompt,o=void 0===r?"":r,i=e.promptPlaceholder,a=void 0===i?" ":i,s=e.rules,l=void 0===s?{}:s,c=e.includeLiterals,u=void 0!==c&&c;this.mask=n,this.prompt=o,this.promptPlaceholder=a,this.rules=l,this.includeLiterals=u,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return yr(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?(yr(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?(yr(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,r){var o="",i=r,a=t.split("").slice(0,n),s=t.split("").slice(r);return yr(this.maskTokens.slice(n,r)).run(e).fold((function(e){o=a.concat(e).concat(s).join("")})),{selection:i,value:o}},e.prototype.maskRemoved=function(e,t,n){var r=this,o="",i=n,a=e.split("").slice(n),s=e.split("").slice(0,n).join(""),l=this.maskTokens.length-(e.length-n);return yr(this.maskTokens.slice(0,l)).run(s,t).fold((function(e){i=r.adjustPosition(e,i),o=e.concat(a).join("")})),{selection:i,value:o}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var r=this,o="",i=n,a=e.slice(0,n);return yr(this.unmaskTokens).run(a,t).chain((function(e){i=e.join("").length;var n=t.slice(i);return yr(r.maskTokens).run(e.join("")+n,t)})).fold((function(e){o=e.join("")})),{selection:i,value:o}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return t=e,new mr((function(e){return e.peek().char===t?(e.eat(),new dr(t,e,or.Literal)):new dr(t,e,or.Literal)}));var t},mask:function(n){return function(e){var t=e.prompt,n=e.promptPlaceholder;return function(e){return new mr((function(r){for(;!r.eof();){var o=r.peek(),i=o.char,a=o.control;if(i===a&&a===t)return r.eat(),new dr(t,r,or.Mask);if(e.test(i))return r.eat(),new dr(i,r,or.Mask);if(i===n)return r.eat(),new dr(t,r,or.Mask);r.eat_input()}return r.eat(),new dr(t,r,or.Mask)}))}}({prompt:e,promptPlaceholder:t})(n)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return t=e,new mr((function(e){return e.eof()?new dr("",e):(e.peek().char===t&&e.eat(),new dr(t,e))}));var t},mask:function(t){return(n=e.prompt,function(e){return new mr((function(t){for(;!t.eof();){var r=t.peek(),o=r.char,i=r.control;if(o===n&&i===n)return t.eat(),new dr(o,t);if(e.test(o))return t.eat(),new dr(o,t);t.eat_input()}return t.eat(),new dr("",t)}))})(t);var n}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this,t=e.prompt,n=e.promptPlaceholder,r=e.includeLiterals;return{literal:function(e){return br(r)},mask:function(e){return gr({prompt:t,promptPlaceholder:n})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return br(!1)},mask:function(t){return gr({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;wr(vr(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),wr(vr(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),wr(vr(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),wr(vr(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))}}(),Be.drawing.util),kr=xr.elementOffset,zr=xr.limitValue,Cr=Be.geometry.Point,_r=Be.geometry.Rect,Ir=Be.geometry.transform,Er=function(){},Sr=function(){function e(e,t){void 0===t&&(t={}),this.element=e,this.lastMoveTime=0,this.options=Object.assign({scale:1,precision:1,samplingRate:200,smooth:!1!==t.smooth,color:t.color||"#000",backgroundColor:t.backgroundColor||"#fff",strokeWidth:1,onChange:Er,onDraw:Er,onDrawEnd:Er},t),this.pathOptions={stroke:{color:this.options.color,width:this.options.strokeWidth,lineCap:"round",lineJoin:"round"}},this.initSurface(),this.attachEvents()}return e.prototype.destroy=function(){this.detachEvents()},e.prototype.clear=function(){this.rootGroup.clear(),this.path=null},Object.defineProperty(e.prototype,"isDrawing",{get:function(){return Boolean(this.points)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pathData",{get:function(){var e;return null===(e=this.path)||void 0===e?void 0:e.toString(3)},set:function(e){this.clear(),this.path=Be.MultiPath.parse(e,this.pathOptions),this.rootGroup.append(this.path)},enumerable:!1,configurable:!0}),e.prototype.loadImage=function(e,t){if(void 0===t&&(t=[]),e){var n=this.size,r=n[0],o=n[1],i=r/this.options.scale,a=o/this.options.scale,s=t[0]||6*i,l=t[1]||6*a,c=i/s,u=a/l,h=Math.min(c,u),d=new Be.Image(e,new Be.geometry.Rect([0,0],[s,l]));d.transform(Ir().scale(h,h)),this.clear(),this.rootGroup.append(d)}else this.clear()},e.prototype.exportImage=function(e){var t,n=this.size,r=n[0],o=n[1],i=r/this.options.scale,a=o/this.options.scale,s=(null==e?void 0:e.width)||6*i,l=(null==e?void 0:e.height)||6*a,c=s/i,u=l/a,h=Math.min(c,u),d=new _r([0,0],[s,l]),p=new Be.Group({clip:Be.Path.fromRect(d)}),f=new Be.Group({transform:Ir().scale(h,h)}),m=Be.Path.fromRect(d,{fill:{color:this.options.backgroundColor}});return p.append(m),p.append(f),(t=f.children).push.apply(t,this.rootGroup.children),(0,Be.exportImage)(p,Object.assign({width:s,height:l},e))},e.prototype.resize=function(){this.surface.resize(!0)},e.prototype.setOptions=function(e){Object.assign(this.options,e),this.pathOptions.stroke.color=this.options.color,this.pathOptions.stroke.width=this.options.strokeWidth,this.path&&(this.path.options.set("stroke.color",this.options.color),this.path.options.set("stroke.width",this.options.strokeWidth)),this.background.options.set("fill.color",this.options.backgroundColor)},e.prototype.initSurface=function(){this.surface=Be.Surface.create(this.element,{type:"canvas"}),this.element.style.touchAction="none";var e=this.options.scale;this.rootGroup=new Be.Group({transform:Ir().scale(e,e)});var t=this.element.offsetWidth||750,n=this.element.offsetHeight||250;this.size=[t,n],this.background=Be.Path.fromRect(new _r([0,0],this.size),{fill:{color:this.options.backgroundColor}}),this.surface.draw(this.background),this.surface.draw(this.rootGroup)},e.prototype.attachEvents=function(){this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.element.addEventListener("pointerdown",this.onPointerDown),this.element.addEventListener("pointermove",this.onPointerMove),this.element.addEventListener("pointerup",this.onPointerUp)},e.prototype.detachEvents=function(){this.element.removeEventListener("pointerdown",this.onPointerDown),this.element.removeEventListener("pointermove",this.onPointerMove),this.element.removeEventListener("pointerup",this.onPointerUp)},e.prototype.touchPoint=function(e){var t=kr(this.element),n=e.pageX,r=e.pageY,o=1/this.options.scale;return new Cr(n-t.left,r-t.top).scale(o,o)},e.prototype.onPointerDown=function(e){if(!this.options.readonly&&e.isPrimary&&function(e){return"number"!=typeof e.button||0===e.button}(e)){this.path||(this.path=new Be.MultiPath(this.pathOptions),this.rootGroup.append(this.path)),this.options.onDraw(),this.element.setPointerCapture(e.pointerId);var t=this.touchPoint(e);this.points=[t],this.path.moveTo(t)}},e.prototype.onPointerMove=function(e){if(this.points&&e.isPrimary){var t=(new Date).getTime();if(!(t-this.lastMoveTime<1e3/zr(this.options.samplingRate,1,1e4))){this.lastMoveTime=t;var n=this.touchPoint(e),r=this.points[this.points.length-1],o=1/zr(this.options.precision,.01,100);n.distanceTo(r)<o||(this.points.push(n),this.path.lineTo(n))}}},e.prototype.onPointerUp=function(e){if(e.isPrimary&&this.path&&this.points&&!this.options.readonly){if(this.options.smooth){var t=Be.Path.curveFromPoints(this.points);this.path.paths.splice(this.path.paths.length-1,1,t)}this.points=null,this.options.onDrawEnd(),this.options.onChange(this.pathData)}},e}(),Mr=n(994);const Or={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"};var Rr=function(e){var t=e.children,n=e.onCloseButtonClick,o=e.id,i=e.closeIcon;return r.createElement("div",{className:"k-window-titlebar k-dialog-titlebar",id:o},r.createElement("div",{className:"k-window-title k-dialog-title"},t),r.createElement("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions"},i&&r.createElement(Re.z,{role:"button","aria-label":"Close",onClick:n,icon:"x",svgIcon:Or,fillMode:"flat",className:"k-window-titlebar-action k-dialog-titlebar-action"})))},Hr=function(e){var t,n=e.layout,o=void 0===n?Fr.layout:n,i=e.children,a=(0,h.A)("k-actions","k-actions-horizontal","k-window-actions k-dialog-actions",((t={})["k-actions-".concat(o)]=o,t));return r.createElement("div",{className:a},i)};Hr.propTypes={children:o.any,layout:o.oneOf(["start","center","end","stretched"])};var Fr={layout:"stretched"},Vr=n(8259),Dr=n(7827),Br={name:"@progress/kendo-react-dialogs",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684155103,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},Ar="data-windowid",Nr=function(e,t,n){var r=e;if(t&&t.defaultView){var o=t.querySelectorAll(".k-window:not(.k-dialog), .k-dialog-wrapper"),i=!1;return o.forEach((function(e){var o=t.defaultView.getComputedStyle(e,null);if(e.getAttribute(Ar)!==n&&null!==o.zIndex){var a=parseInt(o.zIndex,10);a>=r&&(r=a,i=!0)}})),i?r+2:r}return r},Lr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pr=function(){return Pr=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},Pr.apply(this,arguments)},Tr=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n._id=(0,l.M)(),n.titleId=n.generateTitleId(),n.contentId=n.generateContentId(),n.onCloseDialog=function(e){e.preventDefault(),(0,u.N)(n.props.onClose,e,n,void 0)},n.onKeyDown=function(e){e.keyCode===ut.R.esc&&n.props.onClose&&(e.preventDefault(),n.onCloseDialog(e));var t=n.element;if(t&&e.keyCode===ut.R.tab){var r=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),o=r[0],i=r[r.length-1],a=n.getDocument();e.shiftKey?(a&&a.activeElement===o||a&&a.activeElement===n.element)&&(i.focus(),e.preventDefault()):a&&a.activeElement===i&&(o.focus(),e.preventDefault())}},n.getCurrentZIndex=function(){return n.state&&void 0!==n.context?n.state.zIndex>(n.context?n.context+2:0)?n.state.zIndex:n.context+2:n.context?n.context:10002},n.getDocument=function(){return n.props.appendTo?n.props.appendTo.ownerDocument:document},(0,M.s)(Br),n.state={zIndex:Nr(n.getCurrentZIndex(),n.getDocument(),n._id)},n}return Lr(t,e),t.prototype.componentDidMount=function(){this.element&&this.props.autoFocus&&this.element.focus()},t.prototype.render=function(){var e,t,n=this,o=void 0!==this.props.id?this.props.id:this.titleId,i=this.props,a=i.title,s=i.width,l=i.height,c=i.children,u=i.minWidth,d=i.dir,p=i.style,f=i.contentStyle,m=r.Children.toArray(c),v=this.getContent(m),g=this.getActionBar(m),b=a?{"aria-labelledby":o}:null,y=void 0===this.props.closeIcon||this.props.closeIcon,w=this.getCurrentZIndex(),x=r.createElement(Vr.$.Provider,{value:w},r.createElement("div",Pr({},((e={})[Ar]=this._id,e),{className:"k-dialog-wrapper"+(this.props.className?" "+this.props.className:""),onKeyDown:this.onKeyDown,tabIndex:0,dir:d,style:Pr({zIndex:w},p),ref:function(e){return n.element=e}}),r.createElement("div",{className:"k-overlay"}),r.createElement("div",Pr({},b,{className:(0,h.A)("k-window k-dialog",(t={},t["k-window-".concat(this.props.themeColor)]=this.props.themeColor,t)),role:"dialog","aria-labelledby":o,"aria-modal":!0,"aria-describedby":this.contentId,style:{width:s,height:l,minWidth:u}}),this.props.title&&r.createElement(Rr,{closeIcon:y,onCloseButtonClick:this.onCloseDialog,id:o},a),r.createElement("div",{className:"k-window-content k-dialog-content",style:f,id:this.contentId},v),g)));return Dr.N?null!==this.props.appendTo?Mr.createPortal(x,this.props.appendTo||document.body):x:null},t.prototype.getActionBar=function(e){return e.filter((function(e){return e&&e.type===Hr}))},t.prototype.getContent=function(e){return e.filter((function(e){return e&&e.type!==Hr}))},t.prototype.generateTitleId=function(){return"dialog-title"+this._id},t.prototype.generateContentId=function(){return"dialog-content"+this._id},t.displayName="Dialog",t.propTypes={title:o.any,id:o.string,dir:o.string,style:o.object,closeIcon:o.bool,width:o.oneOfType([o.number,o.string]),height:o.oneOfType([o.number,o.string]),minWidth:o.oneOfType([o.number,o.string]),autoFocus:o.bool},t.defaultProps={autoFocus:!1},t.contextType=Vr.$,t}(r.Component),jr=(0,a.Y)(),Ur=(0,a.u)(jr,Tr);Ur.displayName="KendoReactDialog";var Kr=function(){return Kr=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},Kr.apply(this,arguments)},Wr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},qr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},$r=function(e){return void 0!==e},Gr=(0,a.Y)(),Yr=r.forwardRef((function(e,t){var n;(0,M.s)(O.k);var o=(0,s.Y)(Gr,e),a=(0,i.useLocalization)(),l=r.useRef(null),c=r.useRef(null),f=r.useRef(null),m=r.useRef(null),v=r.useRef(null),g=r.useState(),b=g[0],y=g[1],w=r.useState(!1),z=w[0],C=w[1],_=r.useState(!1),I=_[0],E=_[1],S=r.useState(),R=S[0],H=S[1],F=r.useState(),V=F[0],D=F[1],B=$r(o.value)?o.value:R,A=r.useState(!1),N=A[0],L=A[1],P=$r(o.open),T=P?o.open:N,j=!(o.maximized||I||!o.maximizable||o.disabled),U=o.maximized&&!I,K=!(!o.value&&!R||I||o.readOnly||o.disabled),W=a.toLanguageString(ae,le[ae]),q=a.toLanguageString(se,le[se]),$=a.toLanguageString(ie,le[ie]),G=o.popupScale||3,Y=o.exportScale||2,X=function(e){H(e),o.onChange&&o.onChange({value:e})};r.useEffect((function(){o.value!==R&&(H(o.value),null==b||b.loadImage(o.value))}),[o.value]);var Z=r.useCallback((function(e){P||L(e)}),[P]),J=r.useCallback((function(){var e="#000000";return!o.color&&"undefined"!=typeof document&&l.current&&(e=getComputedStyle(l.current).color),o.color||e}),[o.color]),Q=r.useCallback((function(){var e="#ffffff";return!o.backgroundColor&&"undefined"!=typeof document&&l.current&&(e=getComputedStyle(l.current).backgroundColor),o.backgroundColor||e}),[o.backgroundColor]),ee=function(){return{scale:o.maximized?o.popupScale:1,color:J(),backgroundColor:Q(),strokeWidth:o.strokeWidth,smooth:o.smooth,readonly:o.readOnly}},te=function(e){return Wr(void 0,void 0,void 0,(function(){var t,n;return qr(this,(function(r){switch(r.label){case 0:return t=e.width,n=e.height,[4,null==b?void 0:b.exportImage({width:t*Y,height:n*Y})];case 1:return[2,r.sent()]}}))}))};r.useEffect((function(){var e=c.current,t=new Sr(e,ee());return B&&t.loadImage(B),y(t),function(){return t.destroy()}}),[]),r.useEffect((function(){null==b||b.setOptions({onChange:function(){return Wr(void 0,void 0,void 0,(function(){var e;return qr(this,(function(t){switch(t.label){case 0:return e=X,[4,te(be())];case 1:return[2,e.apply(void 0,[t.sent()])]}}))}))},onDraw:function(){return E(!0)},onDrawEnd:function(){return E(!1)}})}),[b]),r.useLayoutEffect((function(){return null==b?void 0:b.setOptions(ee())}),[o.readOnly,o.color,o.backgroundColor,o.strokeWidth,o.smooth]),r.useEffect((function(){var e,t,n=null===(t=null===(e=f.current)||void 0===e?void 0:e.element)||void 0===t?void 0:t.querySelector(".k-overlay");if(n){var r=function(){return Z(!1)};return n.addEventListener("click",r),function(){return n.removeEventListener("click",r)}}}),[T]),r.useEffect((function(){if(T&&"undefined"!=typeof document){var e=function(e){e.keyCode===ut.R.esc&&Z(!1)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}}),[T]),r.useEffect((function(){var e,t;o.maximized&&(null===(t=null===(e=m.current)||void 0===e?void 0:e.element)||void 0===t||t.focus())}),[]);var ne=r.useCallback((function(){var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}),[]),re=r.useCallback((function(){return o.value}),[o.value]),oe=r.useCallback((function(){return o.name}),[o.name]),ce=r.useCallback((function(){return o.required}),[o.required]),ue=r.useCallback((function(){var e=void 0!==o.validationMessage,t=!re();return{customError:e,valid:void 0!==o.valid?o.valid:!ce()||!t,valueMissing:t}}),[o.validationMessage,o.valid,re,ce]),he=r.useCallback((function(){return o.validityStyles}),[o.validityStyles]),de=r.useCallback((function(){return o}),[o]),pe=r.useCallback((function(){var e={element:l.current,focus:ne};return Object.defineProperty(e,"name",{get:oe}),Object.defineProperty(e,"value",{get:re}),Object.defineProperty(e,"validity",{get:ue}),Object.defineProperty(e,"validityStyles",{get:he}),Object.defineProperty(e,"required",{get:ce}),Object.defineProperty(e,"props",{get:de}),Object.defineProperty(e,"color",{get:J}),Object.defineProperty(e,"backgroundColor",{get:Q}),e}),[oe,re,ue,he,ce,ne,de,J,Q]);r.useImperativeHandle(t,pe);var fe=r.useCallback((function(e){z||o.maximized||(C(!0),(0,u.N)(o.onFocus,e,pe(),{}))}),[z,o.onFocus,pe]),me=r.useCallback((function(e){(function(e,t){for(var n=e;n&&n!==t;)n=n.parentNode;return!!n})(e.relatedTarget,l.current)||(C(!1),(0,u.N)(o.onBlur,e,pe(),{}))}),[z,o.onBlur,pe]),ve=r.useCallback((function(e){return Wr(void 0,void 0,void 0,(function(){var t;return qr(this,(function(n){switch(n.label){case 0:return t=D,[4,te(ye())];case 1:return t.apply(void 0,[n.sent()]),Z(!0),(0,u.N)(o.onOpen,e,pe(),{}),[2]}}))}))}),[T,P,o.onOpen,o.value,R,pe]),ge=r.useCallback((function(e){Z(!1),(0,u.N)(o.onClose,e,pe(),{})}),[T,P,o.onClose,pe]),be=function(){var e,t;return{width:o.width||(null===(e=l.current)||void 0===e?void 0:e.offsetWidth)||250,height:o.height||(null===(t=l.current)||void 0===t?void 0:t.offsetHeight)||84}},ye=function(){var e=be(),t=e.width,n=e.height;return{width:t*G,height:n*G}},we=!he()||ue().valid;return r.createElement("div",{ref:l,dir:o.dir,style:Kr({width:o.width,height:o.height},o.style),className:(0,h.A)("k-input","k-signature",(n={"k-signature-maximized":o.maximized},n["k-signature-".concat(d.G.sizeMap[o.size]||o.size)]=o.size,n["k-input-".concat(o.fillMode)]=o.fillMode,n["k-rounded-".concat(d.G.roundedMap[o.rounded]||o.rounded)]=o.rounded,n["k-invalid"]=!we,n["k-required"]=o.required,n["k-disabled"]=o.disabled,n["k-focus"]=z,n),o.className),onFocus:fe,onBlur:me},r.createElement("div",{className:"k-signature-canvas",ref:c,tabIndex:(0,p.p)(o.tabIndex,o.disabled),role:"img",id:o.id,"aria-label":o.ariaLabel,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,"aria-disabled":o.disabled?"true":void 0}),r.createElement("div",{className:"k-signature-actions k-signature-actions-top"},j&&r.createElement(Re.z,{className:"k-signature-action k-signature-maximize",ref:v,icon:"hyperlink-open",svgIcon:k,fillMode:"flat",size:o.size,onClick:ve,"aria-label":W,title:W}),U&&r.createElement(Re.z,{className:"k-signature-action k-signature-minimize k-rotate-180",ref:m,icon:"hyperlink-open",svgIcon:k,fillMode:"flat",size:o.size,onClick:ge,"aria-label":q,title:q})),!o.hideLine&&r.createElement("div",{className:"k-signature-line",style:{zIndex:2,pointerEvents:"none"}}),r.createElement("div",{className:"k-signature-actions k-signature-actions-bottom"},K&&r.createElement(Re.z,{className:"k-signature-action k-signature-clear",icon:"x",svgIcon:x,fillMode:"flat",size:o.size,onClick:function(){null==b||b.clear(),X(),ne()},"aria-label":$,title:$})),T&&r.createElement(Ur,{ref:f},r.createElement(Yr,Kr({},o,ye(),{value:V,maximized:!0,exportScale:1/G*Y,open:!1,onChange:function(e){null==b||b.loadImage(e.value),X(e.value)},onClose:function(e){var t,n;ge(e),null===(n=(null===(t=v.current)||void 0===t?void 0:t.element)||c.current)||void 0===n||n.focus()}}))))}));Yr.propTypes={value:o.string,width:o.number,height:o.number,tabIndex:o.number,dir:o.string,ariaDescribedBy:o.string,ariaLabelledBy:o.string,ariaLabel:o.string,readOnly:o.bool,disabled:o.bool,validationMessage:o.string,required:o.bool,onChange:o.func,onFocus:o.func,onBlur:o.func,onOpen:o.func,onClose:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large"]),fillMode:o.oneOf([null,"solid","flat","outline"])},Yr.displayName="KendoSignature",Yr.defaultProps={strokeWidth:1,smooth:!1,popupScale:3,exportScale:2,maximizable:!0,disabled:!1,required:!1,validityStyles:!0,onChange:function(e){return On.Z},onFocus:function(e){return On.Z},onBlur:function(e){return On.Z},onOpen:function(e){return On.Z},onClose:function(e){return On.Z},size:"medium",rounded:"medium",fillMode:"solid"};var Xr=n(4071),Zr=function(){return Zr=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},Zr.apply(this,arguments)},Jr=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("span",Zr({},e,{className:(0,h.A)("k-clear-value",e.className)}))}));Jr.displayName="KendoReactInputClearValue";var Qr=n(6183),eo=function(){return eo=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},eo.apply(this,arguments)},to=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("span",eo({},e,{className:(0,h.A)("k-input-separator",e.className)}))}));to.displayName="KendoReactInputSeparator";var no=function(){return no=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},no.apply(this,arguments)},ro=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("span",no({},e,{className:(0,h.A)("k-input-suffix",e.className)}))}));ro.displayName="KendoReactInputSuffix";var oo=function(){return oo=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},oo.apply(this,arguments)},io=r.forwardRef((function(e,t){return r.createElement(xt.a,oo({ref:t},e,{className:(0,h.A)("k-input-validation-icon",e.className)}))}));io.displayName="KendoReactInputValidationIcon"},2009:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-inputs",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684155188,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},4071:(e,t,n)=>{"use strict";n.d(t,{z:()=>d});var r=n(3899),o=n(189),i=n(4006),a=n(9447),s=n(6059),l=n(8047),c=n(2697),u=n(2009),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)},d=r.forwardRef((function(e,t){var n;(0,i.s)(u.k);var o=r.useRef(null),d=r.useRef(null),f=r.useRef(),m=r.useCallback((function(){var e;return void 0!==f.current?f.current:null===(e=o.current)||void 0===e?void 0:e.value}),[]);r.useImperativeHandle(d,(function(){var e={element:o.current};return Object.defineProperty(e,"value",{get:m}),e})),r.useImperativeHandle(t,(function(){return d.current}));var v=e,g=v.size,b=v.fillMode,y=v.rounded,w=v.className,x=v.dir,k=v.style,z=v.prefix,C=void 0===z?p.prefix:z,_=v.suffix,I=void 0===_?p.suffix:_,E=(v.valid,v.modified,v.touched,v.visited,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}(v,["size","fillMode","rounded","className","dir","style","prefix","suffix","valid","modified","touched","visited"])),S=(0,a.A)(C)[0],M=(0,a.A)(I)[0],O=r.useState(!1),R=O[0],H=O[1],F=r.useCallback((function(t){f.current=t.target.value,e.onChange&&e.onChange.call(void 0,{syntheticEvent:t,nativeEvent:t.nativeEvent,value:t.target.value,target:d.current}),f.current=void 0}),[e.onChange]),V=(0,s.U)({onFocus:function(e){H(!0)},onBlur:function(e){H(!1)},onSyncFocus:e.onFocus,onSyncBlur:e.onBlur}),D=V.onFocus,B=V.onBlur;return r.createElement("span",{style:k,dir:x,className:(0,l.A)("k-textbox k-input",(n={},n["k-input-".concat(c.G.sizeMap[g]||g)]=g,n["k-input-".concat(b)]=b,n["k-rounded-".concat(c.G.roundedMap[y]||y)]=y,n),{"k-focus":R,"k-required":e.required,"k-disabled":e.disabled,"k-invalid":!1===e.valid},w),onFocus:D,onBlur:B},r.createElement(S,null),r.createElement("input",h({ref:o,className:"k-input-inner"},E,{onChange:F})),r.createElement(M,null))})),p={prefix:function(e){return null},suffix:function(e){return null},size:"medium",rounded:"medium",fillMode:"solid"};d.propTypes={size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},d.displayName="KendoReactTextBoxComponent",d.defaultProps=p},6097:(e,t,n)=>{"use strict";n.d(t,{_:()=>d});var r,o=n(3899),i=n(189),a=n(8047),s=n(499),l=n(2609),c=n(4006),u=n(8011),h=(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(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)}),d=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1},n.handleFocus=function(e){n.setState({focused:!0})},n.handleBlur=function(e){n.setState({focused:!1})},(0,c.s)(u.k),n}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.editorId,r=e.className,i=e.editorValue,c=e.editorPlaceholder,u=e.editorValid,h=e.editorDisabled,d=e.style,p=e.id,f=e.optional,m=(0,s.provideLocalizationService)(this),v=f?m.toLanguageString(l.y,l.s[l.y]):"",g=v&&o.createElement("span",{className:"k-label-optional"},v),b=(0,a.A)({"k-floating-label-container":!0,"k-focus":this.state.focused,"k-empty":!c&&!i&&0!==i,"k-text-disabled":h,"k-rtl":"rtl"===this.props.dir},r),y=(0,a.A)({"k-label":!0,"k-text-error":!1===u,"k-text-disabled":h});return o.createElement("span",{id:this.props.id,className:b,onFocus:this.handleFocus,onBlur:this.handleBlur,style:d,dir:this.props.dir},this.props.children,t?n?o.createElement("label",{id:p,htmlFor:n,className:y},t,g):o.createElement("span",{id:p,className:y},t,g):null)},t.propTypes={label:i.string,editorId:i.string,editorValue:i.oneOfType([i.string,i.bool,i.number]),editorPlaceholder:i.string,editorValid:i.bool,editorDisabled:i.bool,id:i.string,style:i.object,className:i.string,optional:i.bool},t}(o.Component);(0,s.registerForLocalization)(d)},2609:(e,t,n)=>{"use strict";var r;n.d(t,{y:()=>o,s:()=>i});var o="labels.optional",i=((r={})[o]="(Optional)",r)},8011:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-labels",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684154881,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},3162:(e,t,n)=>{"use strict";n.d(t,{V:()=>g});var r,o=n(3899),i=n(189),a=n(4343),s=n(4006),l=n(6604),c=n(8047),u=n(8206),h=n(4312),d=n(1205),p=n(4390),f=n(7999),m=(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(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)}),v=function(){return v=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},v.apply(this,arguments)},g=function(e){function t(t){var n=e.call(this,t)||this;return n.actionSheetRef=o.createRef(),n.actionSheetTitleClass="k-actionsheet-title",n.ariaLabeledBy=n.actionSheetTitleClass+1,n.animationDuration=300,n.bottomPosition={bottom:"0",width:"100%"},n.handleKeyDown=function(e){n.props.navigatable&&n.navigation.triggerKeyboardEvent(e)},n.onTab=function(e,t,n){n.preventDefault(),n.shiftKey?t.focusPrevious(e):t.focusNext(e)},n.handleOverlayClick=function(e){n.props.onOverlayClick&&n.props.onOverlayClick.call(void 0,e),n.props.onClose&&n.props.onClose.call(void 0,e),n.props.animation||n.hideActionSheet()},n.handleItemClick=function(e){n.props.onItemClick&&n.props.onItemClick.call(void 0,e),n.props.onItemSelect&&n.props.onItemSelect.call(void 0,e),n.props.animation||n.hideActionSheet()},n.onEnter=function(e,t,r){if(!e.ariaDisabled){var o=e.className&&-1!==e.className.indexOf("k-actionsheet-item"),i=t.elements.filter((function(e){return-1!==e.className.indexOf("k-actionsheet-item")}));if(o&&n.props.onItemClick){r.preventDefault();var a=n.props.items[i.indexOf(e)];n.props.onItemClick.call(void 0,{syntheticEvent:r,item:a,title:a&&a.title})}o&&n.props.onItemSelect&&(r.preventDefault(),a=n.props.items[i.indexOf(e)],n.props.onItemSelect.call(void 0,{syntheticEvent:r,item:a,title:a&&a.title})),n.props.animation||n.hideActionSheet()}},n.onEscape=function(e,t,r){n.props.onOverlayClick&&(r.preventDefault(),n.props.onOverlayClick.call(void 0,r)),n.props.onClose&&(r.preventDefault(),n.props.onClose.call(void 0,r)),n.props.animation||n.hideActionSheet()},n.hideActionSheet=function(){n.setState({show:!1})},n.children=function(e){var t={};return o.Children.forEach(e,(function(e){e&&(t[e.type.displayName]=e)})),t},n.state={show:!1,slide:!1},(0,s.s)(u.k),n}return m(t,e),t.prototype.componentDidMount=function(){this.props.expand&&!this.state.show&&this.setState({show:!0})},t.prototype.componentDidUpdate=function(e,t){var n=this,r=this.actionSheetRef.current;if(this.props.expand&&!this.state.show&&this.setState({show:!0}),this.props.expand&&this.state.show&&!this.state.slide&&this.setState({slide:!0}),!this.props.expand&&this.state.show&&this.state.slide&&this.setState({slide:!1}),t!==this.state&&this.state.slide&&r&&!this.props.className&&(r.style.setProperty("--kendo-actionsheet-height","auto"),r.style.setProperty("--kendo-actionsheet-max-height","none")),r&&this.props.navigatable){var o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([".k-actionsheet-item"],[".k-actionsheet-footer",".k-actionsheet-content",".k-actionsheet-titlebar"].map((function(e){return l.x.concat(n.props.navigatableElements).map((function(t){return"".concat(e," ").concat(t)}))})).flat(),!0);this.navigation=new l.W({tabIndex:this.props.tabIndex||0,root:this.actionSheetRef,rovingTabIndex:!1,selectors:o,keyboardEvents:{keydown:{Tab:this.onTab,Enter:this.onEnter,Escape:this.onEscape}}}),this.navigation.focusElement(this.navigation.first,null)}},t.prototype.render=function(){var e=this,t=this.props,n=t.title,r=t.subTitle,i=t.animationStyles,s=t.animation,l=t.expand,u=t.tabIndex,m=t.items,g=null==m?void 0:m.filter((function(e){return!e.group||"top"===e.group})),b=null==m?void 0:m.filter((function(e){return"bottom"===e.group})),y=g&&g.length>0&&b&&b.length>0,w=this.children(this.props.children),x=this.props.animationDuration||this.animationDuration,k=this.state.slide&&o.createElement("div",{className:(0,c.A)("k-actionsheet",this.props.className,{"k-actionsheet-bottom":!this.props.className}),role:"dialog","aria-modal":"true","aria-hidden":!1,"aria-labelledby":this.ariaLabeledBy,ref:this.actionSheetRef,onKeyDown:this.handleKeyDown},w[d.w]&&!n&&!r&&w[d.w],(n||r)&&o.createElement("div",{className:"k-actionsheet-titlebar k-text-center"},o.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},o.createElement("div",{className:this.actionSheetTitleClass,id:this.ariaLabeledBy},n&&o.createElement("div",null,n),r&&o.createElement("div",{className:"k-actionsheet-subtitle"},r)))),w[f.y]||o.createElement("div",{className:"k-actionsheet-content"},o.createElement("div",{className:"k-list-ul",role:"group"},g&&g.map((function(t,n){return o.createElement(h.Q,v({},t,{id:n,key:n,item:t,tabIndex:u||0,onClick:e.handleItemClick}))}))),y&&o.createElement("hr",{className:"k-hr"}),o.createElement("div",{className:"k-list-ul",role:"group"},b&&b.map((function(t,n){return o.createElement(h.Q,v({},t,{id:n+((null==g?void 0:g.length)||0),key:n,item:t,tabIndex:u||0,onClick:e.handleItemClick}))})))),w[p.g]);return o.createElement(o.Fragment,null,l||this.state.show?o.createElement(o.Fragment,null,o.createElement("div",{className:"k-actionsheet-container"},o.createElement("div",{className:"k-overlay",onClick:this.handleOverlayClick}),s?o.createElement(a.f,{transitionName:this.state.slide?"slide-up":"slide-down",onExited:this.hideActionSheet,transitionEnterDuration:x,transitionExitDuration:x,animationEnteringStyle:i||this.bottomPosition,animationEnteredStyle:i||this.bottomPosition,animationExitingStyle:i||this.bottomPosition,exit:!0,enter:!0,appear:!1},k):k)):null)},t.displayName="KendoReactActionSheet",t.propTypes={items:i.array,subTitle:i.string,title:i.string,navigatable:i.bool,navigatableElements:i.array},t.defaultProps={navigatable:!0,navigatableElements:[]},t}(o.Component)},7999:(e,t,n)=>{"use strict";n.d(t,{y:()=>a,M:()=>s});var r=n(3899),o=n(189),i=n(8047),a="ActionSheetContent",s=function(e){return r.createElement("div",{className:(0,i.A)("k-actionsheet-content",e.className)},e.children)};s.propTypes={className:o.string},s.displayName=a,s.propTypes={children:o.any}},4390:(e,t,n)=>{"use strict";n.d(t,{g:()=>a,K:()=>s});var r=n(3899),o=n(189),i=n(8047),a="ActionSheetFooter",s=function(e){return r.createElement("div",{className:(0,i.A)("k-actionsheet-footer",e.className)},e.children)};s.propTypes={className:o.string},s.displayName=a,s.propTypes={children:o.any}},1205:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,n:()=>s});var r=n(3899),o=n(189),i=n(8047),a="ActionSheetHeader",s=function(e){return r.createElement("div",{className:(0,i.A)("k-actionsheet-titlebar",e.className)},e.children)};s.propTypes={className:o.string},s.displayName=a,s.propTypes={children:o.any}},4312:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(3899),o=n(189),i=n(8047),a=function(e){var t=r.useRef(null),n=r.useCallback((function(t){e.onClick&&e.onClick.call(void 0,{syntheticEvent:t,item:e.item,title:e.title})}),[e.item,e.title,e.onClick]);return r.useEffect((function(){t.current&&e.focused&&t.current.focus()}),[e.focused]),r.createElement("span",{style:e.style,tabIndex:e.tabIndex,className:(0,i.A)("k-actionsheet-item","k-cursor-pointer",e.disabled&&"k-disabled",e.className),ref:t,role:"button","aria-disabled":e.disabled,onClick:n},r.createElement("span",{className:"k-actionsheet-action"},e.icon&&r.createElement("span",{className:"k-icon-wrap"},e.icon),(e.title||e.description)&&r.createElement("span",{className:"k-actionsheet-item-text"},e.title&&r.createElement("span",{className:"k-actionsheet-item-title"},e.title),e.description&&r.createElement("span",{className:"k-actionsheet-item-description"},e.description))))};a.propTypes={className:o.string,style:o.object,description:o.string,disabled:o.bool,group:o.oneOf(["top","bottom"]),icon:o.element,title:o.string}},6861:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ActionSheet:()=>Xn.V,ActionSheetContent:()=>Qn.M,ActionSheetFooter:()=>er.K,ActionSheetHeader:()=>Jn.n,ActionSheetItem:()=>Zn.Q,AppBar:()=>sn,AppBarSection:()=>cn,AppBarSpacer:()=>un,Avatar:()=>Dt,BottomNavigation:()=>En,BottomNavigationItem:()=>_n,Breadcrumb:()=>$n,BreadcrumbDelimiter:()=>Pn,BreadcrumbLink:()=>jn,BreadcrumbListItem:()=>Nn,BreadcrumbOrderedList:()=>Kn,Card:()=>It,CardActions:()=>Ot,CardBody:()=>Mt,CardFooter:()=>Ft,CardHeader:()=>Et,CardImage:()=>Rt,CardSubtitle:()=>Ht,CardTitle:()=>St,ContextMenu:()=>nr,Drawer:()=>Wt,DrawerContent:()=>qt,DrawerItem:()=>Lt,DrawerNavigation:()=>Ut,ExpansionPanel:()=>or,ExpansionPanelContent:()=>ar,GridLayout:()=>Vn,GridLayoutItem:()=>An,Menu:()=>mt,MenuItem:()=>Ze,MenuItemArrow:()=>q,MenuItemInternalsList:()=>X,MenuItemLink:()=>R,PanelBar:()=>Ge,PanelBarItem:()=>Re,PanelBarUtils:()=>Te,Splitter:()=>Ct,SplitterBar:()=>ee,SplitterPane:()=>gt,StackLayout:()=>Rn,Step:()=>tn,Stepper:()=>on,TabStrip:()=>Ce,TabStripContent:()=>ye,TabStripNavigation:()=>he,TabStripNavigationItem:()=>re,TabStripTab:()=>Ie,TileLayout:()=>kn,contentDisplayName:()=>Qn.y,downArrowName:()=>U,flatChildren:()=>Le,flatVisibleChildren:()=>Pe,flatVisibleItems:()=>Ne,footerDisplayName:()=>er.g,getFirstId:()=>De,getInitialState:()=>Be,headerDisplayName:()=>Jn.w,isArrayEqual:()=>Ke,isPresent:()=>je,leftArrowName:()=>W,renderChildren:()=>Ve,rightArrowName:()=>K});var r=n(3899),o=n(8130),i=n(8047),a=n(1754),s="",l="0",c="_";function u(e,t){if(v(e))return t[Number(e)];var n=t[Number(h(e))];return n.items?u(function(e){if(m(e))return e;var t=e.indexOf(c);return e.substring(t+1)}(e),n.items):void 0}function h(e){return m(e)?e:e.split(c)[0]}function d(e){return p("0",e)}function p(e,t){return t?t+c+e:e}function f(e){var t=e.lastIndexOf(c);return t<0?s:e.substring(0,t)}function m(e){return e===s||e.indexOf(c)<0}function v(e){return e!==s&&e.indexOf(c)<0}function g(e){var t=e.lastIndexOf(c);return t<0?e:e.substring(t+1)}function b(e,t,n){return v(t)?e?Number(t)<n-1?(Number(t)+1).toString():"0":Number(t)>0?(Number(t)-1).toString():(n-1).toString():t}var y={vertical:"top",horizontal:"left"},w={vertical:"top",horizontal:"right"},x={vertical:"flip",horizontal:"fit"},k={vertical:"fit",horizontal:"flip"},z={downward:{anchorAlign:{vertical:"bottom",horizontal:"right"},popupAlign:w,collision:x},leftward:{anchorAlign:{vertical:"top",horizontal:"left"},popupAlign:w,collision:k}},C={downward:{anchorAlign:{vertical:"bottom",horizontal:"left"},popupAlign:y,collision:x},rightward:{anchorAlign:{vertical:"top",horizontal:"right"},popupAlign:y,collision:k}};function _(e,t,n){return v(e)?t?n?"leftward":"rightward":"downward":n?"leftward":"rightward"}function I(e){return e?"rtl":"ltr"}function E(e,t){return"".concat(e,"_").concat(t)}var S,M=n(189),O=(S=function(e,t){return S=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])},S(e,t)},function(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}S(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){return this.props.url?r.createElement("a",{className:this.getMenuItemClassName(),role:"presentation",href:this.props.url,tabIndex:-1},this.props.children):r.createElement("span",{id:this.props.id,className:(0,i.A)(this.getMenuItemClassName(),this.props.className),style:this.props.style,role:"presentation"},this.props.children)},t.prototype.getMenuItemClassName=function(){return(0,i.A)("k-link","k-menu-link",{"k-active":this.props.opened})},t.propTypes={opened:M.bool,url:M.string},t}(r.Component);const H={name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},F={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},V={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},D={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},B={name:"chevron-up",content:'<path d="m129.941 353.941 126.06-126.06 126.061 126.06L416 320 256.001 160 96 320l33.941 33.941z" />',viewBox:"0 0 512 512"},A={name:"chevron-right",content:'<path d="m158.059 129.941 126.06 126.06-126.06 126.061L192 416l160-159.999L192 96l-33.941 33.941z" />',viewBox:"0 0 512 512"},N={name:"chevron-down",content:'<path d="m382.059 158.059-126.06 126.06-126.061-126.06L96 192l159.999 160L416 192l-33.941-33.941z" />',viewBox:"0 0 512 512"},L={name:"check-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm-32-154-83-83-45 45 128 128 176-176-45-45-131 131z" />',viewBox:"0 0 512 512"},P={name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"};var T=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(){return j=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},j.apply(this,arguments)},U="caret-alt-down",K="caret-alt-right",W="caret-alt-left",q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){return r.createElement(o.a,j({"aria-hidden":!0,className:"k-menu-expand-arrow"},this.getIcon()))},t.prototype.getIcon=function(){switch(_(this.props.itemId,!0===this.props.verticalMenu,"rtl"===this.props.dir)){case"downward":return{name:U,icon:V};case"rightward":return{name:K,icon:F};case"leftward":return{name:W,icon:D};default:return{}}},t.propTypes={itemId:M.string,dir:M.string,verticalMenu:M.bool},t}(r.Component),$=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=function(e){function t(t){var n=e.call(this,t)||this;return n.isFirstRender=!0,n.onMouseOver=function(e){n.props.onMouseOver(n.props.item.id),e.stopPropagation()},n.onMouseLeave=function(e){n.props.onMouseLeave(n.props.item.id),e.stopPropagation()},n.state={opened:!1},n}return $(t,e),t.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.props.item.id;e&&e===t&&this.itemElement.focus(),this.isFirstRender=!1},t.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId,n=this.props.item.id;t&&(e.focusedItemId===t||t!==n||this.itemElement.contains(document.activeElement)||this.itemElement.focus())},t.prototype.render=function(){var e=this,t=this.props.item,n=t.id,o=E(this.props.menuGuid,n);return r.createElement(r.Fragment,null,r.createElement("li",{id:E(this.props.menuGuid,n),className:this.getMenuItemClassName(t),style:t.cssStyle,tabIndex:n===this.props.tabbableItemId?0:-1,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave,onMouseDown:function(t){return e.props.onMouseDown(t)},onBlur:function(t){return e.props.onBlur(n,t)},onFocus:function(){return e.props.onFocus(n)},onClick:function(t){return e.props.onClick(t,n)},role:"menuitem","aria-disabled":!!t.disabled||void 0,"aria-haspopup":t.items.length>0||void 0,"aria-expanded":t.items.length>0?this.Opened:void 0,"aria-label":t.text,"aria-owns":this.Opened?o:void 0,ref:function(t){return e.itemElement=t},key:"0"},this.contentRender?this.renderContent():this.renderMenuItemLink()),this.renderPopupIfOpened())},t.prototype.renderContent=function(){var e=this.props.item.contentParentItemId;return r.createElement("div",{className:"k-content",role:"presentation"},r.createElement(this.contentRender,{item:this.props.onOriginalItemNeeded(e),itemId:e}))},t.prototype.renderMenuItemLink=function(){var e=this.props.item;if(this.linkRender)return r.createElement(this.linkRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,opened:this.Opened,dir:I(this.props.isDirectionRightToLeft)});var t=this.itemRender?r.createElement(this.itemRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,key:"1"}):r.createElement("span",{className:"k-menu-link-text"},e.text);return r.createElement(R,{url:e.url,opened:this.Opened},this.renderMenuIconIfApplicable(),t,this.renderArrowIfApplicable())},t.prototype.renderPopupIfOpened=function(){if(this.Opened){var e=this.props.item.id,t=function(e,t,n){var r=_(e,t,n);return n?"downward"===r?z.downward:z.leftward:"downward"===r?C.downward:C.rightward}(e,this.props.isMenuVertical,this.props.isDirectionRightToLeft),n=t.anchorAlign,o=t.popupAlign,i=t.collision;return r.createElement(a.G,{anchor:this.itemElement,show:!0,popupClass:this.getPopupClassName(),anchorAlign:n,popupAlign:o,collision:i,animate:!1,key:"1"},r.createElement(X,{parentItemId:e,items:this.props.item.items,menuGuid:this.props.menuGuid,focusedItemId:this.props.focusedItemId,lastItemIdToBeOpened:this.props.lastItemIdToBeOpened,tabbableItemId:this.props.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,isMenuVertical:this.props.isMenuVertical,isDirectionRightToLeft:this.props.isDirectionRightToLeft,className:"k-group k-menu-group k-reset k-menu-group-md",onMouseOver:this.props.onMouseOver,onMouseLeave:this.props.onMouseLeave,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onFocus:this.props.onFocus,onClick:this.props.onClick,onOriginalItemNeeded:this.props.onOriginalItemNeeded}))}return null},t.prototype.renderMenuIconIfApplicable=function(){var e=this.props.item,t=e.icon,n=e.svgIcon;return t||n?r.createElement(o.a,{name:t,icon:n,key:"0"}):null},t.prototype.renderArrowIfApplicable=function(){return this.props.item.items.length>0?r.createElement(q,{itemId:this.props.item.id,verticalMenu:this.props.isMenuVertical,dir:I(this.props.isDirectionRightToLeft),key:"2"}):null},Object.defineProperty(t.prototype,"itemRender",{get:function(){return this.props.item.render||this.props.itemRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linkRender",{get:function(){return this.props.item.linkRender||this.props.linkRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentRender",{get:function(){return this.props.item.contentParentItemId?this.props.item.contentRender:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Opened",{get:function(){var e,t,n=this.props;return n.item.items.length>0&&(e=n.item.id,0===(t=n.lastItemIdToBeOpened).indexOf(e)&&(t.length===e.length||t.charAt(e.length)===c))&&!this.isFirstRender},enumerable:!1,configurable:!0}),t.prototype.getPopupClassName=function(){return(0,i.A)("k-menu-popup",{"k-rtl":this.props.isDirectionRightToLeft})},t.prototype.getMenuItemClassName=function(e){return(0,i.A)("k-item","k-menu-item",{"k-first":(t=e.id,g(t)===l),"k-last":e.isLastFromSiblings,"k-disabled":e.disabled},e.cssClass);var t},t}(r.Component),Y=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseOver=function(e){t.props.onMouseOver(t.props.parentItemId),e.stopPropagation()},t.onMouseLeave=function(e){t.props.onMouseLeave(t.props.parentItemId),e.stopPropagation()},t}return Y(t,e),t.prototype.render=function(){var e=this.props.parentItemId;return r.createElement("ul",{className:this.props.className,role:this.props.role?this.props.role:void 0!==e?"menu":"menubar",id:void 0!==e?E(this.props.menuGuid,e):void 0,onMouseOver:void 0!==e?this.onMouseOver:void 0,onMouseLeave:void 0!==e?this.onMouseLeave:void 0,"aria-orientation":this.props["aria-orientation"]},this.renderChildItems())},t.prototype.renderChildItems=function(){var e=this;return this.props.items.length>0?this.props.items.map((function(t,n){return r.createElement(G,{item:t,isMenuVertical:e.props.isMenuVertical,isDirectionRightToLeft:e.props.isDirectionRightToLeft,focusedItemId:e.props.focusedItemId,lastItemIdToBeOpened:e.props.lastItemIdToBeOpened,tabbableItemId:e.props.tabbableItemId,itemRender:e.props.itemRender,linkRender:e.props.linkRender,menuGuid:e.props.menuGuid,onMouseOver:e.props.onMouseOver,onMouseLeave:e.props.onMouseLeave,onMouseDown:e.props.onMouseDown,onBlur:e.props.onBlur,onFocus:e.props.onFocus,onClick:e.props.onClick,onOriginalItemNeeded:e.props.onOriginalItemNeeded,key:n})})):null},t}(r.Component),Z=n(3493),J=n(1779),Q=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ee=function(e){function t(t){var n=e.call(this,t)||this;return n.draggable=null,n.onDrag=function(e,t,r){var o=e.event,i=n.props,a=i.onDrag,s=i.index,l=n.draggable&&n.draggable.element;l&&!n.isStatic&&n.isDraggable&&a(o,l,s,t,r)},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.onToggle=function(e){var t=n.props,r=t.onToggle,o=t.index,i=t.prev,a=t.next;(i.collapsible||a.collapsible)&&r(i.collapsible?o:o+1,e)},n.onPrevToggle=function(e){var t=n.props,r=t.onToggle,o=t.index;t.prev.collapsible&&r(o,e)},n.onNextToggle=function(e){var t=n.props,r=t.onToggle,o=t.index;t.next.collapsible&&r(o+1,e)},n.onKeyDown=function(e){var t=e&&e.keyCode,r=n.isHorizontal,o=n.props.index,i=n.draggable&&n.draggable.element,a=function(t,r,o){e.preventDefault(),n.props.onKeyboardResize(t,r,o,e)};i&&(t===Z.R.enter?(e.preventDefault(),n.onToggle(e)):n.isDraggable&&(r&&t===Z.R.left?a(i,o,-10):r&&t===Z.R.right?a(i,o,10):r||t!==Z.R.up?r||t!==Z.R.down||a(i,o,10):a(i,o,-10)))},n.state={focused:!1},n}return Q(t,e),Object.defineProperty(t.prototype,"isStatic",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsible||n.collapsible;return!r&&!o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDraggable",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsed||n.collapsed;return!!r&&!o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHorizontal",{get:function(){return"horizontal"===this.props.orientation},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this,n=this.isDraggable,a=this.isStatic,s=this.isHorizontal,l=(0,i.A)("k-splitbar",((e={})["k-focus"]=this.state.focused,e["k-splitbar-horizontal"]=s,e["k-splitbar-vertical"]=!s,e["k-splitbar-draggable-horizontal"]=s&&n,e["k-splitbar-draggable-vertical"]=!s&&n,e["k-splitbar-static-horizontal"]=s&&a,e["k-splitbar-static-vertical"]=!s&&a,e));return r.createElement(J._,{onPress:function(e){return t.onDrag(e,!0,!1)},onDrag:function(e){return t.onDrag(e,!1,!1)},onRelease:function(e){return t.onDrag(e,!1,!0)},ref:function(e){t.draggable=e}},r.createElement("div",{tabIndex:a?-1:0,role:"separator","aria-valuenow":0,"aria-label":this.props.ariaLabel,"aria-orientation":s?"vertical":void 0,className:l,style:{touchAction:"none"},onFocus:this.onFocus,onBlur:this.onBlur,onDoubleClick:this.onToggle,onKeyDown:this.onKeyDown},this.props.prev.collapsible&&r.createElement("div",{className:"k-collapse-prev",onClick:this.onPrevToggle},r.createElement(o.a,{name:this.props.prev.collapsible?s?this.props.prev.collapsed?"caret-alt-right":"caret-alt-left":this.props.prev.collapsed?"caret-alt-down":"caret-alt-up":void 0,icon:this.props.prev.collapsible?s?this.props.prev.collapsed?F:D:this.props.prev.collapsed?V:H:void 0})),r.createElement("div",{className:"k-resize-handle"}),this.props.next.collapsible&&r.createElement("div",{className:"k-collapse-next",onClick:this.onNextToggle},r.createElement(o.a,{name:this.props.next.collapsible?s?this.props.next.collapsed?"caret-alt-left":"caret-alt-right":this.props.next.collapsed?"caret-alt-up":"caret-alt-down":void 0,icon:this.props.prev.collapsible?s?this.props.prev.collapsed?D:F:this.props.prev.collapsed?H:V:void 0}))))},t}(r.Component),te=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ne=function(){return ne=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},ne.apply(this,arguments)},re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onClick=function(){t.props.onSelect&&t.props.onSelect(t.props.index)},t}return te(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,o=t.active,a=t.disabled,s=t.title,l=void 0===s?"Untitled":s,c=t.first,u=t.last,h={id:n,"aria-selected":o,"aria-controls":n,"aria-disabled":a,"aria-hidden":a,role:"tab",onClick:a?void 0:this.onClick},d=(0,i.A)("k-item",((e={})["k-first"]=c,e["k-last"]=u,e["k-disabled"]=a,e["k-active"]=o,e));return r.createElement("li",ne({},h,{className:d}),r.createElement("span",{className:"k-link"},l))},t.propTypes={active:M.bool,disabled:M.bool,index:M.number,onSelect:M.func,title:M.oneOfType([M.string,M.element]),first:M.bool,last:M.bool},t}(r.Component),oe=n(7037),ie=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ae=function(){return ae=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},ae.apply(this,arguments)},se=function(e){return e.preventDefault()},le="smooth",ce="prev",ue="next",he=function(e){function t(t){var n=e.call(this,t)||this;return n.itemsNavRef=r.createRef(),n.isRtl=function(){return"rtl"===n.props.dir},n.onWheel=function(e){e.stopPropagation();var t=e.deltaY<0?ce:ue;n.setNewScrollPosition(t,e)},n.arrowClickPrev=function(e){n.handleArrowClick(ce,e)},n.arrowClickNext=function(e){n.handleArrowClick(ue,e)},n.handleArrowClick=function(e,t){n.setNewScrollPosition(e,t)},n.setNewScrollPosition=function(e,t){var r=n.itemsNavRef.current;if(r){var o=n.horizontalScroll(),i=o?r.scrollWidth-r.offsetWidth:r.scrollHeight-r.offsetHeight,a=("click"===t.type?n.props.buttonScrollSpeed:n.props.mouseScrollSpeed)||0,s=o?r.scrollLeft:r.scrollTop,l=o?r.scrollWidth-r.scrollLeft:r.scrollHeight-r.scrollTop,c=r.scrollWidth- -1*r.scrollLeft;n.isRtl()&&n.horizontalScroll()?(e===ce&&s<0&&(s+=a,c+=a),e===ue&&s<i&&(s-=a,c-=a),s=Math.min(0,Math.min(i,s))):(e===ce&&s>0&&(s-=a,l+=a),e===ue&&s<i&&(s+=a,l-=a),s=Math.max(0,Math.min(i,s)));var u=0===s,h="click"===t.type?le:void 0;if(o){var d=n.isRtl()?Math.round(c)<=r.clientWidth||Math.floor(c)<=r.clientWidth:Math.round(l)<=r.clientWidth||Math.floor(l)<=r.clientWidth;n.setState({disabledPrev:u,disabledNext:d}),r.scrollTo({left:s,behavior:h})}else n.setState({disabledPrev:u,disabledNext:Math.round(l)<=r.clientHeight||Math.floor(l)<=r.clientHeight}),r.scrollTo({top:s,behavior:h})}},n.renderArrow=function(e,t){var o=n.horizontalScroll(),i={prev:{arrowTab:"k-tabstrip-prev",arrow:o?"caret-alt-left":"caret-alt-up"},next:{arrowTab:"k-tabstrip-next",arrow:o?"caret-alt-right":"caret-alt-down"}},a=(e===ce?n.props.prevButton:n.props.nextButton)||oe.z,s=e===ce?n.arrowClickPrev:n.arrowClickNext;return r.createElement(a,{disabled:t,className:"".concat(i[e].arrowTab),onClick:s,icon:i[e].arrow,onMouseDown:se,tabIndex:-1,fillMode:"flat"})},n.state={disabledPrev:0===n.props.selected,disabledNext:n.props.selected===r.Children.count(n.props.children)-1},n}return ie(t,e),t.prototype.componentDidMount=function(){this.props.scrollable&&this.scrollToSelected()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.scrollable,o=t.selected;n&&e.selected!==o&&(this.scrollToSelected(),this.setState({disabledPrev:0===o,disabledNext:o===r.Children.count(this.props.children)-1}))},t.prototype.render=function(){var e,t,n=this.props,o=n.selected,a=n.tabPosition,s=n.children,l=n.onSelect,c=n.onKeyDown,u=r.Children.count(s),h=r.Children.toArray(s);s&&(e=(t=u,Array.apply(null,Array(t))).map((function(e,t,n){var i={active:o===t,disabled:h[t].props.disabled,index:t,title:h[t].props.title,first:0===t,last:t===n.length-1,onSelect:l};return r.createElement(re,ae({key:t},i))})));var d=(0,i.A)("k-tabstrip-items-wrapper",{"k-hstack":"top"===a||"bottom"===a,"k-vstack":"left"===a||"right"===a}),p=(0,i.A)("k-tabstrip-items","k-reset");return r.createElement("div",{className:d},this.props.scrollable?r.createElement(r.Fragment,null,this.renderArrow(ce,this.state.disabledPrev),r.createElement("ul",{ref:this.itemsNavRef,className:p,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:c,onWheel:this.onWheel},e),this.renderArrow(ue,this.state.disabledNext)):r.createElement("ul",{className:p,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:c},e))},t.prototype.scrollToSelected=function(){var e,t,n,r,o=this.itemsNavRef.current,i=o&&o.children[this.props.selected||0];if(i instanceof HTMLElement&&o instanceof HTMLElement){var a,s=this.horizontalScroll(),l=s?o.offsetWidth:o.offsetHeight,c=s?i.offsetWidth:i.offsetHeight,u=s?"left":"top",h=s?o.scrollLeft:o.scrollTop,d=0;this.isRtl()?(h*=-1,(a=i.offsetLeft)<0?(d=a-c+o.offsetLeft,o.scrollTo(((e={})[u]=d,e.behavior=le,e))):a+c>l-h&&(d=h+a-c,o.scrollTo(((t={})[u]=d,t.behavior=le,t)))):h+l<(a=s?i.offsetLeft-o.offsetLeft:i.offsetTop-o.offsetTop)+c?(d=a+c-l,o.scrollTo(((n={})[u]=d,n.behavior=le,n))):h>a&&(d=a,o.scrollTo(((r={})[u]=d,r.behavior=le,r)))}},t.prototype.horizontalScroll=function(){return/top|bottom/.test(this.props.tabPosition||"top")},t.propTypes={children:M.oneOfType([M.element,M.arrayOf(M.element)]),onSelect:M.func,onKeyDown:M.func,selected:M.number,tabIndex:M.number},t}(r.Component),de=n(4343),pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fe=function(){return fe=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},fe.apply(this,arguments)},me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return pe(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=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,["children"]);return r.createElement(de.f,fe({},{transitionName:"fade"},n),t)},t.propTypes={children:M.oneOfType([M.arrayOf(M.node),M.node]),childFactory:M.any,className:M.string,component:M.string,id:M.string,style:M.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(r.Component),ve=n(3198),ge=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),be=function(){return be=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},be.apply(this,arguments)},ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.contentId=(0,ve.M)(),t.childFactory=function(e){return r.cloneElement(e,be(be({},e.props),{in:e.props.children.props.id===String(t.contentId+t.props.selected)}))},t}return ge(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.selected,o=t&&"number"==typeof n&&r.Children.toArray(t)[n],a=(0,i.A)("k-content","k-active",o&&o.props.contentClassName);return r.createElement("div",{className:a,style:this.props.style},this.renderContent(t))},t.prototype.renderContent=function(e){var t=this;return this.props.keepTabsMounted?r.Children.map(this.props.children,(function(e,n){return t.renderChild(e,n)})):this.renderChild(r.Children.toArray(e)[this.props.selected],this.props.selected)},t.prototype.renderChild=function(e,t){var n=t===this.props.selected,o={role:"tabpanel","aria-expanded":!0,"aria-labelledby":t.toString(),style:{display:n?void 0:"none"}},i={position:"initial",display:n?void 0:"none"};return e.props.disabled?null:this.props.animation?r.createElement(me,{appear:!0,exit:this.props.keepTabsMounted,style:i,childFactory:this.props.keepTabsMounted?this.childFactory:void 0},r.createElement("div",be({},o,{id:String(this.contentId+t),key:t}),e.props.children)):r.createElement("div",be({},o,{key:t}),e.props.children)},t.propTypes={animation:M.bool,children:M.oneOfType([M.element,M.arrayOf(M.element)]),selected:M.number,style:M.object},t}(r.Component),we=n(4006),xe=n(8206),ke=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ze=function(){return ze=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},ze.apply(this,arguments)},Ce=function(e){function t(t){var n,o=e.call(this,t)||this;return o._element=null,o.keyBinding=((n={})[Z.R.left]=function(){return o.prevNavigatableTab()},n[Z.R.right]=function(){return o.nextNavigatableTab()},n[Z.R.down]=function(){return o.nextNavigatableTab()},n[Z.R.up]=function(){return o.prevNavigatableTab()},n[Z.R.home]=function(){return 0},n[Z.R.end]=function(){return r.Children.count(o.props.children)-1},n),o.onSelect=function(e){o.props.selected!==e&&o.props.onSelect&&o.props.onSelect({selected:e})},o.onKeyDown=function(e){var t;switch(e.keyCode){case Z.R.left:t=o.keyBinding[o.invertKeys(Z.R.left,Z.R.right)];break;case Z.R.right:t=o.keyBinding[o.invertKeys(Z.R.right,Z.R.left)];break;case Z.R.up:t=o.keyBinding[Z.R.up];break;case Z.R.down:t=o.keyBinding[Z.R.down];break;case Z.R.home:t=o.keyBinding[Z.R.home];break;case Z.R.end:t=o.keyBinding[Z.R.end]}t&&(e.preventDefault(),o.onSelect(t()))},o.renderContent=function(e){var t=e.selected,n=e.children,o=e.tabContentStyle;return t<r.Children.count(n)&&t>-1?r.createElement(ye,ze({index:t},e,{style:o})):null},o.firstNavigatableTab=function(){var e=o.children(),t=r.Children.count(e);if(e)for(var n=0;n<t;n++)if(!e[n].props.disabled)return n},o.lastNavigatableTab=function(){var e=o.children(),t=r.Children.count(e);if(e)for(var n=t-1;n>0;n--)if(!e[n].props.disabled)return n},o.prevNavigatableTab=function(){var e=o.children(),t=o.props.selected,n=t?t-1:-1;if(n<0)return o.lastNavigatableTab();if(e)for(var r=n;r>-1;r--){if(!e[r].props.disabled)return r;if(0===r)return o.lastNavigatableTab()}},o.nextNavigatableTab=function(){var e=o.children(),t=o.props.selected,n=t?t+1:1,i=r.Children.count(e);if(n>=i)return o.firstNavigatableTab();if(e)for(var a=n;a<i;a++){if(!e[a].props.disabled)return a;if(a+1===i)return o.firstNavigatableTab()}},(0,we.s)(xe.k),o}return ke(t,e),t.prototype.render=function(){var e=this,t=ze(ze({},this.props),{children:this.children(),onKeyDown:this.onKeyDown,onSelect:this.onSelect}),n=t.tabPosition,o=t.tabIndex,a=void 0===o?0:o,s="bottom"===n,l=(0,i.A)("k-tabstrip",{"k-tabstrip-left":"left"===n,"k-tabstrip-right":"right"===n,"k-tabstrip-bottom":"bottom"===n,"k-tabstrip-top":"top"===n,"k-tabstrip-scrollable":this.props.scrollable},this.props.className);return r.createElement("div",{id:this.props.id,ref:function(t){return e._element=t},dir:this.props.dir,className:l,style:this.props.style},!s&&r.createElement(he,ze({},t,{tabIndex:a})),this.renderContent(t),s&&r.createElement(he,ze({},t,{tabIndex:a})))},t.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction?t:e},t.prototype.children=function(){return r.Children.toArray(this.props.children).filter((function(e){return e}))},t.propTypes={animation:M.bool,children:M.node,onSelect:M.func,selected:M.number,style:M.object,tabContentStyle:M.object,tabPosition:M.string,tabIndex:M.number,className:M.string,dir:M.string},t.defaultProps={animation:!0,tabPosition:"top",keepTabsMounted:!1,buttonScrollSpeed:100,mouseScrollSpeed:10},t}(r.Component),_e=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _e(t,e),t.prototype.render=function(){return null},t.propTypes={disabled:M.bool,contentClassName:M.string,children:M.oneOfType([M.element,M.node]),title:M.oneOfType([M.string,M.element,M.node])},t}(r.Component),Ee=n(3218),Se=n(8686),Me=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oe=function(){return Oe=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},Oe.apply(this,arguments)},Re=function(e){function t(t){var n=e.call(this,t)||this;return n.handleItemClick=function(){var e=n.props,t=e.onSelect,r=e.disabled,o=e.id;t&&!r&&t.call(void 0,{uniquePrivateKey:n.props.uniquePrivateKey,id:o,target:n})},n.childFactory=function(e){return n.props.keepItemsMounted?r.cloneElement(e,Oe(Oe({},e.props),{in:n.props.expanded})):e},n.state={show:t.expanded||!1},n}return Me(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.id,a=t.children,s=t.title,l=t.uniquePrivateKey,c=t.disabled,u=t.selected,h=t.focused,d=t.expanded,p=t.className,f=t.level,m=t.headerClassName,v=t.animation,g=t.keepItemsMounted,b={role:"treeitem","aria-disabled":c,"aria-hidden":!c&&!d,"aria-selected":!c&&u,"aria-expanded":!c&&d&&!!a},y=(0,i.A)("k-panelbar-item",{"k-panelbar-header":0===f,"k-expanded":d&&!!a,"k-disabled":c},"k-level-".concat(f),p),w=(0,i.A)("k-link",{"k-selected":!c&&u,"k-focus":!c&&h},m),x=function(e){var t=e.imageUrl,n=e.icon,i=e.svgIcon,a=e.iconClass;return t?r.createElement("img",{role:"presentation",className:"k-panelbar-item-icon k-image",src:t}):n||i?r.createElement(o.a,{className:"k-panelbar-item-icon",name:n,icon:i}):a?r.createElement("span",{role:"presentation",className:"k-panelbar-item-icon "+a}):null}(this.props),k=!c&&a?r.createElement(o.a,{name:d?"chevron-up":"chevron-down",icon:d?B:N,className:(0,i.A)("k-panelbar-toggle",d?"k-panelbar-collapse":"k-panelbar-expand")}):null,z=!c&&d||g?r.createElement("ul",{role:"group","aria-expanded":d,"aria-hidden":!d,className:"k-panelbar-group k-panel k-group",style:{display:g?this.state.show?"block":"none":"block"}},a):null,C=void 0!==v&&!v||c||!a?z:r.createElement(Se.U,{transitionEnterDuration:200,transitionExitDuration:200,key:l+"_animation",style:{display:"block"},children:z,childFactory:g&&this.childFactory,unmountOnExit:!g,onBeforeEnter:function(){return g&&e.setState({show:!0})},onAfterExited:function(){return g&&e.setState({show:!1})}});return r.createElement("li",Oe({id:n,className:y},b),r.createElement("span",{className:w,onClick:this.handleItemClick},x,r.createElement("span",{className:"k-panelbar-item-text"},s),k),C)},t.propTypes={animation:M.bool,children:M.any,className:M.string,icon:M.string,iconClass:M.string,imageUrl:M.string,svgIcon:Ee.wi,expanded:M.bool,disabled:M.bool,onSelect:M.func,selected:M.bool,level:M.number,title:M.oneOfType([M.string,M.element]),id:M.oneOfType([M.string,M.number]),focused:M.bool,keepItemsMounted:M.bool},t.defaultProps={title:"Untitled"},t}(r.PureComponent),He=function(){return He=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},He.apply(this,arguments)},Fe=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ve=function(e){var t=e.animation,n=void 0===t||t,o=e.keepItemsMounted,i=void 0!==o&&o,a=e.state,s=e.expanded,l=e.handleSelect,c=e.children,u=e.parentExpanded,h=void 0===u||u,d=e.level,p=void 0===d?0:d,f=e.parentPrivateKey,m=void 0===f?[]:f;return r.Children.map(c,(function(e,t){if(e&&e.type===Re){var o=void 0,c=Ae(e,m,t);if(e.props.children){var u={animation:n,keepItemsMounted:i,state:a,expanded:s,handleSelect:l,children:e.props.children,parentExpanded:(s||[]).indexOf(c)>-1,level:p+1,parentPrivateKey:Fe(Fe([],m,!0),[c],!1)};o=Ve(u)}return r.cloneElement(e,He(He({},e.props),{animation:void 0!==e.props.animation?e.props.animation:n,keepItemsMounted:i,id:e.props.id||"k-panelbar-item-default-".concat(c),uniquePrivateKey:c,parentUniquePrivateKey:m,parentExpanded:h,level:p,expanded:(s||[]).indexOf(c)>-1,focused:a.focused===c&&a.wrapperFocused,selected:a.selected===c,children:o,onSelect:l}))}return r.createElement("div",{className:"k-panelbar-content k-content"},e)}))},De=function(e){var t=r.Children.toArray(e.children)[0];return t?Ae(t,[],0):""},Be=function(e,t,n,o,i){return void 0===n&&(n={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||"",wrapperFocused:!1}),void 0===o&&(o=!0),void 0===i&&(i=[]),r.Children.map(e.children,(function(e,r){if(e&&e.type===Re){var a=Ae(e,i,r);!e.props.disabled&&o&&(e.props.selected&&(n.selected=a),e.props.focused&&(n.focused=a),e.props.expanded&&("multiple"===t?n.expanded.push(a):"single"===t&&(n.expanded=[a])),e.props.children&&(n=Be(e.props,t,n,!!e.props.expanded,Fe(Fe([],i,!0),[a],!1))))}})),n},Ae=function(e,t,n){return e&&e.props&&e.props.id?e.props.id:t.length?t[t.length-1]+".".concat(n):".".concat(n)};function Ne(e,t){return void 0===t&&(t=[]),(e||[]).forEach((function(e){e.disabled||(t.push(e),e.expanded&&e.children&&Ne(e.children,t))})),t}function Le(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,(function(e){e&&e.props&&!e.props.disabled&&(t.push(e),e.props.children&&Le(e.props.children,t))})),t}function Pe(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,(function(e){e&&e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&Pe(e.props.children,t))})),t}var Te,je=function(e){return null!=e};!function(e){e.mapItemsToComponents=function e(t){return t.map((function(t,n){var o;return t.content&&(o=t.content),t.children&&(o=e(t.children)),r.createElement(Re,He({},t,{children:o,key:t.id||n}))}))}}(Te||(Te={}));var Ue,Ke=function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))};!function(e){e[e.Toggle=0]="Toggle",e[e.Next=1]="Next",e[e.Previous=2]="Previous"}(Ue||(Ue={}));var We=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qe=function(){return qe=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},qe.apply(this,arguments)},$e=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ge=function(e){function t(t){var n=e.call(this,t)||this;n._element=null,n.handleSelect=function(e){n.onSelect(e),n.onFocus(e)},n.onSelect=function(e){var t,o;switch(Le(r.Children.toArray(n.children)).forEach((function(r){r.props.uniquePrivateKey===(e.uniquePrivateKey||n.state.focused)&&(t=r)})),n.expandMode){case"single":o=$e($e([],t.props.parentUniquePrivateKey,!0),[t.props.uniquePrivateKey],!1),Ke(n.expandedItems,o)&&(o=t.props.parentUniquePrivateKey?$e([],t.props.parentUniquePrivateKey,!0):[]);break;case"multiple":var i=(o=n.expandedItems.slice()).indexOf(t.props.uniquePrivateKey);-1===i?o.push(t.props.uniquePrivateKey):o.splice(i,1);break;default:o=n.expandedItems.slice()}n.setState({selected:t.props.uniquePrivateKey,expanded:o}),n.props.onSelect&&n.props.onSelect.call(void 0,{target:t,expandedItems:o})},n.onFocus=function(e,t){void 0===t&&(t=0);var o,i=Pe(r.Children.toArray(n.children));i.forEach((function(r,a){if(r.props.uniquePrivateKey===(e.uniquePrivateKey||n.state.focused)){var s=a+t<0?0:a+t>i.length?i.length-1:a+t;o=i[s]}})),o&&(n.activeDescendant=o.props.id,n.setState({focused:o.props.uniquePrivateKey}))},n.onNavigate=function(e,t){var r;switch(t){case Ue.Previous:r=-1,n.onFocus(e,r);break;case Ue.Next:r=1,n.onFocus(e,r);break;case Ue.Toggle:n.onSelect(e)}},n.handleWrapperFocus=function(){clearTimeout(n.nextTickId),n.state.wrapperFocused||n.setState({wrapperFocused:!0})},n.handleWrapperBlur=function(){n.nextTick((function(){n.setState({wrapperFocused:!1})}))},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;if(e.target===e.currentTarget){var r=void 0;switch(e.keyCode){case Z.R.left:r=t?Ue.Next:Ue.Previous;break;case Z.R.up:r=Ue.Previous;break;case Z.R.right:r=t?Ue.Previous:Ue.Next;break;case Z.R.down:r=Ue.Next;break;case Z.R.space:case Z.R.enter:r=Ue.Toggle;break;default:r=null}null!==r&&(e.preventDefault(),n.onNavigate(e,r))}},(0,we.s)(xe.k);var o=Be(t,n.expandMode);return o.focused||(o.focused=De(t)),n.state=o,n}return We(t,e),Object.defineProperty(t.prototype,"expandMode",{get:function(){return this.props.expandMode||"multiple"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItem",{get:function(){var e=this.props.selected;return void 0===e?this.state.selected:e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expandedItems",{get:function(){return this.props.isControlled?this.props.expanded||[]:this.state.expanded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=qe(qe({},this.state),{selected:this.selectedItem}),t={animation:this.props.animation,keepItemsMounted:this.props.keepItemsMounted,state:e,expanded:this.expandedItems,handleSelect:this.handleSelect,children:this.props.children};return Ve(t)},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t={"aria-activedescendant":this.activeDescendant},n=(0,i.A)("k-panelbar",this.props.className);return r.createElement("ul",qe({ref:function(t){e._element=t},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,className:n,style:this.props.style},t),this.children)},t.prototype.nextTick=function(e){this.nextTickId=window.setTimeout((function(){return e()}))},t.propTypes={animation:M.bool,children:function(e,t){var n=e[t];if(n){if(Array.isArray(n))for(var r=0,o=n;r<o.length;r++){var i=o[r];if(!i.type||i.type!==Re)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==Re)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.");return null}},dir:M.string,selected:M.string,expanded:M.arrayOf(M.string),focused:M.string,expandMode:M.oneOf(["single","multiple"]),className:M.string,keepItemsMounted:M.bool,onSelect:M.func,style:M.object},t.defaultProps={expandMode:"multiple",animation:!0,keepItemsMounted:!1},t}(r.Component),Ye=n(5407),Xe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xe(t,e),t.prototype.render=function(){return null},t.propTypes={text:M.string,url:M.string,icon:M.string,disabled:M.bool,cssClass:M.string,cssStyle:M.object,render:M.any,linkRender:M.any,contentRender:M.any,data:M.any},t}(r.Component);function Je(e,t){if(e&&e.length>0)return{items:nt(e),inputItems:e};if(et(t).length>0){var n=tt(et(t));return{items:nt(n),inputItems:n}}return{items:[],inputItems:[]}}function Qe(e,t){var n={},r=e||t.props,o=r.text,i=r.url,a=r.icon,s=r.svgIcon,l=r.disabled,c=r.cssClass,u=r.cssStyle,h=r.render,d=r.linkRender,p=r.contentRender,f=r.data;return void 0!==o&&(n.text=o),void 0!==i&&(n.url=i),void 0!==a&&(n.icon=a),void 0!==s&&(n.svgIcon=s),void 0!==l&&(n.disabled=l),void 0!==c&&(n.cssClass=c),void 0!==u&&(n.cssStyle=u),void 0!==h&&(n.render=h),void 0!==d&&(n.linkRender=d),void 0!==p&&(n.contentRender=p),void 0!==f&&(n.data=f),n}function et(e){return r.Children.toArray(e).filter((function(e){return e&&e.type===Ze}))}function tt(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=Qe(void 0,r),i=tt(et(r.props.children));i.length>0&&(o.items=i),t.push(o)}return t}function nt(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=Qe(o);i.id=p(r.toString(),t),i.isLastFromSiblings=r===e.length-1,i.items=rt(o,i),n.push(i)}return n}function rt(e,t){return e.contentRender?[{contentParentItemId:t.id,id:p(l,t.id),isLastFromSiblings:!0,contentRender:e.contentRender,items:[]}]:e.items?nt(e.items,t.id):[]}var ot=/\S/;function it(e,t,n,r,o,i){var a,s=z();switch(n){case Z.R.left:return o?i?w():m():i?y():l();case Z.R.right:return o?i?m():w():i?l():y();case Z.R.up:return o?_():v(t)?k():_();case Z.R.down:return o?I():v(t)?x():I();case Z.R.enter:case Z.R.space:return s.disabled?t:C()?d(t):h(t);case Z.R.home:return E()[0].id;case Z.R.end:return(a=E())[a.length-1].id;case Z.R.esc:return v(t)?t:f(t);default:return 1===r.length&&ot.test(r)?function(){var e=r.toLowerCase(),n=E(),o=Number(g(t)),i=n.slice(o+1).concat(n.slice(0,o+1)).find((function(t){return(t.text||"").toLowerCase().startsWith(e)}));return i?i.id:t}():t}function l(){return v(t)?_():1===function(e){return e.split(c).length-1}(t)?x(_(h(t))):f(t)}function m(){return v(t)?k():f(t)}function y(){return v(t)?I():x(C()?t:I(h(t)))}function w(){return x(v(t)||C()?t:I(h(t)))}function x(e){return S(!0,e)}function k(e){return S(!1,e)}function z(n,r){return void 0===n&&(n=t),void 0===r&&(r=e),u(n,r)}function C(e){return z(e).items.length>0}function _(e){return M(!1,e)}function I(e){return M(!0,e)}function E(){return v(t)?e:z(f(t),e).items}function S(e,n){void 0===n&&(n=t);var r=z(n);return C(n)&&!r.disabled?e?d(n):function(e){var t=z(e).items;return t[t.length-1].id}(n):n}function M(n,r){if(void 0===r&&(r=t),v(r))return b(n,r,e.length);var o=f(r);return p(b(n,g(r),z(o).items.length),o)}}var at,st,lt,ct,ut,ht=function(){function e(){this.phase="Initialized"}return e.prototype.getIsDirectionRightToLeft=function(){return this.isDirectionRightToLeft},e.prototype.setIsDirectionRightToLeft=function(e){this.phase="NotInitialized"===this.phase?"Initialized":"NewValueReceived",this.previousIsDirectionRightToLeft=this.isDirectionRightToLeft,this.isDirectionRightToLeft=e},e.prototype.hasDirectionChanged=function(){return"NewValueReceived"===this.phase&&this.previousIsDirectionRightToLeft!==this.isDirectionRightToLeft},e}(),dt=function(){function e(e,t,n){this.openOnClick=e,this.resetMenu=t,this.openItem=n,this.mouseDown=!1,this.openOnClick=e,this.isMouseOverEnabled=!e}return Object.defineProperty(e.prototype,"OpenOnClick",{set:function(e){Boolean(e)!==Boolean(this.openOnClick)&&(this.mouseDown=!1,this.isMouseOverEnabled=!e),this.openOnClick=e},enumerable:!1,configurable:!0}),e.prototype.handleItemSelectedViaKeyboard=function(){this.openOnClick&&(this.isMouseOverEnabled=!1,this.resetMenu())},Object.defineProperty(e.prototype,"IsMouseOverEnabled",{get:function(){return this.isMouseOverEnabled},enumerable:!1,configurable:!0}),e.prototype.handleItemMouseDown=function(){this.mouseDown=!0},e.prototype.handleItemFocus=function(){this.openOnClick&&!this.mouseDown&&(this.isMouseOverEnabled=!0),this.mouseDown=!1},e.prototype.handleItemClick=function(e,t){this.openOnClick&&(this.isMouseOverEnabled?t&&(this.isMouseOverEnabled=!1,this.resetMenu()):(this.isMouseOverEnabled=!0,this.openItem(e)))},e}(),pt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ft={focusedItemId:s,hoveredItemId:s,tabbableItemId:l},mt=function(e){function t(t){var n=e.call(this,t)||this;return n.menuWrapperEl=null,n.guid=(0,ve.M)(),n.directionHolder=new ht,n.inputItems=[],n.items=[],n.reset=function(){n.clearItemHoverAndLeaveRequestsIfApplicable(),n.setState(ft)},n.onKeyDown=function(e){if(n.state.focusedItemId!==s){var t=u(n.state.focusedItemId,n.items),r=it(n.items,t.id,e.keyCode,e.key,n.props.vertical,n.directionHolder.getIsDirectionRightToLeft());t.id!==r&&(e.preventDefault(),n.setFocusedItemId(r)),e.keyCode!==Z.R.enter&&e.keyCode!==Z.R.space||t.disabled||(n.mouseOverHandler.handleItemSelectedViaKeyboard(),n.dispatchSelectEventIfWired(e,t.id),!e.isDefaultPrevented()&&0===t.items.length&&t.url&&window.location.assign(t.url))}e.keyCode===Z.R.esc&&n.props.onClose&&n.props.onClose.call(void 0,e)},n.onItemMouseOver=function(e){n.mouseOverHandler.IsMouseOverEnabled&&(n.clearItemHoverAndLeaveRequestsIfApplicable(),n.itemHoverRequest=window.setTimeout((function(){n.setHoveredItemId(e),n.itemHoverRequest=null}),function(e){return void 0!==e.hoverOpenDelay?e.hoverOpenDelay:e.openOnClick?0:100}(n.props)))},n.onItemMouseLeave=function(e){n.mouseOverHandler.IsMouseOverEnabled&&n.isItemWithDefaultClose(e)&&(n.clearItemHoverAndLeaveRequestsIfApplicable(),n.itemLeaveRequest=window.setTimeout((function(){n.setHoveredItemId(s),n.itemLeaveRequest=null}),function(e){return void 0!==e.hoverCloseDelay?e.hoverCloseDelay:100}(n.props)))},n.onItemMouseDown=function(){n.mouseOverHandler.handleItemMouseDown()},n.onItemFocus=function(e){n.setFocusedItemId(e),n.mouseOverHandler.handleItemFocus()},n.onItemClick=function(e,t){var r=u(t,n.items);r.disabled||(n.setFocusedItemId(t),n.mouseOverHandler.handleItemClick(t,n.isItemWithDefaultClose(t)),n.dispatchSelectEventIfWired(e,t),!e.isDefaultPrevented()&&r.url&&window.location.assign(r.url))},n.onItemBlur=function(e,t){if(n.isItemWithDefaultClose(e)&&n.setFocusedItemId(s),t.relatedTarget&&"LI"===t.relatedTarget.nodeName){var r=t.relatedTarget.getAttribute("id");if(r&&r.includes(n.guid))return}n.props.onClose&&n.props.onClose.call(void 0,t)},n.getInputItem=function(e){return u(e,n.inputItems)},(0,we.s)(xe.k),n.mouseOverHandler=new dt(n.props.openOnClick,n.reset,n.onItemMouseOver),n.state=Object.assign({},ft,{isFirstRender:!0}),n}return pt(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.menuWrapperEl},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;this.prepareItems(),this.state.isFirstRender||this.directionHolder.setIsDirectionRightToLeft(this.checkIsDirectionRightToLeft());var t=this.state.hoveredItemId?this.state.hoveredItemId:this.state.focusedItemId?f(this.state.focusedItemId):s;return r.createElement("div",{onKeyDown:this.onKeyDown,style:this.props.style,className:this.directionHolder.getIsDirectionRightToLeft()?"k-rtl":void 0,ref:function(t){return e.menuWrapperEl=t}},r.createElement(X,{className:this.getMenuClassName(),"aria-orientation":this.props.vertical?"vertical":void 0,items:this.items,isMenuVertical:this.props.vertical,isDirectionRightToLeft:this.directionHolder.getIsDirectionRightToLeft(),focusedItemId:this.state.focusedItemId,lastItemIdToBeOpened:t,tabbableItemId:this.state.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,menuGuid:this.guid,onMouseLeave:this.onItemMouseLeave,onMouseOver:this.onItemMouseOver,onMouseDown:this.onItemMouseDown,onFocus:this.onItemFocus,onClick:this.onItemClick,onBlur:this.onItemBlur,onOriginalItemNeeded:this.getInputItem,role:this.props.role}))},t.prototype.componentDidMount=function(){this.setState({isFirstRender:!1})},t.prototype.componentDidUpdate=function(e){(Boolean(e.vertical)!==Boolean(this.props.vertical)||this.directionHolder.hasDirectionChanged())&&this.reset(),this.mouseOverHandler.OpenOnClick=this.props.openOnClick},t.prototype.componentWillUnmount=function(){this.clearItemHoverAndLeaveRequestsIfApplicable()},t.prototype.setFocusedItemId=function(e){this.setState((function(t){var n=e===s?t.tabbableItemId:h(e);return{hoveredItemId:e===s||m(t.hoveredItemId)&&m(e)?t.hoveredItemId:s,focusedItemId:e,tabbableItemId:n}}))},t.prototype.setHoveredItemId=function(e){this.setState((function(t){return m(e)&&m(t.focusedItemId)?{hoveredItemId:e,focusedItemId:t.focusedItemId,tabbableItemId:t.tabbableItemId}:{hoveredItemId:e,focusedItemId:s,tabbableItemId:l}}))},t.prototype.getMenuClassName=function(){return(0,i.A)("k-reset","k-header","k-menu",{"k-menu-horizontal":!this.props.vertical},{"k-menu-vertical":this.props.vertical},this.props.className)},t.prototype.clearItemHoverAndLeaveRequestsIfApplicable=function(){this.itemHoverRequest&&(clearTimeout(this.itemHoverRequest),this.itemHoverRequest=null),this.itemLeaveRequest&&(clearTimeout(this.itemLeaveRequest),this.itemLeaveRequest=null)},t.prototype.isItemWithDefaultClose=function(e){return!this.props.customCloseItemIds||-1===this.props.customCloseItemIds.indexOf(e)},t.prototype.checkIsDirectionRightToLeft=function(){return Boolean(void 0!==this.props.dir?"rtl"===this.props.dir:this.menuWrapperEl&&"rtl"===getComputedStyle(this.menuWrapperEl).direction)},t.prototype.prepareItems=function(){var e=Je(this.props.items,this.props.children),t=e.items,n=e.inputItems;this.items=t,this.inputItems=n},t.prototype.dispatchSelectEventIfWired=function(e,t){(0,Ye.N)(this.props.onSelect,e,this,{item:this.getInputItem(t),itemId:t})},t.propTypes={vertical:M.bool,items:M.arrayOf(M.object),style:M.object,dir:M.string,hoverOpenDelay:M.number,hoverCloseDelay:M.number,openOnClick:M.bool,itemRender:M.any,linkRender:M.any,customCloseItemIds:M.arrayOf(M.string),onSelect:M.func,role:M.string},t.defaultProps={vertical:!1},t}(r.Component),vt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return vt(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,o=t.size,a=t.collapsed,s=t.overlay,l=t.containsSplitter,c=t.collapsible,u=t.resizable,h=t.scrollable,d=t.keepMounted,p=o&&o.length>0,f={flexBasis:o},m=(0,i.A)("k-pane",((e={})["k-hidden"]=a,e.hidden=a,e["k-pane-flex"]=l,e["k-pane-static"]=!u&&!c||p,e["k-scrollable"]=h,e));return r.createElement("div",{id:n,role:"group",style:f,className:m},!a||d?this.props.children:void 0,s?r.createElement("div",{className:"k-splitter-overlay k-overlay"}):void 0)},t}(r.Component),bt="splitBarLabel",yt=((at={})[bt]="split bar",at),wt=n(499),xt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),kt=function(){return kt=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},kt.apply(this,arguments)},zt={collapsible:!1,collapsed:!1,resizable:!0,scrollable:!0},Ct=function(e){function t(t){var n=e.call(this,t)||this;return n._container=null,n.validatePanes=function(e){if(!e.filter((function(e){return void 0===e.size})).length)throw new Error("The Splitter should have at least one pane without a set size.")},n.mapPaneOptions=function(e,t){for(var o=n.orientation,i=n.state,a=i.dragIndex,s=i.isDragging,l=[],c=0;c<t.length;c++){var u=!1,h=t[c];r.isValidElement(h)&&(u="Splitter"===h.type.displayName);var d=!1;s&&void 0!==a&&(d=a===c||a+1===c),l.push(kt(kt(kt({},zt),{orientation:o,containsSplitter:u,overlay:d}),(e||[])[c]))}return l},n.mapSplitterPanes=function(e,t){var o=(0,wt.provideLocalizationService)(n).toLanguageString(bt,yt[bt]);return e.map((function(i,a){var s,l=2*a,c=l+1;if(a+1<e.length){var u=e[a+1];s=r.createElement(ee,{key:c,index:a,orientation:i.orientation,prev:i,next:u,ariaLabel:o,onDrag:n.onBarDragResize,onToggle:n.onBarToggle,onKeyboardResize:n.onBarKeyboardResize})}return[r.createElement(gt,kt({key:l},i),t[a]),s]}))},n.onBarToggle=function(e,t){var r=n.panesOptions(n.panesContent).map((function(t,r){var o=n.getPaneProps(t);return r===e?kt(kt({},o),{collapsed:!t.collapsed}):kt({},o)}));n.props.onChange&&n.props.onChange({newState:r,isLast:!0,nativeEvent:t})},n.onBarDragResize=function(e,t,r,o,i){var a=(new Date).getTime(),s=e.pageX,l=e.pageY,c=n.surroudingPanes(t),u=c.prevElement,h=c.nextElement;if(u&&h)if(o)n.setState({isDragging:!0,dragIndex:r,startTime:a,originalX:s,originalY:l,originalPrevSize:n.elementSize(u),originalNextSize:n.elementSize(h)});else{var d,p=n.state,f=p.originalPrevSize,m=p.originalNextSize,v=p.startTime,g=p.originalX,b=p.originalY;!o&&a-v<150||(d="vertical"===n.orientation?l-b:n.isRtl?g-s:s-g,n.resize(r,r+1,f,m,d,i,e)),i&&n.resetDragState()}},n.onBarKeyboardResize=function(e,t,r,o){var i=n.surroudingPanes(e),a=i.prevElement,s=i.nextElement,l=n.elementSize(a),c=n.elementSize(s);n.resize(t,t+1,l,c,r,!0,o)},n.containerSize=function(){return n._container?n.elementSize(n._container,!0):0},n.panesOptions=function(e){return n.mapPaneOptions(n.panes,e)},n.elementSize=function(e,t){var r=t?"client":"offset";return"vertical"===n.orientation?e["".concat(r,"Height")]:e["".concat(r,"Width")]},n.clamp=function(e,t,n){return Math.min(t,Math.max(e,n))},n.fixedSize=function(e){return e&&e.length>0},(0,we.s)(xe.k),n.state={isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0,panes:t.defaultPanes||[]},n}return xt(t,e),Object.defineProperty(t.prototype,"isControlledState",{get:function(){return void 0!==this.props.panes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panes",{get:function(){return void 0!==this.panesDuringOnChange?this.panesDuringOnChange:this.isControlledState?this.props.panes:this.state.panes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.props.orientation||"horizontal"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRtl",{get:function(){return this._container&&"rtl"===getComputedStyle(this._container).direction||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panesContent",{get:function(){return r.Children.toArray(this.props.children).filter((function(e){return e}))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.panesContent,n=this.panesOptions(t),o=(0,i.A)("k-widget","k-splitter","k-splitter-flex","k-splitter-".concat(this.orientation),this.props.className);return this.validatePanes(n),r.createElement("div",{style:this.props.style,ref:function(t){return e._container=t},className:o},this.mapSplitterPanes(n,t))},t.prototype.surroudingPanes=function(e){return{prevElement:e.previousElementSibling,nextElement:e.nextElementSibling}},t.prototype.isPercent=function(e){return/%$/.test(e)},t.prototype.toPixels=function(e,t){var n=parseInt(e,10);return this.isPercent(e)&&(n=t*n/100),n},t.prototype.resetDragState=function(){this.setState({isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0})},t.prototype.resize=function(e,t,n,r,o,i,a){var s,l,c=this,u=this.panesOptions(this.panesContent),h=u[e],d=u[t],p=n+r,f=this.containerSize(),m=function(e){return c.toPixels(e,f)},v={index:e,initialSize:n,min:m(h.min)||p-m(d.max)||0,max:m(h.max)||p-m(d.min)||p},g={index:t,initialSize:r,min:m(d.min)||p-m(h.max)||0,max:m(d.max)||p-m(h.min)||p},b=function(e,t){var n=u[e.index],r=c.clamp(e.min,e.max,e.initialSize+t);return c.isPercent(n.size||"")?100*r/f+"%":r+"px"};this.fixedSize(h.size)&&this.fixedSize(d.size)?(s=b(v,o),l=b(g,-o)):d.collapsible||this.fixedSize(d.size)?l=b(g,-o):s=b(v,o);var y=u.map((function(n,r){var o=c.getPaneProps(n);return r===e?kt(kt({},o),{size:s}):r===t?kt(kt({},o),{size:l}):kt({},o)}));this.panesDuringOnChange=y,this.isControlledState||this.setState({panes:y}),this.props.onChange&&this.props.onChange({newState:y,isLast:i,nativeEvent:a}),this.panesDuringOnChange=void 0},t.prototype.getPaneProps=function(e){return e.orientation,e.overlay,e.containsSplitter,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,["orientation","overlay","containsSplitter"])},t.displayName="Splitter",t}(r.Component);!function(e){e.TEXT="text",e.IMAGE="image",e.ICON="icon"}(st||(st={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(lt||(lt={})),function(e){e.DEFAULT="default",e.primary="primary",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error"}(ct||(ct={})),function(e){e.START="start",e.CENTER="center",e.END="end",e.STRETCHED="stretched"}(ut||(ut={}));var _t=function(){return _t=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},_t.apply(this,arguments)},It=r.forwardRef((function(e,t){var n;(0,we.s)(xe.k);var o=e.children,a=e.dir,s=e.style,l=e.className,c=e.type,u=e.orientation,h=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,["children","dir","style","className","type","orientation"]),d=r.useRef(null),p=r.useRef(null);return r.useImperativeHandle(d,(function(){return{element:p.current,props:e}})),r.useImperativeHandle(t,(function(){return d.current})),r.createElement("div",_t({dir:a,style:s,ref:p,className:(0,i.A)("k-card",l,(n={},n["k-card-".concat(c)]=c!==ct.DEFAULT,n),u!==lt.HORIZONTAL?"k-card-vertical":"k-card-horizontal")},h),o)}));It.displayName="KendoReactCard",It.propTypes={children:M.node,className:M.string,dir:M.string,orientation:M.oneOf(["horizontal","vertical"]),style:M.object,type:M.oneOf(["default","primary","info","success","warning","error"])},It.defaultProps={type:ct.DEFAULT,orientation:lt.VERTICAL};var Et=function(e){return r.createElement("div",{style:e.style,className:(0,i.A)("k-card-header",e.className)},e.children)};Et.propTypes={className:M.string};var St=function(e){return r.createElement("div",{style:e.style,className:(0,i.A)("k-card-title",e.className)},e.children)};St.propTypes={className:M.string};var Mt=function(e){return r.createElement("div",{style:e.style,className:(0,i.A)("k-card-body",e.className)},e.children)};Mt.propTypes={className:M.string};var Ot=function(e){return r.createElement("div",{style:e.style,className:(0,i.A)("k-card-actions",e.className,"k-card-actions-".concat(e.layout),e.orientation!==lt.VERTICAL?"k-card-actions-horizontal":"k-card-actions-vertical")},e.children)};Ot.propTypes={layout:M.oneOf(["stretched","start","center","end"]),orientation:M.oneOf(["horizontal","vertical"])},Ot.defaultProps={layout:ut.START,orientation:lt.HORIZONTAL};var Rt=function(e){return r.createElement("img",{style:e.style,className:(0,i.A)("k-card-image",e.className),src:e.src})};Rt.propTypes={className:M.string,src:M.string},Rt.defaultProps={src:""};var Ht=function(e){return r.createElement("div",{style:e.style,className:(0,i.A)("k-card-subtitle",e.className)},e.children)};Ht.propTypes={className:M.string};var Ft=function(e){return r.createElement("div",{style:e.style,className:(0,i.A)("k-card-footer",e.className)},e.children)};Ft.propTypes={className:M.string};var Vt=n(2697),Dt=function(e){var t;return(0,we.s)(xe.k),r.createElement("div",{style:e.style,className:(0,i.A)("k-avatar",(t={},t["k-avatar-bordered"]=e.border,t["k-rounded-".concat(Vt.G.roundedMap[e.rounded]||e.rounded)]=e.rounded,t["k-avatar-".concat(Vt.G.sizeMap[e.size]||e.size)]=e.size,t["k-avatar-".concat(e.fillMode)]=e.fillMode,t["k-avatar-".concat(e.fillMode,"-").concat(e.themeColor)]=Boolean(e.fillMode&&e.themeColor),t),e.className)},r.createElement("span",{className:"k-avatar-".concat(e.type)},e.children))};Dt.propTypes={className:M.string,type:M.oneOf(["text","image","icon"]),size:M.oneOf([null,"small","medium","large"]),rounded:M.oneOf([null,"small","medium","large","full"]),fillMode:M.oneOf([null,"solid","outline"]),themeColor:M.oneOf([null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"])},Dt.defaultProps={type:st.TEXT,size:"medium",rounded:"full",fillMode:"solid",themeColor:"primary"};var Bt=r.createContext({animation:!0,expanded:!1,mode:"overlay",position:"start",mini:!1,dir:"ltr",width:240,miniWidth:50}),At=n(4703),Nt=function(){return Nt=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},Nt.apply(this,arguments)},Lt=r.forwardRef((function(e,t){var n=e.className,a=e.style,s=e.text,l=e.icon,c=e.svgIcon,u=e.separator,h=e.disabled,d=e.selected,p=e.onSelect,f=e.index,m=e.tabIndex,v=e.children,g=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,["className","style","text","icon","svgIcon","separator","disabled","selected","onSelect","index","tabIndex","children"]),b=r.useContext(Bt),y=b.expanded,w=b.mini,x=b.item,k=r.useRef(null),z=r.useCallback((function(){k.current&&k.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:k.current,focus:z,props:e}}));var C=(0,i.A)("k-drawer-item",{"k-selected":d,"k-disabled":h},n),_=r.useCallback((function(t){if(p&&!h){var n={element:k.current,focus:z,props:e};p(n,f,t)}}),[p,f,h]),I=r.createElement(r.Fragment,null,(l||c)&&r.createElement(o.a,{name:l?(0,Ee.iJ)(l):l,icon:c}),!y&&w?null:r.createElement("span",{className:"k-item-text"},s));return u?r.createElement("li",{className:"k-drawer-item k-drawer-separator",role:"separator"}):r.createElement("li",Nt({ref:k,className:C,style:a,role:"menuitem","aria-label":s,"aria-disabled":h,onClick:_,tabIndex:(0,At.p)(m,h)},g),x?v:I)}));Lt.propTypes={className:M.string,style:M.object,text:M.string,icon:M.string,svgIcon:Ee.wi,separator:M.bool,selected:M.bool,disabled:M.bool,targetItem:M.any},Lt.displayName="KendoDrawerItem";var Pt=function(){return Pt=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},Pt.apply(this,arguments)},Tt={type:"slide",duration:200},jt={type:"slide",duration:0},Ut=r.forwardRef((function(e,t){var n=e.children,o=e.className,a=e.style,s=r.useContext(Bt),l=s.animation,c=s.expanded,u=s.mode,h=s.position,d=s.onOverlayClick,p=s.mini,f=s.dir,m=s.width,v=s.miniWidth,g=s.items,b=s.item,y=s.onSelect,w=r.useRef(null),x=r.useCallback((function(){w.current&&w.current.focus()}),[]),k="boolean"!=typeof l?l:!1===l?jt:Tt,z=m||240,C=v||50;r.useImperativeHandle(t,(function(){return{element:w.current,focus:x}}));var _=r.useMemo((function(){return"k-widget k-drawer "+(0,i.A)({"k-drawer-start":"start"===h,"k-drawer-end":"end"===h},o)}),[h]),I={opacity:1,flexBasis:z,WebkitTransition:"all "+(k&&k.duration)+"ms",transition:"all "+(k&&k.duration)+"ms"},E={opacity:1,transform:"translateX(0px)",WebkitTransition:"all "+(k&&k.duration)+"ms",transition:"all "+(k&&k.duration)+"ms"},S={opacity:p?1:0,flexBasis:p?C:0,WebkitTransition:"all "+(k&&k.duration)+"ms",transition:"all "+(k&&k.duration)+"ms"},M={opacity:0,transform:"translateX(-100%)",WebkitTransition:"all "+(k&&k.duration)+"ms",transition:"all "+(k&&k.duration)+"ms"},O={opacity:0,transform:"translateX(100%)",WebkitTransition:"all "+(k&&k.duration)+"ms",transition:"all "+(k&&k.duration)+"ms"},R={transform:"translateX(0%)",WebkitTransitionDuration:(k&&k.duration)+"ms",transitionDuration:(k&&k.duration)+"ms"},H=c?"push"===u?I:E:"push"===u?S:"ltr"===f&&"start"===h||"rtl"===f&&"end"===h?p?R:M:p?R:O,F=g&&r.createElement("ul",{className:"k-drawer-items",role:"menubar","aria-label":"drawer-list","aria-expanded":c},g.map((function(e,t){var n=Pt(Pt({index:t},e),{onSelect:y}),o=b||Lt;return r.createElement(o,Pt({key:t},n))}))),V=r.createElement("div",{style:k?Pt(Pt({},H),a):a,className:_,ref:w},r.createElement("div",{className:"k-drawer-wrapper",style:!c&&p&&"overlay"===u?{width:C}:{width:z}},F||n));return"overlay"===u?r.createElement(r.Fragment,null,c&&r.createElement("div",{className:"k-overlay",onClick:d}),V):V}));Ut.propTypes={children:M.any,className:M.string,style:M.object,item:M.any,tabIndex:M.number},Ut.displayName="KendoDrawerNavigation";var Kt=n(8199),Wt=r.forwardRef((function(e,t){(0,we.s)(xe.k);var n=e.expanded,o=e.mode,a=e.position,s=e.className,l=e.children,c=e.style,u=e.animation,h=e.mini,d=e.width,p=e.miniWidth,f=e.items,m=e.item,v=e.tabIndex,g=e.onOverlayClick,b=e.onSelect,y=r.useRef(null),w=r.useCallback((function(){y.current&&y.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:y.current,focus:w}}));var x=r.useCallback((function(e,t,n){if(f&&b){var r={itemTarget:e,itemIndex:t,syntheticEvent:n,nativeEvent:n&&n.nativeEvent,target:void 0};b.call(void 0,r)}}),[f,b]),k=(0,Kt.n)(y,e.dir),z=(0,i.A)({"k-drawer-container":!0,"k-drawer-expanded":n,"k-drawer-overlay":"overlay"===o,"k-drawer-push":"push"===o,"k-drawer-mini":h},s);return r.createElement(Bt.Provider,{value:{animation:u,expanded:n,mode:o,position:a,mini:h,dir:k,items:f,item:m,width:d,miniWidth:p,onOverlayClick:g,onSelect:x}},r.createElement("div",{className:z,ref:y,dir:k,style:c,tabIndex:v},f&&r.createElement(Ut,null),l))}));Wt.propTypes={animation:M.any,expanded:M.bool,children:M.any,className:M.string,dir:M.string,mode:M.string,position:M.string,mini:M.bool,style:M.object,tabIndex:M.number,width:M.number,miniWidth:M.number,selected:M.number,onSelect:M.func,onOverlayClick:M.func},Wt.defaultProps={animation:!0,expanded:!1,mode:"overlay",position:"start",mini:!1,dir:"ltr",width:240,miniWidth:50},Wt.displayName="KendoDrawer";var qt=r.forwardRef((function(e,t){var n=e.children,o=e.className,a=e.style,s=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:s.current}}));var l=(0,i.A)({"k-drawer-content":!0},o);return r.createElement("div",{className:l,style:a,ref:s},n)}));qt.propTypes={children:M.any,className:M.string,style:M.object},qt.displayName="KendoDrawerContent";var $t,Gt=r.createContext({linear:!1,mode:"steps",value:0}),Yt=n(9124),Xt=n(1573),Zt="stepper.optionalText",Jt="stepper.progBarAriaLabel",Qt=(($t={})[Zt]="(Optional)",$t[Jt]="progressbar",$t),en=function(){return en=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},en.apply(this,arguments)},tn=r.forwardRef((function(e,t){var n=e.children,a=e.className,s=e.current,l=e.disabled,c=e.focused,u=e.icon,h=e.svgIcon,d=e.index,p=e.isValid,f=e.label,m=e.optional,v=e.style,g=e.tabIndex,b=e.text,y=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,["children","className","current","disabled","focused","icon","svgIcon","index","isValid","label","optional","style","tabIndex","text"]),w=r.useContext(Gt),x=w.animationDuration,k=w.isVertical,z=w.item,C=w.linear,_=w.mode,I=w.numOfSteps,E=w.value,S=w.onChange,M=w.onFocus,O=w.successIcon,R=w.errorIcon,H=w.successSVGIcon,F=w.errorSVGIcon,V=r.useRef(null),D=r.useCallback((function(){V.current&&(0,Yt.n)(V.current)}),[]),B=r.useCallback((function(){return{element:V.current,focus:D}}),[D]);r.useImperativeHandle(t,B);var A,N=!C||d===E-1||d===E||d===E+1,T="labels"===_||Boolean(u)&&Boolean(f),j=(0,wt.useLocalization)(),U=(A=Zt,j.toLanguageString(A,Qt[A])),K="number"==typeof x?x:!1!==x?400:0,W=r.useCallback((function(e){S&&!l&&(0,Ye.N)(S,e,B(),{value:d})}),[S,E,l]),q=r.useCallback((function(e){M&&!l&&(0,Ye.N)(M,e,B(),void 0)}),[M,l]),$=r.useMemo((function(){return(0,i.A)("k-step",{"k-step-first":0===d,"k-step-last":I&&d===I-1,"k-step-done":d<E,"k-step-current":s,"k-step-optional":m,"k-step-error":void 0!==p&&!p,"k-step-success":p},{"k-disabled":l,"k-focus":c},a)}),[d,I,E,s,m,l,c,p,a]),G=r.useMemo((function(){return en({maxWidth:k?void 0:"calc(100% / ".concat(I,")"),maxHeight:k?"calc(100% / ".concat(I,")"):void 0,pointerEvents:N?void 0:"none"},v)}),[k,I,v,N]),Y=p?O:R,X=Y?r.createElement("span",{className:"k-step-indicator-icon "+Y,"aria-hidden":"true"}):r.createElement(o.a,{className:"k-step-indicator-icon",name:p?"check-circle":"exclamation-circle",icon:p?H||L:F||P}),Z=r.createElement(r.Fragment,null,"labels"!==_?r.createElement("span",{className:"k-step-indicator","aria-hidden":!0,style:{transitionDuration:K+"ms"}},u||h?T||void 0===p?r.createElement(o.a,{className:"k-step-indicator-icon",name:u?(0,Ee.iJ)(u):u,icon:h}):X:void 0!==p?X:r.createElement("span",{className:"k-step-indicator-text"},b||d+1)):null),J=r.createElement("span",{className:"k-step-label"},f&&r.createElement("span",{className:"k-step-text"},f),T&&void 0!==p&&X,m&&r.createElement("span",{className:"k-step-label-optional"},U)),Q=r.createElement(r.Fragment,null,Z,J);return r.createElement("li",en({ref:V,className:$,style:G},y),r.createElement("a",{className:"k-step-link",title:f||void 0,onClick:W,onFocus:q,tabIndex:g||(c?0:-1),"aria-current":s,"aria-disabled":l||!N||void 0,"aria-invalid":void 0!==p&&!p||void 0},z?n:Q))}));tn.propTypes={children:M.any,className:M.string,current:M.bool,disabled:M.bool,icon:M.string,index:M.number,isValid:M.bool,label:M.string,optional:M.bool,style:M.object,tabIndex:M.number,text:M.string},tn.defaultProps={tabIndex:0},tn.displayName="KendoStep";var nn=n(2013),rn=function(){return rn=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},rn.apply(this,arguments)},on=r.forwardRef((function(e,t){(0,we.s)(xe.k);var n=e.animationDuration,o=e.children,a=e.className,s=e.disabled,l=e.errorIcon,c=e.errorSVGIcon,u=e.item,h=e.items,d=e.linear,p=e.mode,f=e.orientation,m=e.style,v=e.successIcon,g=e.successSVGIcon,b=e.onChange,y=e.onFocus,w=(0,wt.useLocalization)().toLanguageString(Jt,Qt[Jt]),x=r.useRef(null),k=r.useCallback((function(){x.current&&(0,Yt.n)(x.current)}),[]),z=r.useCallback((function(){return{element:x.current,focus:k}}),[k]);r.useImperativeHandle(t,z);var C=e.value||an.value,_=r.useState(C),I=_[0],E=_[1],S=h?h.length:0,M="vertical"===f,O=(0,Xt.V)(x,e.dir),R="number"==typeof n?n:!1!==n?400:0,H=r.useCallback((function(e,t){C!==t&&b&&!s&&(!d||t===C-1||t===C||t===C+1)&&((0,Ye.N)(b,e,z(),{value:t}),E(t))}),[C,d,b,s,E]),F=r.useCallback((function(e){var t=e.value,n=e.syntheticEvent;H(n,t)}),[H]),V=r.useCallback((function(e){y&&!s&&(0,Ye.N)(y,e.syntheticEvent,z(),void 0)}),[y,s]),D=r.useCallback((function(e){H(e,I)}),[H,I]),B=r.useCallback((function(e){var t="rtl"===O,n=I,r=h.length-1;switch(e.keyCode){case Z.R.left:e.preventDefault(),!t&&n>0&&E(n-1),t&&n<r&&E(n+1);break;case Z.R.right:e.preventDefault(),!t&&n<r&&E(n+1),t&&n>0&&E(n-1);break;case Z.R.up:e.preventDefault(),!t&&n>0&&E(n-1),t&&n>0&&E(n-1);break;case Z.R.down:e.preventDefault(),!t&&n<r&&E(n+1),t&&n<r&&E(n+1);break;case Z.R.home:e.preventDefault(),E(0);break;case Z.R.end:e.preventDefault(),E(r);break;case Z.R.space:e.preventDefault();break;case Z.R.enter:e.preventDefault(),h[n].disabled||D(e)}}),[h,E,I,O,D]),A=r.useMemo((function(){return(0,i.A)("k-stepper",{"k-stepper-linear":d},a)}),[d,a]),N=r.useMemo((function(){return rn({display:"grid",gridTemplateColumns:M?void 0:"repeat("+2*S+", 1fr)",gridTemplateRows:M?"repeat("+S+", 1fr)":void 0},m)}),[M,S,m]),L=r.useMemo((function(){return(0,i.A)("k-step-list",{"k-step-list-horizontal":!M,"k-step-list-vertical":M})}),[M]),P=r.useMemo((function(){return{gridColumnStart:M?void 0:1,gridColumnEnd:M?void 0:-1,gridRowStart:M?1:void 0,gridRowEnd:M?-1:void 0}}),[M]),T=r.useMemo((function(){return{gridColumnStart:M?void 0:2,gridColumnEnd:M?void 0:2*S,gridRowStart:M?1:void 0,gridRowEnd:M?S:void 0,top:M?17:void 0}}),[M,S]),j=h&&h.map((function(e,t){var n=rn({index:t,disabled:s||e.disabled,focused:t===I,current:t===C},e),o=u||tn;return r.createElement(o,rn({key:t},n))}));return r.createElement(Gt.Provider,{value:{animationDuration:n,isVertical:M,item:u,linear:d,mode:p,numOfSteps:S,value:C,successIcon:v,successSVGIcon:g,errorIcon:l,errorSVGIcon:c,onChange:F,onFocus:V}},r.createElement("nav",{className:A,style:N,dir:O,onKeyDown:B},r.createElement("ol",{className:L,style:P},j||o),r.createElement(nn.k,{style:T,animation:{duration:R},ariaLabel:w,"aria-hidden":!0,max:S-1,labelVisible:!1,orientation:f,reverse:"vertical"===f,value:C,disabled:s,tabIndex:-1})))}));on.propTypes={animationDuration:M.oneOfType([M.bool,M.number]),children:M.any,className:M.string,dir:M.string,disabled:M.bool,errorIcon:M.string,errorSVGIcon:Ee.wi,item:M.any,items:M.any,linear:M.bool,mode:M.oneOf(["steps","labels"]),orientation:M.oneOf(["horizontal","vertical"]),style:M.object,successIcon:M.string,successSVGIcon:Ee.wi,value:M.number.isRequired,onChange:M.func,onFocus:M.func};var an={value:0};on.defaultProps=an,on.displayName="KendoStepper";var sn=r.forwardRef((function(e,t){(0,we.s)(xe.k);var n=e.children,o=e.className,a=e.style,s=e.id,l=r.useRef(null),c=r.useCallback((function(){l.current&&(0,Yt.n)(l.current)}),[]),u=r.useCallback((function(){return{element:l.current,focus:c}}),[c]);r.useImperativeHandle(t,u);var h=r.useMemo((function(){return(0,ve.M)()}),[]),d=r.useMemo((function(){return e.themeColor||ln.themeColor}),[e.themeColor]),p=r.useMemo((function(){return e.position||ln.position}),[e.position]),f=r.useMemo((function(){return e.positionMode||ln.positionMode}),[e.positionMode]),m=r.useMemo((function(){return(0,i.A)("k-appbar",{"k-appbar-top":"top"===p,"k-appbar-bottom":"bottom"===p,"k-appbar-static":"static"===f,"k-appbar-sticky":"sticky"===f,"k-appbar-fixed":"fixed"===f,"k-appbar-light":"light"===d,"k-appbar-dark":"dark"===d,"k-appbar-inherit":"inherit"===d},o)}),[p,f,d,o]);return r.createElement("div",{className:m,style:a,id:s||h},n)}));sn.propTypes={children:M.any,className:M.string,style:M.object,id:M.string,themeColor:M.string,position:M.oneOf(["top","bottom"]),positionMode:M.oneOf(["static","sticky","fixed"])};var ln={themeColor:"light",position:"top",positionMode:"static"};sn.displayName="KendoAppBar";var cn=r.forwardRef((function(e,t){var n=e.children,o=e.className,a=e.style,s=r.useRef(null),l=r.useCallback((function(){s.current&&(0,Yt.n)(s.current)}),[]),c=r.useCallback((function(){return{element:s.current,focus:l}}),[l]);r.useImperativeHandle(t,c);var u=r.useMemo((function(){return(0,i.A)("k-appbar-section",o)}),[o]);return r.createElement("div",{className:u,style:a},n)}));cn.propTypes={children:M.any,className:M.string,style:M.object},cn.displayName="KendoAppBarSection";var un=r.forwardRef((function(e,t){var n=e.children,o=e.className,a=e.style,s=r.useRef(null),l=r.useCallback((function(){s.current&&(0,Yt.n)(s.current)}),[]),c=r.useCallback((function(){return{element:s.current,focus:l}}),[l]);r.useImperativeHandle(t,c);var u=r.useMemo((function(){return(0,i.A)("k-appbar-spacer",{"k-appbar-spacer-sized":a&&a.width&&null!==a.width},o)}),[o,a]),h=r.useMemo((function(){return{flexBasis:a&&a.width?a.width:void 0}}),[a]);return r.createElement("span",{className:u,style:h},n)}));un.propTypes={children:M.any,className:M.string,style:M.object},un.displayName="KendoAppBarSpacer";var hn=n(9659),dn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pn=function(){return pn=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},pn.apply(this,arguments)},fn=function(e){return r.createElement(J._,{onPress:e.onPress,onDrag:function(t){e.onResize(t.event,!1,e.d)},onRelease:function(t){e.onResize(t.event,!0,e.d)}},r.createElement("div",{className:"k-resize-handle k-cursor-"+e.d+"-resize",style:pn({bottom:0,right:0},e.style)}))},mn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleResize=function(e,n,r){e.originalEvent.preventDefault(),t.props.onResize(e,{end:n,direction:r})},t}return dn(t,e),t.prototype.render=function(){var e=this.props,t=e.resizable,n=e.onPress,o=e.rtl;return t?r.createElement(r.Fragment,null,"vertical"!==t&&r.createElement(fn,{onPress:n,onResize:this.handleResize,d:"ew",style:o?{top:0,width:9,left:0,right:""}:{top:0,width:9,right:0,left:""}}),"horizontal"!==t&&r.createElement(fn,{onPress:n,onResize:this.handleResize,d:"ns",style:{left:0,height:9}}),!0===t&&r.createElement(fn,{onPress:n,onResize:this.handleResize,d:o?"nesw":"nwse",style:o?{width:9,height:9,right:"",left:0}:{width:9,height:9,right:0,left:""}})):null},t}(r.Component),vn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gn=function(){return gn=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},gn.apply(this,arguments)},bn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={rtl:!1},t.oldSize={},t.draggable=null,t.dragging=!1,t.resizing=!1,t.element=null,t.ignoreDrag=!1,t.pressOffset={x:0,y:0},t.pressXY={x:0,y:0},t.currentTranslate={x:0,y:0},t.preventDataOps=void 0,t.handleResize=function(e,n){if(n.end)t.handleRelease();else if(t.element){var r=e.clientX,o=e.clientY;t.resizing=!0;var i=("ns"!==n.direction?r-t.pressXY.x:0)*(t.state.rtl?-1:1),a="ew"!==n.direction?o-t.pressXY.y:0;if(t.dragElement&&(t.state.rtl?t.dragElement.style.marginLeft=-i+"px":t.dragElement.style.marginRight=-i+"px",t.dragElement.style.height="calc(100% + ".concat(a,"px)")),t.element.classList.add("k-layout-item-hint","k-layout-item-hint-resize"),!t.preventDataOps){var s=0,l=0,c=t.element.getBoundingClientRect();i>c.width/t.props.defaultPosition.colSpan/3&&(s=1),i<-c.width/t.props.defaultPosition.colSpan/1.25&&(s=-1),a>c.height/t.props.defaultPosition.rowSpan/3&&(l=1),a<-c.height/t.props.defaultPosition.rowSpan/1.25&&(l=-1),0===s&&0===l||t.props.update(t.props.index,0,0,l,s)}}},t.handlePress=function(e){if(t.dragElement)if(t.ignoreDrag=!1,t.props.ignoreDrag&&t.props.ignoreDrag(e.event.originalEvent))t.ignoreDrag=!0;else{t.element&&(t.element.style.zIndex="10",t.element.classList.add("k-layout-item-hint")),t.dragElement.classList.remove("k-cursor-grab"),t.dragElement.classList.add("k-cursor-grabbing");var n=t.dragElement.getBoundingClientRect();t.pressXY={x:e.event.clientX,y:e.event.clientY},t.pressOffset={x:e.event.clientX-n.x,y:e.event.clientY-n.y}}},t.handleDrag=function(e){if(!t.ignoreDrag){var n=t.dragElement;if(!e.event.originalEvent.defaultPrevented&&n){t.dragging=!0,e.event.originalEvent.preventDefault();var r=n.getBoundingClientRect();if(t.currentTranslate={x:e.event.clientX-r.x-t.pressOffset.x+t.currentTranslate.x,y:e.event.clientY-r.y-t.pressOffset.y+t.currentTranslate.y},n.style.transform="translate(".concat(t.currentTranslate.x,"px, ").concat(t.currentTranslate.y,"px)"),n.style.transition="transform 0s",!t.preventDataOps){var o=0,i=0;t.currentTranslate.y>.7*r.height/t.props.defaultPosition.rowSpan&&(i=1),t.currentTranslate.y<.7*-r.height/t.props.defaultPosition.rowSpan&&(i=-1),t.currentTranslate.x>.7*r.width/t.props.defaultPosition.colSpan&&(o=1),t.currentTranslate.x<.7*-r.width/t.props.defaultPosition.colSpan&&(o=-1),t.props.update(t.props.index,i,t.state.rtl?-o:o,0,0)}}}},t.handleRelease=function(){t.dragging=t.resizing=!1,t.currentTranslate={x:0,y:0},t.element&&(t.element.style.zIndex="1",t.element.classList.remove("k-layout-item-hint","k-layout-item-hint-resize"));var e=t.dragElement;e&&(e.style.transform="translate(0px, 0px)",e.style.transition="transform ".concat(200,"ms cubic-bezier(0.2, 0, 0, 1) 0s"),e.style.marginRight="0px",e.style.marginLeft="0px",e.style.height="100%",e.classList.remove("k-cursor-grabbing"),e.classList.add("k-cursor-grab"))},t}return vn(t,e),Object.defineProperty(t.prototype,"reorderable",{get:function(){return void 0!==this.props.reorderable?this.props.reorderable:t.defaultProps.reorderable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dragElement",{get:function(){return this.draggable?this.draggable.element:void 0},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.element&&"rtl"===getComputedStyle(this.element).direction&&this.setState({rtl:!0})},t.prototype.render=function(){var e=this;clearTimeout&&"function"==typeof clearTimeout&&(clearTimeout(this.preventDataOps),this.preventDataOps=window.setTimeout((function(){e.preventDataOps=void 0}),200));var n=this.props.defaultPosition,o=void 0!==this.props.resizable?this.props.resizable:t.defaultProps.resizable,a=gn({gridColumnStart:n.col,gridColumnEnd:"span ".concat(n.colSpan),gridRowStart:n.row,gridRowEnd:"span ".concat(n.rowSpan),outline:"none",order:n.order},this.props.hintStyle),s=r.createElement("div",{ref:function(t){e.draggable=t?{element:t}:null},className:(0,i.A)("k-tilelayout-item k-card",{"k-cursor-grab":this.reorderable},this.props.className),style:gn({height:"100%"},this.props.style)},this.props.children,r.createElement(mn,{onPress:this.handlePress,onResize:this.handleResize,resizable:o,rtl:this.state.rtl}));return r.createElement("div",{ref:function(t){e.element=t},style:a,className:this.props.hintClassName},r.createElement(J._,{ref:function(t){e.draggable=t},onDrag:this.props.reorderable?this.handleDrag:void 0,onRelease:this.props.reorderable?this.handleRelease:void 0,onPress:this.props.reorderable?this.handlePress:void 0},s))},t.prototype.getSnapshotBeforeUpdate=function(e){return this.oldSize={},this.dragElement&&(this.oldSize=this.dragElement.getBoundingClientRect()),null},t.prototype.componentDidUpdate=function(e){var t=this,n=this.dragElement;if(n){var r=n.getBoundingClientRect(),o=this.oldSize;if(this.resizing){var i=r.width-o.width;if(this.state.rtl){var a=parseFloat(n.style.marginLeft||"0");n.style.marginLeft=a-i+"px"}else a=parseFloat(n.style.marginRight||"0"),n.style.marginRight=a+i+"px";this.pressXY.x+=this.state.rtl?-i:i;var s=r.height-o.height,l=parseFloat(n.style.height.substring(12));n.style.height="calc(100% + ".concat(l+s,"px)"),this.pressXY.y+=s}var c=o.left-r.left,u=o.top-r.top;0===c&&0===u||(this.dragging?e.defaultPosition.order===this.props.defaultPosition.order&&e.defaultPosition.col===this.props.defaultPosition.col||(this.currentTranslate.x=0,this.currentTranslate.y=0,n.style.transform=""):Math.abs(u)<15&&Math.abs(c)<15||requestAnimationFrame((function(){var e=t.element;e&&(e.style.transform="translate(".concat(c,"px, ").concat(u,"px)"),e.style.transition="transform 0s",requestAnimationFrame((function(){e.style.transform="",e.style.transition="transform ".concat(200,"ms cubic-bezier(0.2, 0, 0, 1) 0s")})))})))}},t.propTypes={defaultPosition:M.object.isRequired,style:M.object,className:M.string,hintStyle:M.object,hintClassName:M.string,header:M.any,body:M.any,item:M.any,resizable:M.oneOf(["horizontal","vertical",!0,!1]),reorderable:M.bool},t.displayName="KendoTileLayoutItem",t.defaultProps={resizable:!0,reorderable:!0},t}(r.Component),yn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),wn=function(){return wn=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},wn.apply(this,arguments)},xn={column:"k-grid-flow-col",row:"k-grid-flow-row","column dense":"k-grid-flow-col-dense","row dense":"k-grid-flow-row-dense",unset:"k-grid-flow-unset"},kn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t.state={positions:(t.props.items||[]).map((function(e,t){return Object.assign({order:t,rowSpan:1,colSpan:1},e.defaultPosition)}))},t.focus=function(){t._element&&t._element.focus()},t.update=function(e,n,r,o,i){if(void 0===o&&(o=0),void 0===i&&(i=0),0!==n||0!==r||i||o){var a=!1,s=t.state.positions.map((function(e){return Object.assign({},e)})),l=s[e],c=s.find((function(e){return e.order===l.order+n}));c&&c!==l&&(l.order+=n,c.order+=-n,a=!0);var u=l.col+r;0!==r&&u>=1&&u+l.colSpan<=(t.props.columns||3)+1&&(l.col=u,a=!0);var h=l.colSpan+i;i&&h>=1&&h+l.col<=(t.props.columns||3)+1&&(l.colSpan=h,a=!0);var d=l.rowSpan+o;o&&d>=1&&(l.rowSpan=d,a=!0),a&&(t.setState({positions:s}),(0,Ye.N)(t.props.onReposition,{},t,{value:s}))}},t}return yn(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){return e.positions?{positions:e.positions.map((function(e,t){return Object.assign({order:t,rowSpan:1,colSpan:1},e)}))}:!e.items||t.positions&&e.items.length===t.positions.length?null:{positions:e.items.map((function(e,t){return Object.assign({order:t,rowSpan:1,colSpan:1},e.defaultPosition)}))}},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.columns,a=void 0===o?3:o,s=t.columnWidth,l=void 0===s?"1fr":s,c=t.gap,u=t.rowHeight,h=void 0===u?"1fr":u,d=t.style,p=t.autoFlow,f=void 0===p?"column":p,m=t.items,v=void 0===m?[]:m,g=c?"".concat("number"==typeof c.rows?c.rows+"px":c.rows)+" "+"".concat("number"==typeof c.columns?c.columns+"px":c.columns):16,b=wn({gridTemplateColumns:"repeat(".concat(a,", minmax(0px, ").concat("number"==typeof l?l+"px":l,"))"),gridAutoRows:"minmax(0px, ".concat("number"==typeof h?h+"px":h,")"),gap:g,padding:g},d);return r.createElement("div",{ref:function(t){e._element=t},dir:this.props.dir,className:(0,i.A)("k-tilelayout",xn[f],n),style:b,id:this.props.id,children:v.map((function(t,n){return r.createElement(bn,{key:e.props.dataItemKey?(0,hn.Y)(e.props.dataItemKey)(t):n,update:e.update,defaultPosition:e.state.positions[n],index:n,resizable:t.resizable,reorderable:t.reorderable,style:t.style,className:t.className,hintClassName:t.hintClassName,hintStyle:t.hintStyle,ignoreDrag:e.props.ignoreDrag},t.item?t.item:r.createElement(r.Fragment,null,r.createElement("div",{className:"k-tilelayout-item-header k-card-header"},r.isValidElement(t.header)?t.header:r.createElement("h5",{className:"k-card-title"},t.header)),r.createElement("div",{className:"k-tilelayout-item-body k-card-body"},t.body)))}))})},t.propTypes={id:M.string,style:M.object,className:M.string,dir:M.string,gap:M.object,columns:M.number,columnWidth:M.oneOfType([M.number,M.string]),rowHeight:M.oneOfType([M.number,M.string]),dataItemKey:M.string,items:M.array,positions:M.array,autoFlow:M.oneOf(["column","row","column dense","row dense","unset"]),onReposition:M.func,ignoreDrag:M.func},t.displayName="KendoTileLayout",t}(r.Component),zn={vertical:"k-bottom-nav-item-flow-vertical",horizontal:"k-bottom-nav-item-flow-horizontal"},Cn={fixed:"k-pos-fixed",sticky:"k-pos-sticky"},_n=r.forwardRef((function(e,t){(0,we.s)(xe.k);var n=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:n.current}}));var a=e.className,s=e.style,l=e.selected,c=e.disabled,u=e.item,h=e.render,d=e.dataItem,p=e.icon,f=e.svgIcon,m=e.text,v=e.id,g=e.onSelect,b=e.onKeyDown,y=e.index,w=e.tabIndex,x=r.useMemo((function(){return(0,i.A)("k-bottom-nav-item",{"k-selected":l,"k-disabled":c},a)}),[l,c,a]),k=r.useCallback((function(e){g&&void 0!==y&&!c&&g(e,y)}),[g,y,c]),z=r.useCallback((function(e){b&&void 0!==y&&!c&&b(e,y)}),[b,y,c]),C=h,_=u,I=r.createElement("span",{ref:n,className:x,style:s,role:"link",id:v,tabIndex:w,onClick:k,onKeyDown:z,"aria-current":l,"aria-disabled":c},_?r.createElement(_,{itemIndex:y,item:d}):r.createElement(r.Fragment,null,(p||f)&&r.createElement(o.a,{className:"k-bottom-nav-item-icon",name:p,icon:f}),m&&r.createElement("span",{className:"k-bottom-nav-item-text",style:{userSelect:"none"}},m)));return void 0!==C?C.call(void 0,I,e):I}));_n.propTypes={className:M.string,style:M.object,id:M.string,disabled:M.bool,selected:M.bool,icon:M.string,svgIcon:Ee.wi,text:M.string,tabIndex:M.number},_n.defaultProps={tabIndex:0},_n.displayName="KendoReactBottomNavigationItem";var In=function(){return In=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},In.apply(this,arguments)},En=r.forwardRef((function(e,t){(0,we.s)(xe.k);var n=r.useRef(null),o=r.useCallback((function(){n.current&&(0,Yt.n)(n.current)}),[]),a=r.useCallback((function(){return{element:n.current,focus:o}}),[o]);r.useImperativeHandle(t,a);var s=e.positionMode,l=void 0===s?Sn.positionMode:s,c=e.itemFlow,u=void 0===c?Sn.itemFlow:c,h=e.border,d=void 0===h?Sn.border:h,p=e.className,f=e.items,m=e.item,v=e.itemRender,g=e.disabled,b=e.style,y=e.id,w=e.onSelect,x=e.onKeyDown,k=r.useMemo((function(){return(0,ve.M)()}),[]),z=(0,Kt.n)(n,e.dir),C=r.useMemo((function(){return null===e.fillMode||null===e.fill?null:e.fill||e.fillMode||Sn.fillMode}),[e.fillMode,e.fill]),_=r.useMemo((function(){return e.themeColor||Sn.themeColor}),[e.themeColor]),I=r.useMemo((function(){var e;return(0,i.A)("k-bottom-nav",Cn[l],zn[u],((e={})["k-bottom-nav-".concat(C)]=C,e["k-bottom-nav-".concat(C,"-").concat(_)]=Boolean(C&&_),e["k-bottom-nav-border"]=d,e["k-disabled"]=g,e),p)}),[l,_,C,u,d,g,p]),E=r.useCallback((function(e,t){f&&!f[t].disabled&&w&&(0,Ye.N)(w,e,a(),{itemTarget:f[t],itemIndex:t})}),[f,w]),S=r.useCallback((function(e,t){E(e,t)}),[E]),M=r.useCallback((function(e,t){switch(e.keyCode){case Z.R.enter:case Z.R.space:E(e,t),e.preventDefault()}(0,Ye.N)(x,e,a(),void 0)}),[E,x]);return r.createElement("nav",{ref:n,className:I,style:b,id:y||k,dir:z},f&&f.map((function(e,t){return r.createElement(_n,In({},e,{key:t,index:t,id:"".concat(y||k,"-").concat(t),disabled:g||e.disabled,selected:e.selected,dataItem:e,item:m,render:v,onSelect:S,onKeyDown:M}))})))})),Sn={themeColor:"primary",fillMode:"flat",itemFlow:"vertical",positionMode:"fixed",border:!0};En.propTypes={className:M.string,style:M.object,id:M.string,dir:M.string,themeColor:M.oneOf(["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]),fill:M.oneOf(["solid","flat"]),fillMode:M.oneOf(["solid","flat"]),itemFlow:M.oneOf(["vertical","horizontal"]),border:M.bool,disabled:M.bool,selected:M.number,onSelect:M.func},En.defaultProps=Sn,En.displayName="KendoReactBottomNavigation";var Mn=n(9302),On=function(){return On=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},On.apply(this,arguments)},Rn=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useCallback((function(){return{element:n.current}}),[]);r.useImperativeHandle(t,o);var a=e.className,s=e.style,l=e.id,c=e.children,u=r.useMemo((function(){return(0,ve.M)()}),[]),h=r.useMemo((function(){return e.orientation||Hn.orientation}),[e.orientation]),d="horizontal"===h,p=r.useMemo((function(){return e.align&&e.align.horizontal?e.align.horizontal:Hn.hAlign}),[e.align]),f=r.useMemo((function(){return e.align&&e.align.vertical?e.align.vertical:Hn.vAlign}),[e.align]),m=r.useMemo((function(){return(0,i.A)("k-stack-layout",{"k-hstack":"horizontal"===h,"k-vstack":"vertical"===h,"k-justify-content-start":d&&"start"===p||!d&&"top"===f,"k-justify-content-center":d&&"center"===p||!d&&"middle"===f,"k-justify-content-end":d&&"end"===p||!d&&"bottom"===f,"k-justify-content-stretch":d&&"stretch"===p||!d&&"stretch"===f,"k-align-items-start":!d&&"start"===p||d&&"top"===f,"k-align-items-center":!d&&"center"===p||d&&"middle"===f,"k-align-items-end":!d&&"end"===p||d&&"bottom"===f,"k-align-items-stretch":!d&&"stretch"===p||d&&"stretch"===f},a)}),[h,d,p,f,a]),v=On({gap:"".concat("number"==typeof e.gap?e.gap+"px":e.gap)},s);return r.createElement("div",{ref:n,className:m,style:v,id:l||u},c)})),Hn={orientation:"horizontal",hAlign:"stretch",vAlign:"stretch"};Rn.propTypes={className:M.string,style:M.object,children:M.any,id:M.string,orientation:M.oneOf(["horizontal","vertical"]),gap:M.oneOfType([M.string,M.number]),align:M.shape({vertical:M.oneOf(["top","middle","bottom","stretch"]),horizontal:M.oneOf(["start","center","end","stretch"])})},Rn.defaultProps=Hn,Rn.displayName="KendoReactStackLayout";var Fn=function(){return Fn=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},Fn.apply(this,arguments)},Vn=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useCallback((function(){return{element:n.current}}),[]);r.useImperativeHandle(t,o);var a=e.className,s=e.style,l=e.id,c=e.children,u=e.gap,h=r.useMemo((function(){return(0,ve.M)()}),[]),d=r.useMemo((function(){return e.align&&e.align.horizontal?e.align.horizontal:Dn.hAlign}),[e.align]),p=r.useMemo((function(){return e.align&&e.align.vertical?e.align.vertical:Dn.vAlign}),[e.align]),f=r.useMemo((function(){return(0,i.A)("k-grid-layout",{"k-justify-items-start":"start"===d,"k-justify-items-center":"center"===d,"k-justify-items-end":"end"===d,"k-justify-items-stretch":"stretch"===d,"k-align-items-start":"top"===p,"k-align-items-center":"middle"===p,"k-align-items-end":"bottom"===p,"k-align-items-stretch":"stretch"===p},a)}),[d,p,a]),m=u?"".concat("number"==typeof u.rows?u.rows+"px":u.rows)+" "+"".concat("number"==typeof u.cols?u.cols+"px":u.cols):void 0,v=e.rows&&e.rows.map((function(e){return"".concat("number"==typeof e.height?e.height+"px":e.height)})).join(" "),g=e.cols&&e.cols.map((function(e){return"".concat("number"==typeof e.width?e.width+"px":e.width)})).join(" "),b=Fn({gap:m,gridTemplateColumns:g,gridTemplateRows:v},s);return r.createElement("div",{ref:n,className:f,style:b,id:l||h},c)})),Dn={hAlign:"stretch",vAlign:"stretch",gap:void 0};Vn.propTypes={className:M.string,style:M.object,children:M.any,id:M.string,gap:M.shape({rows:M.oneOfType([M.string,M.number]),columns:M.oneOfType([M.string,M.number])}),align:M.shape({vertical:M.oneOf(["top","middle","bottom","stretch"]),horizontal:M.oneOf(["start","center","end","stretch"])})},Vn.defaultProps=Dn,Vn.displayName="KendoReactGridLayout";var Bn=function(){return Bn=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},Bn.apply(this,arguments)},An=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useCallback((function(){return{element:n.current}}),[]);r.useImperativeHandle(t,o);var i=e.className,a=e.style,s=e.id,l=e.children,c=e.row,u=e.col,h=e.rowSpan,d=e.colSpan,p=r.useMemo((function(){return(0,ve.M)()}),[]),f=Bn({gridArea:"".concat(c||"auto"," / ").concat(u||"auto"," / ").concat(h?"span "+h:"auto"," / ").concat(d?"span "+d:"auto")},a);return r.createElement("div",{ref:n,className:i,style:f,id:s||p},l)}));An.propTypes={className:M.string,style:M.object,children:M.any,id:M.string},An.displayName="KendoReactGridLayoutItem";var Nn=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useRef(null),a=r.useCallback((function(){o.current&&o.current.focus()}),[o]);return r.useImperativeHandle(n,(function(){return{element:o.current,focus:a,props:e}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("li",{ref:o,id:e.id,style:e.style,className:(0,i.A)("k-breadcrumb-item",{"k-breadcrumb-root-item":e.isFirstItem,"k-breadcrumb-last-item":e.isLastItem},e.className)},e.children)})),Ln={id:M.string,className:M.string,children:M.any,style:M.object};Nn.displayName="KendoReactBreadcrumbListItem",Nn.propTypes=Ln;var Pn=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),i=r.useRef(null);return r.useImperativeHandle(n,(function(){var t;return{element:(null===(t=i.current)||void 0===t?void 0:t.element)||null,props:e}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement(o.a,{ref:i,id:e.id,"aria-hidden":!0,tabIndex:e.tabIndex,style:e.style,name:"chevron-right",icon:A,className:"k-breadcrumb-delimiter-icon"})})),Tn={id:M.string,className:M.string,style:M.object,tabIndex:M.number};Pn.displayName="KendoReactBreadcrumbDelimiter",Pn.propTypes=Tn;var jn=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useRef(null),a=r.useCallback((function(){o.current&&o.current.focus()}),[o]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:a,props:e}})),r.useImperativeHandle(t,(function(){return n.current}));var s=r.useCallback((function(t){e.id&&(0,Ye.N)(e.onItemSelect,t,t.target,{id:e.id})}),[e.onItemSelect]),l=r.useCallback((function(t){e.id&&(0,Ye.N)(e.onKeyDown,t,t.target,{id:e.id})}),[e.onKeyDown]);return r.createElement("span",{"aria-current":e.ariaCurrent?e.ariaCurrent:e.isLast,role:"link",id:e.id,ref:o,style:e.style,dir:(0,Kt.n)(o,e.dir),tabIndex:(0,At.p)(e.tabIndex,e.disabled),className:(0,i.A)({"k-breadcrumb-root-link":e.isFirst,"k-breadcrumb-link":!e.isFirst,"k-breadcrumb-icontext-link":void 0!==e.iconClass&&e.text,"k-breadcrumb-icon-link":void 0!==e.iconClass&&!e.text,"k-disabled":e.disabled}),onClick:s,onKeyDown:l},e.iconClass?r.createElement("span",{className:(0,i.A)("k-icon",e.iconClass)}):e.icon?e.icon:"",e.text&&r.createElement("span",{className:"k-breadcrumb-item-text"},e.text))})),Un={id:M.string,className:M.string,tabIndex:M.number,style:M.object,dir:M.string,disabled:M.bool,text:M.string,icon:M.node,iconClass:M.string,onClick:M.func,ariaCurrent:M.bool};jn.displayName="KendoReactBreadcrumbLink",jn.propTypes=Un;var Kn=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current,props:e}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("ol",{id:e.id,ref:o,style:e.style,dir:(0,Kt.n)(o,e.dir),tabIndex:(0,At.p)(e.tabIndex,e.disabled),className:(0,i.A)("k-breadcrumb-container",{"k-disabled":e.disabled},e.className)},e.children)})),Wn={id:M.string,className:M.string,children:M.element,tabIndex:M.number,style:M.object,dir:M.string,disabled:M.bool};Kn.displayName="KendoReactBreadcrumbOrderedList",Kn.propTypes=Wn;var qn=function(){return qn=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},qn.apply(this,arguments)},$n=r.forwardRef((function(e,t){(0,Mn.validatePackage)(xe.k);var n=r.useRef(null),o=r.useRef(null),a=r.useMemo((function(){return e.breadcrumbOrderedList||Kn}),[e.breadcrumbOrderedList]),s=r.useMemo((function(){return e.breadcrumbListItem||Nn}),[e.breadcrumbListItem]),l=r.useMemo((function(){return e.breadcrumbDelimiter||Pn}),[e.breadcrumbDelimiter]),c=r.useMemo((function(){return e.breadcrumbLink||jn}),[e.breadcrumbLink]),u=r.useCallback((function(){o.current&&o.current.focus()}),[o]),h=r.useMemo((function(){return e.disabled||!1}),[e.disabled]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:u,props:e}})),r.useImperativeHandle(t,(function(){return n.current}));var d=(0,Kt.n)(o,e.dir),p=function(t){n.current&&(0,Ye.N)(e.onItemSelect,t,t.target,{id:t.target.id})},f=function(t){n.current&&(0,Ye.N)(e.onKeyDown,t,t.target,{id:t.target.id})},m=e.valueField||Yn.valueField,v=e.iconField||Yn.iconField,g=e.iconClassField||Yn.iconClassField,b=e.textField||Yn.textField;return r.createElement("nav",{"aria-label":e.ariaLabel,id:e.id,style:e.style,ref:o,dir:d,className:(0,i.A)("k-breadcrumb",{"k-rtl":"rtl"===d,"k-disabled":h},e.className)},r.createElement(a,null,r.createElement(r.Fragment,null,e.data.map((function(t,n,o){var i=t[m];return r.createElement(s,{key:i,isFirstItem:0===n,isLastItem:o.length-1===n},0!==n&&r.createElement(l,null),r.createElement(c,qn({isLast:o.length-1===n,isFirst:0===n,id:String(i),icon:t[v]||void 0,iconClass:t[g]?String(t[g]):void 0,text:t[b]?String(t[b]):void 0,disabled:t.disabled||!1,onItemSelect:p,onKeyDown:f},e)))})))))})),Gn={id:M.string,style:M.object,className:M.string,breadcrumbOrderedList:M.elementType,breadcrumbListItem:M.elementType,breadcrumbDelimiter:M.elementType,breadcrumbLink:M.elementType,data:M.arrayOf(M.shape({id:M.string,text:M.string,icon:M.any,iconClass:M.string})),dir:M.oneOf(["ltr","rtl"]),disabled:M.bool,valueField:M.string,textField:M.string,iconField:M.string,iconClassField:M.string,onItemSelect:M.func,ariaLabel:M.string},Yn={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};$n.displayName="KendoReactBreadcrumb",$n.propTypes=Gn,$n.defaultProps=Yn;var Xn=n(3162),Zn=n(4312),Jn=n(1205),Qn=n(7999),er=n(4390),tr=function(){return tr=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},tr.apply(this,arguments)},nr=function(e){var t=r.useRef(null);return r.useEffect((function(){e.show&&setTimeout((function(){var e=t.current&&t.current.element,n=e&&e.querySelector(".k-menu-item");n&&n!==n.ownerDocument.activeElement&&n.focus()}))}),[e.show]),r.createElement(a.G,{show:e.show,offset:e.offset,popupClass:"k-menu-popup",animate:!1},r.createElement(mt,tr({vertical:!0},e,{ref:t,className:(0,i.A)("k-context-menu",e.className),onClose:e.onClose,role:"menu"}),e.children))};nr.displayName="KendoReactContextMenu";var rr=n(6059),or=r.forwardRef((function(e,t){var n,a;(0,we.s)(xe.k);var s=r.useRef(null),l=r.useState(!1),c=l[0],u=l[1],h=r.useCallback((function(){return{element:s.current}}),[]);r.useImperativeHandle(t,h);var d=e.expanded,p=void 0!==d&&d,f=e.disabled,m=e.title,v=e.subtitle,g=e.onAction,b=e.expandIcon,y=e.collapseIcon,w=e.expandSVGIcon,x=e.collapseSVGIcon,k=r.useCallback((function(e){(0,Ye.N)(g,e,h(),{expanded:p})}),[g,p]),z=r.useCallback((function(e){e.keyCode!==Z.R.enter&&e.keyCode!==Z.R.space||(e.preventDefault(),(0,Ye.N)(g,e,h(),{expanded:p}))}),[g,p]),C=r.useCallback((function(){e.disabled||u(!0)}),[e.disabled]),_=r.useCallback((function(){e.disabled||u(!1)}),[e.disabled]),I=(0,rr.U)({onFocus:C,onBlur:_}),E=I.onFocus,S=I.onBlur;return r.createElement("div",{ref:s,className:(0,i.A)("k-expander",e.className,{"k-expanded":p,"k-focus":c&&!f,"k-disabled":f}),onFocus:E,onBlur:S,style:e.style,id:e.id,dir:(0,Xt.V)(s,e.dir),onKeyDown:f?void 0:z},r.createElement("div",{role:"button","aria-controls":e.ariaControls,"aria-expanded":p,"aria-disabled":f,tabIndex:(0,At.p)(e.tabIndex,f),className:"k-expander-header",onClick:f?void 0:k},void 0!==m?r.createElement("div",{className:"k-expander-title"},m):void 0,r.createElement("span",{className:"k-spacer"}),void 0!==v?r.createElement("div",{className:"k-expander-sub-title"},v):void 0,r.createElement("span",{className:"k-expander-indicator"},r.createElement(o.a,{name:p?y?void 0:"chevron-up":b?void 0:"chevron-down",icon:p?x?void 0:B:w?void 0:N,className:(0,i.A)(p?(n={},n[String(y)]=Boolean(y),n):(a={},a[String(b)]=Boolean(b),a))}))),e.children)}));or.propTypes={children:M.node,className:M.string,style:M.object,dir:M.string,id:M.string,tabIndex:M.number,title:M.node,subtitle:M.node,expandIcon:M.string,collapseIcon:M.string,expanded:M.bool,disabled:M.bool,onAction:M.func},or.displayName="KendoReactExpansionPanel";var ir=function(){return ir=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},ir.apply(this,arguments)},ar=r.forwardRef((function(e,t){return r.createElement("div",ir({ref:t},e,{className:(0,i.A)("k-expander-content-wrapper",e.className)}),r.createElement("div",{className:"k-expander-content"},e.children))}));ar.displayName="KendoReactExpansionPanelContent"},8206:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-layout",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684154953,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},1754:(e,t,n)=>{"use strict";n.d(t,{v:()=>a,G:()=>s});var r=n(3899),o=n(61),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)},a=r.createContext((function(e){return e})),s=r.forwardRef((function(e,t){var n=r.useContext(a).call(void 0,e);return r.createElement(o.B,i({ref:t},n))}));s.displayName="Popup"},61:(e,t,n)=>{"use strict";n.d(t,{B:()=>oe});var r=n(3899),o=n(994),i=n(189),a=function(e){e.style.transitionDuration="",Array.from(e.classList).forEach((function(t){t.startsWith("k-slide-")&&e.classList.remove(t)}))},s="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),l=n(4006),c=n(7827),u=n(8259),h=n(8047);const d="bottom",p="center",f="middle",m="left",v="right",g="top",b="fit",y="flip",w="none";var x,k,z,C=function(e,t,n){var r=0;return e+t>n&&(r=n-(e+t)),e<0&&(r=-e),r},_=function(e){var t=e.offset,n=e.size,r=e.anchorSize,o=e.viewPortSize,i=e.anchorAlignPoint,a=e.elementAlignPoint,s=0,l=2*e.margin;if(a!==i&&a!==p&&a!==f&&i!==p&&i!==f){var c=i===g||i===m;t<0&&c?t+(s=n+r+l)+n>o&&(s=0):t>=0&&!c&&(t+n>o&&(s+=-(r+n+l)),t+s<0&&(s=0))}return s},I=(x=function(e){if(!E())return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var r=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),r},z=!1,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return z||(k=x.apply(void 0,e),z=!0),k}),E=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)};const S={eitherRect:function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},scaleRect:function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e},removeStackingOffset:function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},hasRelativeStackingContext:I,canUseDOM:E};function M(e){return e.ownerDocument||e.document||e}const O=function(e){return M(e).defaultView},R=function(e){return M(e).documentElement};var H=0;function F(){if(!H&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),H=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return H}function V(e){var t=O(e),n=R(e),r={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(r.width-=F()),r}function D(e){var t=R(e),n=O(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}const B=function(e){var t=e.getBoundingClientRect(),n=t.left,r=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,r=t.left,o=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var i=e.getBoundingClientRect();return e.style.display=n,e.style.left=r,e.style.position=o,i}(e)),{top:r,left:n,height:t.height,width:t.width}};function A(e){return e===(e.ownerDocument||{}).body?D(e):{x:e.scrollLeft,y:e.scrollTop}}const N=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||R(e)};function L(e,t){for(var n=[],r=e.parentNode;r&&(n.push(r),r!==t);)r=r.parentNode;return n}function P(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t}var T=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],j=function(){return S.canUseDOM()?window:null},U=/auto|scroll/,K=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)},W=function(e){if(!e||!S.hasRelativeStackingContext())return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},q=function(){return S.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},$={addOffset:function(e,t){return{left:e.left+t.left,top:e.top+t.top}},addScroll:function(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}},align:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,i=e.margin;void 0===i&&(i={});var a=n.horizontal,s=n.vertical,l=o.horizontal,c=o.vertical,u=i.horizontal||0,h=i.vertical||0,m=t.top,g=t.left;return s===d&&(m+=t.height),s!==p&&s!==f||(m+=Math.round(t.height/2)),c===d&&(m-=r.height,h*=-1),c!==p&&c!==f||(m-=Math.round(r.height/2),h*=-1),a===v&&(g+=t.width),a!==p&&a!==f||(g+=Math.round(t.width/2)),l===v&&(g-=r.width,u*=-1),l!==p&&l!==f||(g-=Math.round(r.width/2),u*=-1),{top:m+h,left:g+u}},boundingOffset:function(e){if(!e.getBoundingClientRect){var t=V(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},getFontStyles:function(e){var t=j();if(!t||!e)return[];var n=t.getComputedStyle(e);return T.map((function(e){return{key:e,value:n[e]}}))},getWindow:j,hasOffsetParent:function(e){return!!e&&Boolean(e.offsetParent)},offset:function(e){return e?B(e):null},offsetAtPoint:function(e,t){if(!e)return null;var n=e.style,r=n.left,o=n.top,i=n.transition;e.style.transition="none",e.style.left=t.left+"px",e.style.top=t.top+"px";var a=B(e);return e.style.left=r,e.style.top=o,e.offsetHeight,e.style.transition=i,a},position:function(e,t,n){return e&&t?function(e,t,n){void 0===n&&(n=1);var r=t?N(t):null,o=function(e,t){var n=O(e),r=n.getComputedStyle(e),o=B(e),i=t||N(e),a=e.ownerDocument,s=i!==a.body&&i!==a.documentElement,l={top:0,left:0};if("fixed"!==r.position&&s){var c=n.getComputedStyle(i);(l=B(i)).top+=parseInt(c.borderTopWidth,10),l.left+=parseInt(c.borderLeftWidth,10)}return{top:o.top-l.top,left:o.left-l.left,height:o.height,width:o.width}}(e,r),i=o.top,a=o.left,s=o.height,l=o.width,c=function(e,t){return e?A(e):function(e){var t=N(e);return t?A(t):{x:0,y:0}}(t)}(r,e),u=c.x,h=c.y,d=e.ownerDocument,p=r===d.body||r===d.documentElement?1:n;return{top:i+h*p,left:a+u*p,height:s,width:l}}(e,t,n||1):null},removeScroll:function(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}},restrictToView:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,i=e.collisions,a=e.viewPort,s=e.margin;void 0===s&&(s={});var l=r.top,c=r.left,u=r.height,h=r.width,d=a.height,p=a.width,f=s.horizontal||0,m=s.vertical||0,v=0,g=0,w=i.vertical===b,x=i.horizontal===b,k=i.vertical===y,z=i.horizontal===y;w&&(g+=C(l,u,d)),x&&(v+=C(c,h,p)),k&&(g+=_({margin:m,offset:l,size:u,anchorSize:t.height,viewPortSize:d,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),z&&(v+=_({margin:f,offset:c,size:h,anchorSize:t.width,viewPortSize:p,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var I=k&&0!==g,E=z&&0!==v,S=w&&0!==g,M=x&&0!==v;return{flipped:E||I,fitted:S||M,flip:{horizontal:E,vertical:I},fit:{horizontal:M,vertical:S},offset:{left:v,top:g}}},scrollPosition:D,scrollableParents:function(e){var t=[];if(!S.canUseDOM())return t;for(var n=e.parentElement;n;)(U.test(K(n))||n.hasAttribute("data-scrollable"))&&t.push(n),n=n.parentElement;return t.push(window),t},getRelativeContextElement:W,stackingElementOffset:function(e){var t=W(e);return t?B(t):null},stackingElementScroll:function(e){var t=W(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(e){var t=W(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},useRelativePosition:function(e){return Boolean(W(e))},windowViewPort:V,zoomLevel:q,isZoomed:function(){return q()>1},zIndex:function(e,t){if(!e||!S.canUseDOM())return null;var n=function(e,t){for(var n,r,o=L(e),i=t;i&&(n=P(i),!(r=o.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)i=i.parentElement;return r}(e,t);if(!n)return null;var r=[e].concat(L(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,r=parseInt(n,10);return r>e?r:e}),0);return r?r+1:null}};const G=$;const Y=function(e){var t=e.anchor,n=e.element,r=e.anchorAlign,o=e.elementAlign,i=e.margin,a=e.offset,s=e.positionMode,l=e.scale||1,c="fixed"!==s&&G.hasOffsetParent(n)?function(e,t,n,r){var o=S.eitherRect(G.position(e,t,r),n);return S.scaleRect(o,r)}(t,n,a,l):function(e,t,n,r){var o=function(e,t){return e?{x:0,y:0}:G.scrollPosition(t)}(e,t),i=S.eitherRect(G.offset(e),n),a=2*r,s=G.stackingElementScroll(t);1!==r&&s&&(s.x/=a,s.y/=a);var l=G.stackingElementOffset(t);return 1!==r&&l&&(l.left/=a,l.top/=a),G.removeScroll(G.addScroll(S.removeStackingOffset(S.scaleRect(i,r),l),s),o)}(t,n,a,l),u=S.scaleRect(G.offset(n),l);return G.align({anchorAlign:r,anchorRect:c,elementAlign:o,elementRect:u,margin:i})};var X,Z={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684154677,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},J=(X=function(e,t){return X=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])},X(e,t)},function(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}X(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Q=function(){return Q=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},Q.apply(this,arguments)};function ee(e,t){if(e===t)return!0;if(!!e!=!!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(e[i]!==t[i])return!1}return!0}var te,ne={left:-1e3,top:0};!function(e){e.hiding="hiding",e.hidden="hidden",e.showing="showing",e.shown="shown",e.reposition="reposition"}(te||(te={}));var re="k-animation-container-shown",oe=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n.state={current:te.hidden,previous:te.hidden,props:{}},n._popup=null,n.show=function(e){n.setPosition(e),n.animate(e.firstChild,"enter",n.onOpened),n.setState({current:te.shown,previous:n.state.current})},n.setPosition=function(e){var t=n.props,r=t.anchorAlign,o=t.popupAlign,i=t.collision,a=t.offset,s=t.anchor,l=t.margin,c=t.scale,u=t.positionMode,h=e.style,d=h.width,p=h.height;e.style.width=e.offsetWidth+"px",e.style.height=e.offsetHeight+"px";var f=function(e){var t=e.anchor,n=e.currentLocation,r=e.element,o=e.anchorAlign,i=e.elementAlign,a=e.collisions,s=e.margin,l=e.scale||1,c=G.offsetAtPoint(r,n),u=S.scaleRect(c,l),h=S.scaleRect(G.offset(t),l),d=S.eitherRect(h,n),p=e.viewPort||G.windowViewPort(r);p.width=p.width/l,p.height=p.height/l;var f=G.restrictToView({anchorAlign:o,anchorRect:d,collisions:a,elementAlign:i,elementRect:u,margin:s,viewPort:p}),m=G.addOffset(n,f.offset);return{flip:f.flip,flipped:f.flipped,offset:m}}({anchor:s,anchorAlign:r,element:e,elementAlign:o,collisions:i,currentLocation:Y({anchor:s,anchorAlign:r,element:e,elementAlign:o,offset:a,margin:l,positionMode:u,scale:c}),margin:n.props.margin});if(e.style.top=f.offset.top+"px",e.style.left=f.offset.left+"px",e.style.width=d,e.style.height=p,n._collisions={fit:f.fit,fitted:f.fitted,flip:f.flip,flipped:f.flipped},n.props.onPosition){var m={target:n,flipped:f.flipped,fitted:f.fitted};n.props.onPosition.call(void 0,m)}},n.onOpened=function(){var e=n._popup;e&&(n.props.show&&e.classList.add(re),n.attachRepositionHandlers(e),n.props.onOpen&&n.props.onOpen.call(void 0,{target:n}))},n.animate=function(e,t,r){if(n.props.popupAlign){var o,i=n.props.popupAlign,l=i.horizontal,c=i.vertical;o="left"===l&&"center"===c?"right":"right"===l&&"center"===c?"left":"top"===c?"down":"up",n._collisions&&n._collisions.flipped&&(o={down:"up",up:"down",left:"right",right:"left"}[o]),function(e,t,n,r,o){if(0===n)return o();var i="k-slide-"+t+"-"+r,l=i+"-active",c=function(t){t.target===e&&(e.removeEventListener("transitionend",c),a(e),e.style.display="exit"===r?"none":"",o())};e.addEventListener("transitionend",c);var u=e.ownerDocument;if(u){var h=u.defaultView;if(h){var d=function(){a(e),e.classList.add(i),h.requestAnimationFrame((function(){e.style.transitionDuration=n+"ms",e.classList.add(l)}))};s?h.requestAnimationFrame(d):d()}}}(e,o,n.animationDuration[t],t,r)}},n.onClosing=function(e){n.props.show||e.classList.remove(re),n.detachRepositionHandlers()},n.onClosed=function(){n.state.current===te.hiding&&n.state.previous===te.shown&&n.setState({current:te.hidden,previous:n.state.current}),n.props.onClose&&n.props.onClose.call(void 0,{target:n})},n.getCurrentZIndex=function(){return n.context?n.context+1:100},(0,l.s)(Z),n.reposition=function(e,t,n){var r,o,i,a;void 0===n&&(n={});var s=0;n=n||{};var l=function(){s=!1===n.leading?0:(new Date).getTime(),r=void 0,a=e.apply(o,i),r||(o=i=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var u=t-(c-s);return o=void 0,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=void 0),s=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=window.setTimeout(l,u)),a}}(n.reposition.bind(n),16.666666666666668),n}return J(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._popup},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){var n=e.show,r=e.anchor,o=e.anchorAlign,i=e.appendTo,a=e.collision,s=e.popupAlign,l=e.className,c=e.popupClass,u=e.style,h=e.offset,d=e.contentKey,p=Q(Q({},t),{props:{show:n,anchor:r,anchorAlign:o,appendTo:i,collision:a,popupAlign:s,className:l,popupClass:c,style:u,offset:h,contentKey:d}});return e.show?t.current===te.hidden||t.current===te.hiding?Q(Q({},p),{current:te.showing,previous:t.current}):t.current===te.showing?Q(Q({},p),{current:te.shown,previous:t.current}):t.current!==te.shown||ee(h,t.props.offset)&&ee(o,t.props.anchorAlign)&&ee(i,t.props.appendTo)&&ee(a,t.props.collision)&&ee(s,t.props.popupAlign)&&ee(u,t.props.style)&&r===t.props.anchor&&c===t.props.popupClass&&l===t.props.className?p:Q(Q({},p),{current:te.reposition,previous:t.current}):t.current===te.hiding||t.current===te.hidden?Q(Q({},p),{current:te.hidden,previous:t.current}):Q(Q({},p),{current:te.hiding,previous:t.current})},t.prototype.componentDidUpdate=function(e){this.state.current===te.showing&&this._popup?this.show(this._popup):this.state.current===te.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===te.reposition&&this.state.previous===te.shown?this.setState({current:te.shown,previous:this.state.current}):this.state.current===te.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},t.prototype.componentDidMount=function(){this.state.current===te.showing&&this._popup&&this.show(this._popup)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.className,a=t.popupClass,s=t.show,l=t.id,d=t.positionMode,p=this.props.appendTo?this.props.appendTo:c.N?this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument.body:document.body:void 0;this.state.current===te.reposition&&this.state.previous===te.shown&&this._popup&&this.setPosition(this._popup);var f=Object.assign({},{position:d,top:0,left:-1e4},this.props.style||{}),m=this.state.current===te.hiding;if((s||m)&&p){var v=this.getCurrentZIndex(),g=r.createElement(u.$.Provider,{value:v},r.createElement("div",{className:(0,h.A)("k-animation-container","k-animation-container-relative",i),id:l,ref:function(t){return e._popup=t},style:Q({zIndex:v},f)},r.createElement("div",{role:this.props.role,className:(0,h.A)("k-popup",a,"k-child-animation-container"),style:{transitionDelay:"0ms"}},n)));return null!==this.props.appendTo?o.createPortal(g,p):g}return null},Object.defineProperty(t.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!1,configurable:!0}),t.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=G.scrollableParents(this.props.anchor||e),this._scrollableParents&&this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.setState({current:te.reposition,previous:this.state.current})},t.propTypes={anchor:function(e){var t=e.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){var t=e.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:i.oneOfType([i.string,i.arrayOf(i.string),i.object]),id:i.string,popupClass:i.oneOfType([i.string,i.arrayOf(i.string),i.object]),collision:i.shape({horizontal:i.oneOf([b,y,w]),vertical:i.oneOf([b,y,w])}),anchorAlign:i.shape({horizontal:i.oneOf([m,p,v]),vertical:i.oneOf([g,p,d])}),popupAlign:i.shape({horizontal:i.oneOf([m,p,v]),vertical:i.oneOf([g,p,d])}),offset:i.shape({left:i.number,top:i.number}),children:i.oneOfType([i.element,i.node]),show:i.bool,animate:i.oneOfType([i.bool,i.shape({openDuration:i.number,closeDuration:i.number})]),margin:i.shape({horizontal:i.number,vertical:i.number}),positionMode:i.oneOf(["fixed","absolute"]),scale:i.number,style:i.object,onClose:i.func,onPosition:i.func,onOpen:i.func},t.defaultProps={collision:{horizontal:b,vertical:y},anchorAlign:{horizontal:m,vertical:d},popupAlign:{horizontal:m,vertical:g},offset:ne,animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},t.contextType=u.$,t.displayName="PopupComponent",t}(r.Component)},5362:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Popup:()=>r.G,PopupWithoutContext:()=>o.B,PopupPropsContext:()=>r.v});var r=n(1754),o=n(61)},2013:(e,t,n)=>{"use strict";n.d(t,{k:()=>p});var r=n(3899),o=n(189),i=n(1573),a=n(8047),s=n(4703),l=function(e,t,n){var r=Math.abs((t-e)/100);return Math.abs((n-e)/r)},c=function(e,t,n,r){var o=Math.max(n,.01),i=100/o*100;e.current&&t.current&&(e.current.style.width=r?"100%":"".concat(o,"%"),t.current.style.width=r?"100%":"".concat(i,"%"),e.current.style.height=r?"".concat(o,"%"):"100%",t.current.style.height=r?"".concat(i,"%"):"100%")},u=n(4006),h={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684154917,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},p=r.forwardRef((function(e,t){(0,u.s)(h);var n=e.animation,o=e.disabled,p=e.reverse,m=void 0===p?f.reverse:p,v=e.orientation,g=e.labelVisible,b=e.labelPlacement,y=e.max,w=void 0===y?f.max:y,x=e.min,k=void 0===x?f.min:x,z=e.tabIndex,C=e.className,_=e.style,I=e.emptyStyle,E=e.emptyClassName,S=e.progressStyle,M=e.progressClassName,O=r.useRef(null),R=r.useRef(null),H=r.useRef(null),F=r.useCallback((function(){O.current&&O.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:O.current,progressStatusElement:R.current,progressStatusWrapElement:H.current,focus:F}}));var V,D,B,A,N,L=e.value||f.value,P=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}(L),T=null===e.value,j=(0,i.V)(O,e.dir),U="vertical"===v,K=function(e){var t=e.toString().split(".");return 1===t.length?"".concat(t[0]):"".concat(t[0],".").concat(t[1].substr(0,3))}(L),W={value:L},q=g?e.label?r.createElement("span",{className:"k-progress-status"},r.createElement(e.label,d({},W))):r.createElement("span",{className:"k-progress-status"},K):void 0,$={className:(0,a.A)("k-progressbar",{"k-progressbar-horizontal":!U,"k-progressbar-vertical":U,"k-progressbar-reverse":m,"k-progressbar-indeterminate":T,"k-disabled":o},C),ref:O,dir:j,tabIndex:(0,s.p)(z,o),role:"progressbar","aria-label":e.ariaLabel,"aria-valuemin":k,"aria-valuemax":w,"aria-valuenow":T?void 0:L,"aria-disabled":o,style:_},G=(0,a.A)("k-progress-status-wrap",{"k-progress-start":"start"===b,"k-progress-center":"center"===b,"k-progress-end":"end"===b||void 0===b}),Y="boolean"!=typeof n&&void 0!==n?n.duration:n?400:0,X=r.useCallback((function(){var e=l(k,w,P);c(R,H,e,U)}),[U,w,k,P]),Z=r.useCallback((function(e){var t=l(k,w,P+(L-P)*e);c(R,H,t,U)}),[k,w,P,L,U]),J=r.useCallback((function(){var e=l(k,w,L);c(R,H,e,U)}),[U,w,k,L]);return V={duration:Y,onStart:X,onUpdate:Z,onEnd:J},D=[L,Y],B=r.useRef(0),A=r.useRef(!1),N=r.useRef(),r.useEffect((function(){return function(e){var t,n=e.duration,r=B.current&&1-B.current;e.onStart&&e.onStart();var o=function(i){t||(t=i);var a=(i-t+1)/n+r;a<=1?(e.onUpdate&&e.onUpdate(a),N.current=window.requestAnimationFrame(o),B.current=a):(e.onEnd&&e.onEnd(1),B.current=0)};N.current=window.requestAnimationFrame(o)}(V),function(){N.current&&window.cancelAnimationFrame(N.current)}}),D),r.useEffect((function(){A.current=!0}),[]),r.createElement("div",d({},$),r.createElement("span",{className:G+(E?" "+E:""),style:I},q),r.createElement("div",{className:"k-progressbar-value k-selected",style:S,ref:R},r.createElement("span",{className:G+(M?" "+M:""),ref:H},q)))}));p.propTypes={animation:o.any,ariaLabel:o.string,disabled:o.bool,reverse:o.bool,label:o.any,labelVisible:o.bool,labelPlacement:o.oneOf(["start","center","end"]),max:o.number,min:o.number,value:o.number,tabIndex:o.number,emptyStyle:o.object,emptyClassName:o.string,progressStyle:o.object,progressClassName:o.string};var f={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};p.defaultProps=f,p.displayName="KendoProgressBar"},9207:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Sortable:()=>V,SortableOnDragEndEvent:()=>v,SortableOnDragOverEvent:()=>m,SortableOnDragStartEvent:()=>f,SortableOnNavigateEvent:()=>g});var r,o,i,a=n(3899),s=n(994),l=n(189),c=n(3493),u=n(4703),h=n(1779),d=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}(),p=(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(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)}),f=function(e){function t(t,n,r){var o=e.call(this)||this;return o.target=t,o.prevIndex=n,o.element=r,o}return p(t,e),t}(d),m=function(e,t,n,r){this.target=e,this.prevIndex=t,this.nextIndex=n,this.newState=r},v=function(e,t,n,r){this.target=e,this.prevIndex=t,this.nextIndex=n,this.newState=r},g=function(e,t,n,r){this.target=e,this.prevIndex=t,this.nextIndex=n,this.newState=r},b=n(499),y="sortable.noData",w=((o={})[y]="No Data",o),x=n(7191),k=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},z=function(e){return String(e).trim().split(" ")},C=/^(?:a|input|select|option|textarea|button|object)$/i,_=(0,x.V)(),I=n(4006),E={name:"@progress/kendo-react-sortable",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684156297,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},S=n(9659),M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(){return O=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},O.apply(this,arguments)},R="data-sortable-id",H="data-sortable-component",F=((i={})[H]=!0,i),V=function(e){function t(t){var n=e.call(this,t)||this;return n.state={clientX:0,clientY:0,isDragging:!1,activeId:"",dragCueWidth:0,dragCueHeight:0},n.isRtl=!1,n.itemRefsMap={},n.oldSizesMap={},n.animatingItemMap={},n.draggableRef=null,n.isUnmounted=!1,n.focusActiveId=!1,n.isKeyboardNavigated=!1,n.isDragPrevented=!1,n.swapItems=function(e,t,n){var r=e[t];return e[t]=e[n],e[n]=r,n},n.generateNewState=function(e,t){var r=n.props.data,o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],r,!0);if(e>t)for(var i=e-1;i>=t;i--){var a=r[i];n.isItemDisabled(a)||(e=n.swapItems(o,e,i))}else for(i=e+1;i<=t;i++)a=r[i],n.isItemDisabled(a)||(e=n.swapItems(o,e,i));return o},n.closestSortableItem=function(e){for(var t=e;t;){var r=t.getAttribute(R);if(r&&n.itemRefsMap[r]===t)return{id:r,element:t};t=t.parentElement}return{id:"",element:null}},n.isSortable=function(e){return Boolean(e.hasAttribute(H))},n.closestSortable=function(e){for(var t=e;t;){if(n.isSortable(t))return t;t=t.parentElement}return null},n.isSameSortable=function(e){return n.closestSortable(e)===n.container},n.idComparer=function(e,t){return e+""==t+""},n.findItem=function(e){var t=n.props,r=t.data,o=t.idField;if(e+""){var i=(0,S.Y)(o);return function(t,r){for(var o=0;o<t.length;o++)if(a=t[o],n.idComparer(i(a),e))return t[o];var a}(r)}},n.findIndex=function(e){var t=n.props,r=t.data,o=t.idField;return e+""?k(r,(function(t){return n.idComparer(t[o],e)})):-1},n.isItemDisabled=function(e){return e&&!0===e[n.props.disabledField||""]},n.shouldResetActive=function(){if(document.activeElement instanceof HTMLElement){var e=n.closestSortableItem(document.activeElement).element;return!Boolean(e)}return!1},n.widgetTarget=function(e){var t=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}(e,(function(e){return function(e,t){var n=z("k-widget");return Boolean(z(e.className).find((function(e){return n.indexOf(e)>=0})))}(e)||n.isSortable(e)}));return t&&!n.isSortable(t)},n.allowDrag=function(e){return e.hasAttribute(R)||!(function(e){if(e.tagName){var t=e.tagName.toLowerCase(),n=e.getAttribute("tabIndex"),r="-1"===n,o=null!==n&&!r;return C.test(t)&&(o=!e.disabled&&!r),o}return!1}(e)||n.widgetTarget(e))},n.onDragStart=function(e){var t=e.event,r=n.props.onDragStart,o=document.elementFromPoint(t.clientX,t.clientY),i=n.closestSortableItem(o),a=i.id,s=i.element,l=n.findItem(a);if(!a||l&&n.isItemDisabled(l)||!n.allowDrag(o)||!n.isSameSortable(o))n.isDragPrevented=!0;else{t.isTouch&&t.originalEvent.preventDefault();var c=new f(n,n.findIndex(a),o);r&&r.call(void 0,c),n.isDragPrevented=c.isDefaultPrevented(),n.isDragPrevented?t.originalEvent.preventDefault():(n.offsetParent=function(e){if(!e||!_)return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}}(n.container),n.setState({activeId:a,dragCueWidth:s&&s.clientWidth||0,dragCueHeight:s&&s.clientHeight||0}))}},n.onDragOver=function(e){var t=e.event,r=n.props,o=r.onDragOver,i=r.data;if(!n.isDragPrevented){t.originalEvent.preventDefault();var a=n.findIndex(n.state.activeId);if(-1!==a){var s=document.elementFromPoint(t.clientX,t.clientY),l=n.closestSortableItem(s),c=n.findIndex(l.id),u=i[c];if(o&&c>-1&&a!==c&&!n.isItemDisabled(u)&&!n.animatingItemMap[l.id]&&n.shouldReorder(l.element,t.clientX,t.clientY)){var h=new m(n,a,c,n.generateNewState(a,c));o.call(void 0,h)}var d=n.parentOffset();n.setState({clientX:t.clientX-d.left,clientY:t.clientY-d.top,isDragging:!0})}else n.resetState()}},n.onDragEnd=function(e){var t=e.event,r=n.shouldResetActive();if(!n.isDragPrevented){var o=n.props,i=o.onDragEnd,a=o.data,s=document.elementFromPoint(t.clientX,t.clientY),l=n.closestSortableItem(s),c=n.findIndex(l.id),u=n.findIndex(n.state.activeId),h=n.isItemDisabled(a[c]);if((-1===c||h)&&(c=u),i){var d=n.generateNewState(u,c);if(!h){var p=n.thresholdRect(l.element);if(p&&(t.clientX<p.left||t.clientX>p.right||t.clientY<p.top||t.clientY>p.bottom)){var f=u;u=c,c=f,d=n.props.data.slice()}}var m=new v(n,u,c,d);i.call(void 0,m)}n.resetState(r)}},n.shouldReorder=function(e,t,r){var o=n.thresholdRect(e);return o&&t>o.left&&t<o.right&&r>o.top&&r<o.bottom},n.thresholdRect=function(e){var t=n.state.activeId,r=n.container,o=(r?Array.from(r.childNodes):[]).find((function(e){return e instanceof HTMLElement&&e.getAttribute(R)===t}));if(!e||!o)return null;var i=o.getBoundingClientRect(),a=i.width,s=i.height,l=e.getBoundingClientRect(),c=l.top+l.height/2-s/2,u=l.left+l.width/2-a/2;return{top:c,left:u,bottom:c+s,right:u+a}},n.onItemBlur=function(){window.setTimeout((function(){n.isUnmounted||n.shouldResetActive()&&!n.state.isDragging&&n.setState({activeId:""})}))},n.onItemFocus=function(e){var t=n.closestSortableItem(e.currentTarget),r=t.id,o=t.element;!n.idComparer(r,n.state.activeId)&&n.isSameSortable(e.target)&&o===e.target&&n.setState({activeId:r})},n.onKeyDown=function(e){var t=n.props,r=t.data,o=t.idField,i=t.onNavigate,a=t.navigation,s=n.state.activeId;if(a&&s&&n.isSameSortable(e.target)){var l=n.isRtl,u=r.filter((function(e){return!n.isItemDisabled(e)})),h=k(u,(function(e){return n.idComparer(e[o],s)})),d=u.length-1,p=h;switch(e.keyCode===c.R.left&&(e.keyCode=l?c.R.down:c.R.up),e.keyCode===c.R.right&&(e.keyCode=l?c.R.up:c.R.down),e.keyCode){case c.R.up:h>0&&(p=h-1);break;case c.R.down:h<d&&(p=h+1)}if(p!==h){e.stopPropagation(),e.preventDefault();var f=u[p],m=f?f[o]:"",v=u[h],b=v?v[o]:"";if(e.ctrlKey){if(i){var y=n.findIndex(b),w=n.findIndex(m),x=new g(n,y,w,n.generateNewState(y,w));n.isKeyboardNavigated=!0,i.call(void 0,x)}}else n.focusActiveId=!0,n.setState({activeId:m+""})}}},n.resetState=function(e){n.isDragPrevented=!1,n.setState({clientX:0,clientY:0,isDragging:!1,dragCueWidth:0,dragCueHeight:0,activeId:e?"":n.state.activeId})},n.renderData=function(){var e=n.props,t=e.data,r=e.itemUI,o=e.idField,i=e.tabIndex;return t.map((function(e){var t,s=(0,S.Y)(o)(e),l=n.isItemDisabled(e),c=n.idComparer(n.state.activeId,s);return a.createElement(r,{key:s,forwardRef:function(e){return n.refAssign(e,s)},dataItem:e,isDisabled:l,isActive:c,isDragged:c&&n.state.isDragging,isDragCue:!1,attributes:(t={},t[R]=s,t["aria-disabled"]=l,t["aria-grabbed"]=c&&n.state.isDragging&&!n.isDragPrevented,t["aria-dropeffect"]=l?"none":"move",t.tabIndex=(0,u.p)(i,l),t.onFocus=n.onItemFocus,t.onBlur=n.onItemBlur,t),style:{cursor:l?"auto":"move",MozUserSelect:"none",msUserSelect:"none",WebkitUserSelect:"none",userSelect:"none"}})}))},n.renderNoData=function(){var e=n.props.emptyItemUI,t=(0,b.provideLocalizationService)(n).toLanguageString(y,w[y]);if(e)return a.createElement(e,{message:t})},n.renderDragCue=function(){var e=n.props.itemUI,t=n.state,r=t.isDragging,o=t.activeId,i=t.clientX,s=t.clientY,l=n.findItem(o);if(r&&l)return a.createElement(e,{dataItem:l,isDisabled:!1,isActive:!0,isDragged:!0,isDragCue:!0,style:{position:"fixed",top:s+10,left:i+10,width:n.state.dragCueWidth,height:n.state.dragCueHeight},attributes:{}})},n.refAssign=function(e,t){e?n.itemRefsMap[t]=e:delete n.itemRefsMap[t]},n.draggableRefAssign=function(e){n.draggableRef=e},(0,I.s)(E),n}return M(t,e),Object.defineProperty(t.prototype,"container",{get:function(){return this.draggableRef&&this.draggableRef.element},enumerable:!1,configurable:!0}),t.prototype.getSnapshotBeforeUpdate=function(){var e=this,t=this.props,n=t.idField,r=t.animation;return this.oldSizesMap={},r?(this.props.data.forEach((function(t){var r=t[n],o=e.itemRefsMap[r],i=s.findDOMNode(o);i&&(e.oldSizesMap[r]=i.getBoundingClientRect())})),null):null},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props,r=n.idField,o=n.animation;this.focusActiveId&&(this.focusActiveId=!1,this.itemRefsMap[this.state.activeId].focus()),o&&(this.state.isDragging||this.isKeyboardNavigated)&&(this.isKeyboardNavigated=!1,e.data.forEach((function(e){var n=e[r],o=t.itemRefsMap[n],i=o.getBoundingClientRect(),a=t.oldSizesMap[n],s=a.left-i.left,l=a.top-i.top;0===s&&0===l||requestAnimationFrame((function(){t.animatingItemMap[n]=!0,o.style.transform="translate(".concat(s,"px, ").concat(l,"px)"),o.style.transition="transform 0s",requestAnimationFrame((function(){o.style.transform="",o.style.transition="transform ".concat(200,"ms cubic-bezier(0.2, 0, 0, 1) 0s"),window.setTimeout((function(){return t.animatingItemMap[n]=!1}),200)}))}))})))},t.prototype.componentDidMount=function(){this.isRtl=this.container&&"rtl"===getComputedStyle(this.container).direction||!1},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0},t.prototype.parentOffset=function(){var e=this.offsetParent;if(e&&e.ownerDocument&&e!==e.ownerDocument.body){var t=e.getBoundingClientRect();return{left:t.left-e.scrollLeft,top:t.top-e.scrollTop}}return{left:0,top:0}},t.prototype.render=function(){var e=this.props,t=e.data,n=e.style,r=e.className,o=e.itemsWrapUI||"div";return a.createElement(h._,{onDragStart:this.onDragStart,onDrag:this.onDragOver,onDragEnd:this.onDragEnd,ref:this.draggableRefAssign},a.createElement(o,O({},F,{className:r,style:O({touchAction:"none"},n),onKeyDown:this.onKeyDown}),t&&t.length?this.renderData():this.renderNoData(),this.renderDragCue()))},t.defaultProps={navigation:!0,animation:!0,emptyItemUI:function(e){return a.createElement("div",null,e.message)}},t.propTypes={idField:l.string.isRequired,disabledField:l.string,data:l.array.isRequired,tabIndex:l.number,navigation:l.bool,animation:l.bool,itemsWrapUI:l.any,itemUI:l.func.isRequired,emptyItemUI:l.func,style:l.object,className:l.string,onDragStart:l.func,onDragOver:l.func,onDragEnd:l.func,onNavigate:l.func},t}(a.Component);(0,b.registerForLocalization)(V)},4796:(e,t,n)=>{"use strict";n.d(t,{Z:()=>nr});var r=0,o=4,i=0,a=1,s=-2,l=4,c=0,u=1,h=2;function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)d(n,r)&&(e[r]=n[r])}}return e}function f(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var m={arraySet:function(e,t,n,r,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),o);else for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){var t,n,r,o,i,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),o=0,t=0,n=e.length;t<n;t++)i=e[t],a.set(i,o),o+=i.length;return a},Buf8:function(e){return new Uint8Array(e)},Buf16:function(e){return new Uint16Array(e)},Buf32:function(e){return new Int32Array(e)}},v={arraySet:function(e,t,n,r,o){for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)},Buf8:function(e){return new Array(e)},Buf16:function(e){return new Array(e)},Buf32:function(e){return new Array(e)}},g=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return g=function(){return e},e},b=function(e,t,n,r,o){return(b=g()?m.arraySet:v.arraySet)(e,t,n,r,o)},y=function(e){return(y=g()?m.flattenChunks:v.flattenChunks)(e)},w=function(e){return(w=g()?m.Buf8:v.Buf8)(e)},x=function(e){return(x=g()?m.Buf16:v.Buf16)(e)},k=function(e){return(k=g()?m.Buf32:v.Buf32)(e)},z=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return z=function(){return e},e},C=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return C=function(){return e},e},_=function(e){for(var t=w(256),n=0;n<256;n++)t[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;return t[254]=t[254]=1,_=function(e){return t[e]},t[e]};function I(e){var t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),i=0,o=0;i<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t}function E(e,t){if(t<65534&&(e.subarray&&C()||!e.subarray&&z()))return String.fromCharCode.apply(null,f(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}function S(e,t){var n,r,o,i,a=t||e.length,s=new Array(2*a);for(r=0,n=0;n<a;)if((o=e[n++])<128)s[r++]=o;else if((i=_(o))>4)s[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&n<a;)o=o<<6|63&e[n++],i--;i>1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return E(s,r)}function M(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+_(e[n])>t?n:t}function O(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{i=i+(o=o+t[r++]|0)|0}while(--a);o%=65521,i%=65521}return o|i<<16|0}var R=function(){var e=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();return R=function(){return e},e};function H(e,t,n,r){var o=R(),i=r+n;e^=-1;for(var a=r;a<i;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}var F=30,V=12;function D(e,t){var n,r,o,i,a,s,l,c,u,h,d,p,f,m,v,g,b,y,w,x,k,z,C,_,I;n=e.state,r=e.next_in,_=e.input,o=r+(e.avail_in-5),i=e.next_out,I=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,d=n.window,p=n.hold,f=n.bits,m=n.lencode,v=n.distcode,g=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{f<15&&(p+=_[r++]<<f,f+=8,p+=_[r++]<<f,f+=8),y=m[p&g];t:for(;;){if(p>>>=w=y>>>24,f-=w,0==(w=y>>>16&255))I[i++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=m[(65535&y)+(p&(1<<w)-1)];continue t}if(32&w){n.mode=V;break e}e.msg="invalid literal/length code",n.mode=F;break e}x=65535&y,(w&=15)&&(f<w&&(p+=_[r++]<<f,f+=8),x+=p&(1<<w)-1,p>>>=w,f-=w),f<15&&(p+=_[r++]<<f,f+=8,p+=_[r++]<<f,f+=8),y=v[p&b];n:for(;;){if(p>>>=w=y>>>24,f-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=v[(65535&y)+(p&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=F;break e}if(k=65535&y,f<(w&=15)&&(p+=_[r++]<<f,(f+=8)<w&&(p+=_[r++]<<f,f+=8)),(k+=p&(1<<w)-1)>l){e.msg="invalid distance too far back",n.mode=F;break e}if(p>>>=w,f-=w,k>(w=i-a)){if((w=k-w)>u&&n.sane){e.msg="invalid distance too far back",n.mode=F;break e}if(z=0,C=d,0===h){if(z+=c-w,w<x){x-=w;do{I[i++]=d[z++]}while(--w);z=i-k,C=I}}else if(h<w){if(z+=c+h-w,(w-=h)<x){x-=w;do{I[i++]=d[z++]}while(--w);if(z=0,h<x){x-=w=h;do{I[i++]=d[z++]}while(--w);z=i-k,C=I}}}else if(z+=h-w,w<x){x-=w;do{I[i++]=d[z++]}while(--w);z=i-k,C=I}for(;x>2;)I[i++]=C[z++],I[i++]=C[z++],I[i++]=C[z++],x-=3;x&&(I[i++]=C[z++],x>1&&(I[i++]=C[z++]))}else{z=i-k;do{I[i++]=I[z++],I[i++]=I[z++],I[i++]=I[z++],x-=3}while(x>2);x&&(I[i++]=I[z++],x>1&&(I[i++]=I[z++]))}break}}break}}while(r<o&&i<s);r-=x=f>>3,p&=(1<<(f-=x<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=p,n.bits=f}var B=15,A=852,N=592,L=0,P=1,T=2,j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],U=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],K=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],W=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function q(e,t,n,r,o,i,a,s){var l,c,u,h,d,p,f,m,v,g=s.bits,b=0,y=0,w=0,k=0,z=0,C=0,_=0,I=0,E=0,S=0,M=null,O=0,R=x(B+1),H=x(B+1),F=null,V=0;for(b=0;b<=B;b++)R[b]=0;for(y=0;y<r;y++)R[t[n+y]]++;for(z=g,k=B;k>=1&&0===R[k];k--);if(z>k&&(z=k),0===k)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(w=1;w<k&&0===R[w];w++);for(z<w&&(z=w),I=1,b=1;b<=B;b++)if(I<<=1,(I-=R[b])<0)return-1;if(I>0&&(e===L||1!==k))return-1;for(H[1]=0,b=1;b<B;b++)H[b+1]=H[b]+R[b];for(y=0;y<r;y++)0!==t[n+y]&&(a[H[t[n+y]]++]=y);if(e===L?(M=F=a,p=19):e===P?(M=j,O-=257,F=U,V-=257,p=256):(M=K,F=W,p=-1),S=0,y=0,b=w,d=i,C=z,_=0,u=-1,h=(E=1<<z)-1,e===P&&E>A||e===T&&E>N)return 1;for(;;){f=b-_,a[y]<p?(m=0,v=a[y]):a[y]>p?(m=F[V+a[y]],v=M[O+a[y]]):(m=96,v=0),l=1<<b-_,w=c=1<<C;do{o[d+(S>>_)+(c-=l)]=f<<24|m<<16|v|0}while(0!==c);for(l=1<<b-1;S&l;)l>>=1;if(0!==l?(S&=l-1,S+=l):S=0,y++,0==--R[b]){if(b===k)break;b=t[n+a[y]]}if(b>z&&(S&h)!==u){for(0===_&&(_=z),d+=w,I=1<<(C=b-_);C+_<k&&!((I-=R[C+_])<=0);)C++,I<<=1;if(E+=1<<C,e===P&&E>A||e===T&&E>N)return 1;o[u=S&h]=z<<24|C<<16|d-i|0}}return 0!==S&&(o[d+S]=b-_<<24|64<<16|0),s.bits=z,0}var $=1,G=2,Y=0,X=-2,Z=1,J=12,Q=30,ee=852,te=592;function ne(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function re(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=x(320),this.work=x(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function oe(e,t){var n,r;return e?(r=new re,e.state=r,r.window=null,n=function(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?X:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,function(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=Z,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=k(ee),t.distcode=t.distdyn=k(te),t.sane=1,t.back=-1,Y):X}(e)):X}(e))):X}(e,t),n!==Y&&(e.state=null),n):X}var ie,ae,se=!0;function le(e){if(se){var t;for(ie=k(512),ae=k(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(q($,e.lens,0,288,ie,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;q(G,e.lens,0,32,ae,0,e.work,{bits:5}),se=!1}e.lencode=ie,e.lenbits=9,e.distcode=ae,e.distbits=5}function ce(e,t,n,r){var o,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=w(i.wsize)),r>=i.wsize?(b(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),b(i.window,t,n-r,o,i.wnext),(r-=o)?(b(i.window,t,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=o))),0}function ue(e,t){var n,r,o,i,a,s,l,c,u,h,d,p,f,m,v,g,y,x,k,z,C,_,I,E,S=0,M=w(4),R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return X;(n=e.state).mode===J&&(n.mode=13),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,h=s,d=l,_=Y;e:for(;;)switch(n.mode){case Z:if(0===n.wrap){n.mode=13;break}for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(2&n.wrap&&35615===c){n.check=0,M[0]=255&c,M[1]=c>>>8&255,n.check=H(n.check,M,2,0),c=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=Q;break}if(8!=(15&c)){e.msg="unknown compression method",n.mode=Q;break}if(u-=4,C=8+(15&(c>>>=4)),0===n.wbits)n.wbits=C;else if(C>n.wbits){e.msg="invalid window size",n.mode=Q;break}n.dmax=1<<C,e.adler=n.check=1,n.mode=512&c?10:J,c=0,u=0;break;case 2:for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(n.flags=c,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=Q;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Q;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(M[0]=255&c,M[1]=c>>>8&255,n.check=H(n.check,M,2,0)),c=0,u=0,n.mode=3;case 3:for(;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(M[0]=255&c,M[1]=c>>>8&255,M[2]=c>>>16&255,M[3]=c>>>24&255,n.check=H(n.check,M,4,0)),c=0,u=0,n.mode=4;case 4:for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(M[0]=255&c,M[1]=c>>>8&255,n.check=H(n.check,M,2,0)),c=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(M[0]=255&c,M[1]=c>>>8&255,n.check=H(n.check,M,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((p=n.length)>s&&(p=s),p&&(n.head&&(C=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),b(n.head.extra,r,i,p,C)),512&n.flags&&(n.check=H(n.check,r,p,i)),s-=p,i+=p,n.length-=p),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;p=0;do{C=r[i+p++],n.head&&C&&n.length<65536&&(n.head.name+=String.fromCharCode(C))}while(C&&p<s);if(512&n.flags&&(n.check=H(n.check,r,p,i)),s-=p,i+=p,C)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;p=0;do{C=r[i+p++],n.head&&C&&n.length<65536&&(n.head.comment+=String.fromCharCode(C))}while(C&&p<s);if(512&n.flags&&(n.check=H(n.check,r,p,i)),s-=p,i+=p,C)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Q;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=J;break;case 10:for(;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}e.adler=n.check=ne(c),c=0,u=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=J;case J:if(5===t||6===t)break e;case 13:if(n.last){c>>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}switch(n.last=1&c,u-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(le(n),n.mode=20,6===t){c>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=Q}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Q;break}if(n.length=65535&c,c=0,u=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(p=n.length){if(p>s&&(p=s),p>l&&(p=l),0===p)break e;b(o,r,i,p,a),s-=p,i+=p,l-=p,a+=p,n.length-=p;break}n.mode=J;break;case 17:for(;u<14;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(n.nlen=257+(31&c),c>>>=5,u-=5,n.ndist=1+(31&c),c>>>=5,u-=5,n.ncode=4+(15&c),c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Q;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.lens[R[n.have++]]=7&c,c>>>=3,u-=3}for(;n.have<19;)n.lens[R[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},_=q(0,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,_){e.msg="invalid code lengths set",n.mode=Q;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;g=(S=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&S,!((v=S>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(y<16)c>>>=v,u-=v,n.lens[n.have++]=y;else{if(16===y){for(E=v+2;u<E;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(c>>>=v,u-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=Q;break}C=n.lens[n.have-1],p=3+(3&c),c>>>=2,u-=2}else if(17===y){for(E=v+3;u<E;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}u-=v,C=0,p=3+(7&(c>>>=v)),c>>>=3,u-=3}else{for(E=v+7;u<E;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}u-=v,C=0,p=11+(127&(c>>>=v)),c>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Q;break}for(;p--;)n.lens[n.have++]=C}}if(n.mode===Q)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Q;break}if(n.lenbits=9,I={bits:n.lenbits},_=q($,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,_){e.msg="invalid literal/lengths set",n.mode=Q;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},_=q(G,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,_){e.msg="invalid distances set",n.mode=Q;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,D(e,d),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===J&&(n.back=-1);break}for(n.back=0;g=(S=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&S,!((v=S>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(g&&0==(240&g)){for(x=v,k=g,z=y;g=(S=n.lencode[z+((c&(1<<x+k)-1)>>x)])>>>16&255,y=65535&S,!(x+(v=S>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}c>>>=x,u-=x,n.back+=x}if(c>>>=v,u-=v,n.back+=v,n.length=y,0===g){n.mode=26;break}if(32&g){n.back=-1,n.mode=J;break}if(64&g){e.msg="invalid literal/length code",n.mode=Q;break}n.extra=15&g,n.mode=22;case 22:if(n.extra){for(E=n.extra;u<E;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;g=(S=n.distcode[c&(1<<n.distbits)-1])>>>16&255,y=65535&S,!((v=S>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(0==(240&g)){for(x=v,k=g,z=y;g=(S=n.distcode[z+((c&(1<<x+k)-1)>>x)])>>>16&255,y=65535&S,!(x+(v=S>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}c>>>=x,u-=x,n.back+=x}if(c>>>=v,u-=v,n.back+=v,64&g){e.msg="invalid distance code",n.mode=Q;break}n.offset=y,n.extra=15&g,n.mode=24;case 24:if(n.extra){for(E=n.extra;u<E;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Q;break}n.mode=25;case 25:if(0===l)break e;if(p=d-l,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Q;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),m=n.window}else m=o,f=a-n.offset,p=n.length;p>l&&(p=l),l-=p,n.length-=p;do{o[a++]=m[f++]}while(--p);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;o[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(0===s)break e;s--,c|=r[i++]<<u,u+=8}if(d-=l,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=n.flags?H(n.check,o,d,a-d):O(n.check,o,d,a-d)),d=l,(n.flags?c:ne(c))!==n.check){e.msg="incorrect data check",n.mode=Q;break}c=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Q;break}c=0,u=0}n.mode=29;case 29:_=1;break e;case Q:_=-3;break e;case 31:return-4;default:return X}return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<Q&&(n.mode<27||4!==t))&&ce(e,e.output,e.next_out,d-e.avail_out),h-=e.avail_in,d-=e.avail_out,e.total_in+=h,e.total_out+=d,n.total+=d,n.wrap&&d&&(e.adler=n.check=n.flags?H(n.check,o,d,e.next_out-d):O(n.check,o,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===J?128:0)+(20===n.mode||15===n.mode?256:0),(0===h&&0===d||4===t)&&_===Y&&(_=-5),_}function he(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?X:11===n.mode&&O(1,t,r,0)!==n.check?-3:ce(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,Y):X}var de={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function pe(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function fe(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var me=Object.prototype.toString,ve=function e(t){if(!(this instanceof e))return new e(t);this.options=p({chunkSize:16384,windowBits:0,to:""},t||{});var n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,0===n.windowBits&&(n.windowBits=-15)),!(n.windowBits>=0&&n.windowBits<16)||t&&t.windowBits||(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&0==(15&n.windowBits)&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pe,this.strm.avail_out=0;var r,o,a,s=oe(this.strm,n.windowBits);if(s!==i)throw new Error(de[s]);if(this.header=new fe,r=this.strm,o=this.header,r&&r.state&&(0==(2&(a=r.state).wrap)||(a.head=o,o.done=!1)),n.dictionary&&("string"==typeof n.dictionary?n.dictionary=I(n.dictionary):"[object ArrayBuffer]"===me.call(n.dictionary)&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(s=he(this.strm,n.dictionary))!==i))throw new Error(de[s])};function ge(e){for(var t=e.length;--t>=0;)e[t]=0}ve.prototype.push=function(e,t){var n,s,l,c,u,h,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,v=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o:r,"string"==typeof e?d.input=function(e){for(var t=new Uint8Array(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t}(e):"[object ArrayBuffer]"===me.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=w(p),d.next_out=0,d.avail_out=p),2===(n=ue(d,r))&&m&&(h="string"==typeof m?I(m):"[object ArrayBuffer]"===me.call(m)?new Uint8Array(m):m,n=he(this.strm,h)),-5===n&&!0===v&&(n=i,v=!1),n!==a&&n!==i)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==a&&(0!==d.avail_in||s!==o&&2!==s)||("string"===this.options.to?(l=M(d.output,d.next_out),c=d.next_out-l,u=S(d.output,l),d.next_out=c,d.avail_out=p-c,c&&b(d.output,d.output,l,c,0),this.onData(u)):this.onData(f(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(v=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==a);return n===a&&(s=o),s===o?(n=function(e){if(!e||!e.state)return X;var t=e.state;return t.window&&(t.window=null),e.state=null,Y}(this.strm),this.onEnd(n),this.ended=!0,n===i):2!==s||(this.onEnd(i),d.avail_out=0,!0)},ve.prototype.onData=function(e){this.chunks.push(e)},ve.prototype.onEnd=function(e){e===i&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=y(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var be,ye,we,xe,ke,ze,Ce,_e,Ie,Ee=0,Se=1,Me=2,Oe=3,Re=258,He=29,Fe=256,Ve=Fe+1+He,De=30,Be=19,Ae=2*Ve+1,Ne=15,Le=16,Pe=7,Te=256,je=16,Ue=17,Ke=18,We=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],qe=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],$e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ge=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ye=512;function Xe(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function Ze(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Je(e){return e<256?we[e]:we[256+(e>>>7)]}function Qe(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function et(e,t,n){e.bi_valid>Le-n?(e.bi_buf|=t<<e.bi_valid&65535,Qe(e,e.bi_buf),e.bi_buf=t>>Le-e.bi_valid,e.bi_valid+=n-Le):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function tt(e,t,n){et(e,n[2*t],n[2*t+1])}function nt(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function rt(e,t,n){var r,o,i=new Array(Ne+1),a=0;for(r=1;r<=Ne;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=nt(i[s]++,s))}}function ot(e){var t;for(t=0;t<Ve;t++)e.dyn_ltree[2*t]=0;for(t=0;t<De;t++)e.dyn_dtree[2*t]=0;for(t=0;t<Be;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*Te]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function it(e){e.bi_valid>8?Qe(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function at(e,t,n,r){var o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]}function st(e,t,n){for(var r=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&at(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!at(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r}function lt(e,t,n){var r,o,i,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===r?tt(e,o,t):(tt(e,(i=xe[o])+Fe+1,t),0!==(a=We[i])&&et(e,o-=ke[i],a),tt(e,i=Je(--r),n),0!==(a=qe[i])&&et(e,r-=ze[i],a))}while(s<e.last_lit);tt(e,Te,t)}function ct(e,t){var n,r,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=Ae,n=0;n<l;n++)0!==i[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)st(e,i,n);o=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],st(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,st(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,o,i,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(i=0;i<=Ne;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<Ae;n++)(i=l[2*l[2*(r=e.heap[n])+1]+1]+1)>f&&(i=f,m++),l[2*r+1]=i,r>c||(e.bl_count[i]++,a=0,r>=p&&(a=d[r-p]),s=l[2*r],e.opt_len+=s*(i+a),h&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==m){do{for(i=f-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(i=f;0!==i;i--)for(r=e.bl_count[i];0!==r;)(o=e.heap[--n])>c||(l[2*o+1]!==i&&(e.opt_len+=(i-l[2*o+1])*l[2*o],l[2*o+1]=i),r--)}}(e,t),rt(i,c,e.bl_count)}function ut(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[2*je]++):s<=10?e.bl_tree[2*Ue]++:e.bl_tree[2*Ke]++,s=0,i=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4))}function ht(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<l&&o===a)){if(s<c)do{tt(e,o,e.bl_tree)}while(0!=--s);else 0!==o?(o!==i&&(tt(e,o,e.bl_tree),s--),tt(e,je,e.bl_tree),et(e,s-3,2)):s<=10?(tt(e,Ue,e.bl_tree),et(e,s-3,3)):(tt(e,Ke,e.bl_tree),et(e,s-11,7));s=0,i=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4)}}var dt=!1;function pt(e,t,n,r){et(e,(Ee<<1)+(r?1:0),3),function(e,t,n,r){it(e),Qe(e,n),Qe(e,~n),b(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}function ft(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(xe[n]+Fe+1)]++,e.dyn_dtree[2*Je(t)]++),e.last_lit===e.lit_bufsize-1}var mt=3,vt=258,gt=vt+mt+1,bt=42,yt=103,wt=113,xt=666,kt=1,zt=2,Ct=3,_t=4;function It(e,t){return e.msg=de[t],t}function Et(e){return(e<<1)-(e>4?9:0)}function St(e){for(var t=e.length;--t>=0;)e[t]=0}function Mt(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(b(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Ot(e,t){(function(e,t,n,r){var o,i,a=0;e.level>0?(e.strm.data_type===h&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return c;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return u;for(t=32;t<Fe;t++)if(0!==e.dyn_ltree[2*t])return u;return c}(e)),ct(e,e.l_desc),ct(e,e.d_desc),a=function(e){var t;for(ut(e,e.dyn_ltree,e.l_desc.max_code),ut(e,e.dyn_dtree,e.d_desc.max_code),ct(e,e.bl_desc),t=Be-1;t>=3&&0===e.bl_tree[2*Ge[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=n+5,n+4<=o&&-1!==t?pt(e,t,n,r):e.strategy===l||i===o?(et(e,(Se<<1)+(r?1:0),3),lt(e,be,ye)):(et(e,(Me<<1)+(r?1:0),3),function(e,t,n,r){var o;for(et(e,t-257,5),et(e,n-1,5),et(e,r-4,4),o=0;o<r;o++)et(e,e.bl_tree[2*Ge[o]+1],3);ht(e,e.dyn_ltree,t-1),ht(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),lt(e,e.dyn_ltree,e.dyn_dtree)),ot(e),r&&it(e)})(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Mt(e.strm)}function Rt(e,t){e.pending_buf[e.pending++]=t}function Ht(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Ft(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-gt?e.strstart-(e.w_size-gt):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+vt,p=c[i+a-1],f=c[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===f&&c[n+a-1]===p&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<d);if(r=vt-(d-i),i=d-vt,r>a){if(e.match_start=t,a=r,r>=s)break;p=c[i+a-1],f=c[i+a]}}}while((t=h[t&u])>l&&0!=--o);return a<=e.lookahead?a:e.lookahead}function Vt(e){var t,n,r,o,i,a,s,l,c,u,h=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-gt)){b(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=h?r-h:0}while(--n);t=n=h;do{r=e.prev[--t],e.prev[t]=r>=h?r-h:0}while(--n);o+=h}if(0===e.strm.avail_in)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,c=o,u=void 0,(u=a.avail_in)>c&&(u=c),n=0===u?0:(a.avail_in-=u,b(s,a.input,a.next_in,u,l),1===a.state.wrap?a.adler=O(a.adler,s,u,l):2===a.state.wrap&&(a.adler=H(a.adler,s,u,l)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=mt)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+mt-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<mt)););}while(e.lookahead<gt&&0!==e.strm.avail_in)}function Dt(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vt(e),0===e.lookahead&&t===r)return kt;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Ot(e,!1),0===e.strm.avail_out))return kt;if(e.strstart-e.block_start>=e.w_size-gt&&(Ot(e,!1),0===e.strm.avail_out))return kt}return e.insert=0,t===o?(Ot(e,!0),0===e.strm.avail_out?Ct:_t):(e.strstart>e.block_start&&(Ot(e,!1),e.strm.avail_out),kt)}function Bt(e,t){for(var n,i;;){if(e.lookahead<gt){if(Vt(e),e.lookahead<gt&&t===r)return kt;if(0===e.lookahead)break}if(n=0,e.lookahead>=mt&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-gt&&(e.match_length=Ft(e,n)),e.match_length>=mt)if(i=ft(e,e.strstart-e.match_start,e.match_length-mt),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=mt){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=ft(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(Ot(e,!1),0===e.strm.avail_out))return kt}return e.insert=e.strstart<mt-1?e.strstart:mt-1,t===o?(Ot(e,!0),0===e.strm.avail_out?Ct:_t):e.last_lit&&(Ot(e,!1),0===e.strm.avail_out)?kt:zt}function At(e,t){for(var n,i,a;;){if(e.lookahead<gt){if(Vt(e),e.lookahead<gt&&t===r)return kt;if(0===e.lookahead)break}if(n=0,e.lookahead>=mt&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=mt-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-gt&&(e.match_length=Ft(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===mt&&e.strstart-e.match_start>4096)&&(e.match_length=mt-1)),e.prev_length>=mt&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-mt,i=ft(e,e.strstart-1-e.prev_match,e.prev_length-mt),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=mt-1,e.strstart++,i&&(Ot(e,!1),0===e.strm.avail_out))return kt}else if(e.match_available){if((i=ft(e,0,e.window[e.strstart-1]))&&Ot(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return kt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=ft(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<mt-1?e.strstart:mt-1,t===o?(Ot(e,!0),0===e.strm.avail_out?Ct:_t):e.last_lit&&(Ot(e,!1),0===e.strm.avail_out)?kt:zt}function Nt(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}var Lt=function(){var e=[new Nt(0,0,0,0,Dt),new Nt(4,4,8,4,Bt),new Nt(4,5,16,8,Bt),new Nt(4,6,32,32,Bt),new Nt(4,4,16,16,At),new Nt(8,16,32,32,At),new Nt(8,16,128,128,At),new Nt(8,32,128,256,At),new Nt(32,128,258,1024,At),new Nt(32,258,258,4096,At)];return Lt=function(){return e},e};function Pt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=x(1146),this.dyn_dtree=x(122),this.bl_tree=x(78),St(this.dyn_ltree),St(this.dyn_dtree),St(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=x(16),this.heap=x(573),St(this.heap),this.heap_len=0,this.heap_max=0,this.depth=x(573),St(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Tt(e){var t=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=h,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?bt:wt,e.adler=2===t.wrap?0:1,t.last_flush=r,function(e){dt||(function(){var e,t,n,r,o,i=new Array(Ne+1);for(ge(be=new Array(2*(Ve+2))),ge(ye=new Array(2*De)),ge(we=new Array(Ye)),ge(xe=new Array(Re-Oe+1)),ge(ke=new Array(He)),ge(ze=new Array(De)),n=0,r=0;r<He-1;r++)for(ke[r]=n,e=0;e<1<<We[r];e++)xe[n++]=r;for(xe[n-1]=r,o=0,r=0;r<16;r++)for(ze[r]=o,e=0;e<1<<qe[r];e++)we[o++]=r;for(o>>=7;r<De;r++)for(ze[r]=o<<7,e=0;e<1<<qe[r]-7;e++)we[256+o++]=r;for(t=0;t<=Ne;t++)i[t]=0;for(e=0;e<=143;)be[2*e+1]=8,e++,i[8]++;for(;e<=255;)be[2*e+1]=9,e++,i[9]++;for(;e<=279;)be[2*e+1]=7,e++,i[7]++;for(;e<=287;)be[2*e+1]=8,e++,i[8]++;for(rt(be,Ve+1,i),e=0;e<De;e++)ye[2*e+1]=5,ye[2*e]=nt(e,5);Ce=new Xe(be,We,Fe+1,Ve,Ne),_e=new Xe(ye,qe,0,De,Ne),Ie=new Xe(new Array(0),$e,0,Be,Pe)}(),dt=!0),e.l_desc=new Ze(e.dyn_ltree,Ce),e.d_desc=new Ze(e.dyn_dtree,_e),e.bl_desc=new Ze(e.bl_tree,Ie),e.bi_buf=0,e.bi_valid=0,ot(e)}(t),i):It(e,s)}(e);return t===i&&function(e){e.window_size=2*e.w_size,St(e.head);var t=Lt();e.max_lazy_match=t[e.level].max_lazy,e.good_match=t[e.level].good_length,e.nice_match=t[e.level].nice_length,e.max_chain_length=t[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=mt-1,e.match_available=0,e.ins_h=0}(e.state),t}function jt(e,t){var n,l,c,u;if(!e||!e.state||t>5||t<0)return e?It(e,s):s;if(l=e.state,!e.output||!e.input&&0!==e.avail_in||l.status===xt&&t!==o)return It(e,0===e.avail_out?-5:s);if(l.strm=e,n=l.last_flush,l.last_flush=t,l.status===bt)if(2===l.wrap)e.adler=0,Rt(l,31),Rt(l,139),Rt(l,8),l.gzhead?(Rt(l,(l.gzhead.text?1:0)+(l.gzhead.hcrc?2:0)+(l.gzhead.extra?4:0)+(l.gzhead.name?8:0)+(l.gzhead.comment?16:0)),Rt(l,255&l.gzhead.time),Rt(l,l.gzhead.time>>8&255),Rt(l,l.gzhead.time>>16&255),Rt(l,l.gzhead.time>>24&255),Rt(l,9===l.level?2:l.strategy>=2||l.level<2?4:0),Rt(l,255&l.gzhead.os),l.gzhead.extra&&l.gzhead.extra.length&&(Rt(l,255&l.gzhead.extra.length),Rt(l,l.gzhead.extra.length>>8&255)),l.gzhead.hcrc&&(e.adler=H(e.adler,l.pending_buf,l.pending,0)),l.gzindex=0,l.status=69):(Rt(l,0),Rt(l,0),Rt(l,0),Rt(l,0),Rt(l,0),Rt(l,9===l.level?2:l.strategy>=2||l.level<2?4:0),Rt(l,3),l.status=wt);else{var h=8+(l.w_bits-8<<4)<<8;h|=(l.strategy>=2||l.level<2?0:l.level<6?1:6===l.level?2:3)<<6,0!==l.strstart&&(h|=32),h+=31-h%31,l.status=wt,Ht(l,h),0!==l.strstart&&(Ht(l,e.adler>>>16),Ht(l,65535&e.adler)),e.adler=1}if(69===l.status)if(l.gzhead.extra){for(c=l.pending;l.gzindex<(65535&l.gzhead.extra.length)&&(l.pending!==l.pending_buf_size||(l.gzhead.hcrc&&l.pending>c&&(e.adler=H(e.adler,l.pending_buf,l.pending-c,c)),Mt(e),c=l.pending,l.pending!==l.pending_buf_size));)Rt(l,255&l.gzhead.extra[l.gzindex]),l.gzindex++;l.gzhead.hcrc&&l.pending>c&&(e.adler=H(e.adler,l.pending_buf,l.pending-c,c)),l.gzindex===l.gzhead.extra.length&&(l.gzindex=0,l.status=73)}else l.status=73;if(73===l.status)if(l.gzhead.name){c=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>c&&(e.adler=H(e.adler,l.pending_buf,l.pending-c,c)),Mt(e),c=l.pending,l.pending===l.pending_buf_size)){u=1;break}u=l.gzindex<l.gzhead.name.length?255&l.gzhead.name.charCodeAt(l.gzindex++):0,Rt(l,u)}while(0!==u);l.gzhead.hcrc&&l.pending>c&&(e.adler=H(e.adler,l.pending_buf,l.pending-c,c)),0===u&&(l.gzindex=0,l.status=91)}else l.status=91;if(91===l.status)if(l.gzhead.comment){c=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>c&&(e.adler=H(e.adler,l.pending_buf,l.pending-c,c)),Mt(e),c=l.pending,l.pending===l.pending_buf_size)){u=1;break}u=l.gzindex<l.gzhead.comment.length?255&l.gzhead.comment.charCodeAt(l.gzindex++):0,Rt(l,u)}while(0!==u);l.gzhead.hcrc&&l.pending>c&&(e.adler=H(e.adler,l.pending_buf,l.pending-c,c)),0===u&&(l.status=yt)}else l.status=yt;if(l.status===yt&&(l.gzhead.hcrc?(l.pending+2>l.pending_buf_size&&Mt(e),l.pending+2<=l.pending_buf_size&&(Rt(l,255&e.adler),Rt(l,e.adler>>8&255),e.adler=0,l.status=wt)):l.status=wt),0!==l.pending){if(Mt(e),0===e.avail_out)return l.last_flush=-1,i}else if(0===e.avail_in&&Et(t)<=Et(n)&&t!==o)return It(e,-5);if(l.status===xt&&0!==e.avail_in)return It(e,-5);if(0!==e.avail_in||0!==l.lookahead||t!==r&&l.status!==xt){var d=2===l.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(Vt(e),0===e.lookahead)){if(t===r)return kt;break}if(e.match_length=0,n=ft(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Ot(e,!1),0===e.strm.avail_out))return kt}return e.insert=0,t===o?(Ot(e,!0),0===e.strm.avail_out?Ct:_t):e.last_lit&&(Ot(e,!1),0===e.strm.avail_out)?kt:zt}(l,t):3===l.strategy?function(e,t){for(var n,i,a,s,l=e.window;;){if(e.lookahead<=vt){if(Vt(e),e.lookahead<=vt&&t===r)return kt;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=mt&&e.strstart>0&&(i=l[a=e.strstart-1])===l[++a]&&i===l[++a]&&i===l[++a]){s=e.strstart+vt;do{}while(i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&a<s);e.match_length=vt-(s-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=mt?(n=ft(e,1,e.match_length-mt),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=ft(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Ot(e,!1),0===e.strm.avail_out))return kt}return e.insert=0,t===o?(Ot(e,!0),0===e.strm.avail_out?Ct:_t):e.last_lit&&(Ot(e,!1),0===e.strm.avail_out)?kt:zt}(l,t):Lt()[l.level].func(l,t);if(d!==Ct&&d!==_t||(l.status=xt),d===kt||d===Ct)return 0===e.avail_out&&(l.last_flush=-1),i;if(d===zt&&(1===t?function(e){et(e,Se<<1,3),tt(e,Te,be),function(e){16===e.bi_valid?(Qe(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}(l):5!==t&&(pt(l,0,0,!1),3===t&&(St(l.head),0===l.lookahead&&(l.strstart=0,l.block_start=0,l.insert=0))),Mt(e),0===e.avail_out))return l.last_flush=-1,i}return t!==o?i:l.wrap<=0?a:(2===l.wrap?(Rt(l,255&e.adler),Rt(l,e.adler>>8&255),Rt(l,e.adler>>16&255),Rt(l,e.adler>>24&255),Rt(l,255&e.total_in),Rt(l,e.total_in>>8&255),Rt(l,e.total_in>>16&255),Rt(l,e.total_in>>24&255)):(Ht(l,e.adler>>>16),Ht(l,65535&e.adler)),Mt(e),l.wrap>0&&(l.wrap=-l.wrap),0!==l.pending?i:a)}var Ut=Object.prototype.toString,Kt=function(e){this.options=p({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pe,this.strm.avail_out=0;var n,r,o=function(e,t,n,r,o,i){if(!e)return s;var a=1;if(-1===t&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>9||8!==n||r<8||r>15||t<0||t>9||i<0||i>l)return It(e,s);8===r&&(r=9);var c=new Pt;return e.state=c,c.strm=e,c.wrap=a,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=o+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+mt-1)/mt),c.window=w(2*c.w_size),c.head=x(c.hash_size),c.prev=x(c.w_size),c.lit_bufsize=1<<o+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=w(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=i,c.method=n,Tt(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(o!==i)throw new Error(de[o]);if(t.header&&(n=this.strm,r=t.header,n&&n.state&&(2!==n.state.wrap||(n.state.gzhead=r))),t.dictionary){var a;if(a="string"==typeof t.dictionary?I(t.dictionary):"[object ArrayBuffer]"===Ut.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,o=function(e,t){var n,r,o,a,l,c,u,h,d=t.length;if(!e||!e.state)return s;if(2===(a=(n=e.state).wrap)||1===a&&n.status!==bt||n.lookahead)return s;for(1===a&&(e.adler=O(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===a&&(St(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=w(n.w_size),b(h,t,d-n.w_size,n.w_size,0),t=h,d=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=d,e.next_in=0,e.input=t,Vt(n);n.lookahead>=mt;){r=n.strstart,o=n.lookahead-(mt-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+mt-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=mt-1,Vt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=mt-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=a,i}(this.strm,a),o!==i)throw new Error(de[o]);this._dict_set=!0}};Kt.prototype.push=function(e,t){var n,l,c,u=this.strm,h=this.options.chunkSize;if(this.ended)return!1;l=t===~~t?t:!0===t?o:r,"string"==typeof e?u.input=I(e):"[object ArrayBuffer]"===Ut.call(e)?u.input=new Uint8Array(e):u.input=e,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=w(h),u.next_out=0,u.avail_out=h),(n=jt(u,l))!==a&&n!==i)return this.onEnd(n),this.ended=!0,!1;0!==u.avail_out&&(0!==u.avail_in||l!==o&&2!==l)||("string"===this.options.to?this.onData(E(c=f(u.output,u.next_out),c.length)):this.onData(f(u.output,u.next_out)))}while((u.avail_in>0||0===u.avail_out)&&n!==a);return l===o?(n=function(e){var t;return e&&e.state?(t=e.state.status)!==bt&&69!==t&&73!==t&&91!==t&&t!==yt&&t!==wt&&t!==xt?It(e,s):(e.state=null,t===wt?It(e,-3):i):s}(this.strm),this.onEnd(n),this.ended=!0,n===i):2!==l||(this.onEnd(i),u.avail_out=0,!0)},Kt.prototype.onData=function(e){this.chunks.push(e)},Kt.prototype.onEnd=function(e){e===i&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=y(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Wt={Promise},qt={base64:!0,array:!0,string:!0,nodebuffer:!1,nodestream:!1,get arraybuffer(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},get uint8array(){return"undefined"!=typeof Uint8Array},get blob(){return $t()}},$t=function(){var e;if("undefined"==typeof ArrayBuffer)e=!1;else{var t=new ArrayBuffer(0);try{e=0===new Blob([t],{type:"application/zip"}).size}catch(t){e=!1}}return $t=function(){return e},e},Gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Yt(e){return e}function Xt(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function Zt(e,t,n){var r=[],o=0,i=e.length;if(i<=n)return String.fromCharCode.apply(null,e);for(;o<i;)"array"===t?r.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+n,i)))):r.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+n,i)))),o+=n;return r.join("")}var Jt=function(){var e;try{e=qt.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){e=!1}return Jt=function(){return e},e};function Qt(e){var t=65536,n=on(e),r=!0;if("uint8array"===n&&(r=Jt()),r)for(;t>1;)try{return Zt(e,n,t)}catch(e){t=Math.floor(t/2)}return function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}(e)}var en=Qt;function tn(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var nn={string:{string:Yt,array:function(e){return Xt(e,new Array(e.length))},arraybuffer:function(e){return nn.string.uint8array(e).buffer},uint8array:function(e){return Xt(e,new Uint8Array(e.length))}},array:{string:Qt,array:Yt,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)}},arraybuffer:{string:function(e){return Qt(new Uint8Array(e))},array:function(e){return tn(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:Yt,uint8array:function(e){return new Uint8Array(e)}},uint8array:{string:Qt,array:function(e){return tn(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:Yt}},rn=function(e,t){if(t||(t=""),!e)return t;an(e);var n=on(t);return nn[n][e](t)},on=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":qt.uint8array&&e instanceof Uint8Array?"uint8array":qt.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},an=function(e){if(!qt[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},sn=65535,ln=-1,cn=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},un=function(e,t,n){setTimeout((function(){e.apply(n||null,t||[])}),0)},hn=function(){var e,t,n=arguments,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.hasOwnProperty.call(n[e],t)&&void 0===r[t]&&(r[t]=n[e][t]);return r},dn=function(e,t,n,r,o){return Wt.Promise.resolve(t).then((function(e){return qt.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new Wt.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var i,a=on(t);return a?("arraybuffer"===a?t=rn("uint8array",t):"string"===a&&(o?t=function(e){var t,n,r,o,i,a,s=0,l=0;if("data:"===e.substr(0,5))throw new Error("Invalid base64 input, it looks like a data url.");var c,u=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===Gt.charAt(64)&&u--,e.charAt(e.length-2)===Gt.charAt(64)&&u--,u%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=qt.uint8array?new Uint8Array(0|u):new Array(0|u);s<e.length;)t=Gt.indexOf(e.charAt(s++))<<2|(o=Gt.indexOf(e.charAt(s++)))>>4,n=(15&o)<<4|(i=Gt.indexOf(e.charAt(s++)))>>2,r=(3&i)<<6|(a=Gt.indexOf(e.charAt(s++))),c[l++]=t,64!==i&&(c[l++]=n),64!==a&&(c[l++]=r);return c}(t):n&&!0!==r&&(t=Xt(i=t,qt.uint8array?new Uint8Array(i.length):new Array(i.length)))),t):Wt.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))},pn=function(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null};pn.prototype.push=function(e){this.emit("data",e)},pn.prototype.end=function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},pn.prototype.error=function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},pn.prototype.on=function(e,t){return this._listeners[e].push(t),this},pn.prototype.cleanUp=function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},pn.prototype.emit=function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pn.prototype.pipe=function(e){return e.registerPrevious(this)},pn.prototype.registerPrevious=function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pn.prototype.pause=function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},pn.prototype.resume=function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},pn.prototype.flush=function(){},pn.prototype.processChunk=function(e){this.push(e)},pn.prototype.withStreamInfo=function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},pn.prototype.mergeStreamInfo=function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},pn.prototype.lock=function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},pn.prototype.toString=function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e};var fn=function(e){for(var t=new Array(256),n=0;n<256;n++)t[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;return t[254]=t[254]=1,fn=function(e){return t[e]},t[e]},mn=function(e){return function(e){var t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=qt.uint8array?new Uint8Array(s):new Array(s),i=0,o=0;i<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t}(e)},vn=function(e){return function(e){var t,n,r,o,i=e.length,a=new Array(2*i);for(n=0,t=0;t<i;)if((r=e[t++])<128)a[n++]=r;else if((o=fn(r))>4)a[n++]=65533,t+=o-1;else{for(r&=2===o?31:3===o?15:7;o>1&&t<i;)r=r<<6|63&e[t++],o--;o>1?a[n++]=65533:r<65536?a[n++]=r:(r-=65536,a[n++]=55296|r>>10&1023,a[n++]=56320|1023&r)}return a.length!==n&&(a.subarray?a=a.subarray(0,n):a.length=n),en(a)}(e=rn(qt.uint8array?"uint8array":"array",e))},gn=function(e){function t(){e.call(this,"utf-8 decode"),this.leftOver=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){var t=rn(qt.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(qt.uint8array){var n=t;(t=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var r=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+fn(e[n])>t?n:t}(t),o=t;r!==t.length&&(qt.uint8array?(o=t.subarray(0,r),this.leftOver=t.subarray(r,t.length)):(o=t.slice(0,r),this.leftOver=t.slice(r,t.length))),this.push({data:vn(o),meta:e.meta})},t.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:vn(this.leftOver),meta:{}}),this.leftOver=null)},t}(pn),bn=function(e){function t(){e.call(this,"utf-8 encode")}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:mn(e.data),meta:e.meta})},t}(pn),yn=function(e){function t(t){e.call(this,"ConvertWorker to "+t),this.destType=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:rn(this.destType,e.data),meta:e.meta})},t}(pn);function wn(e,t){return new Wt.Promise((function(n,r){var o=[],i=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",(function(e,n){o.push(e),t&&t(n)})).on("error",(function(e){o=[],r(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return function(e,t){return an("blob"),new Blob([e],{type:t})}(rn("arraybuffer",t),n);case"base64":return function(e){for(var t,n,r,o,i,a,s,l=[],c=0,u=e.length,h=u,d="string"!=typeof e;c<e.length;)h=u-c,d?(t=e[c++],n=c<u?e[c++]:0,r=c<u?e[c++]:0):(t=e.charCodeAt(c++),n=c<u?e.charCodeAt(c++):0,r=c<u?e.charCodeAt(c++):0),o=t>>2,i=(3&t)<<4|n>>4,a=h>1?(15&n)<<2|r>>6:64,s=h>2?63&r:64,l.push(Gt.charAt(o)+Gt.charAt(i)+Gt.charAt(a)+Gt.charAt(s));return l.join("")}(t);default:return rn(e,t)}}(a,function(e,t){var n,r=0,o=null,i=0;for(n=0;n<t.length;n++)i+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(i),n=0;n<t.length;n++)o.set(t[n],r),r+=t[n].length;return o;default:throw new Error("concat : unsupported type '"+e+"'")}}(i,o),s);n(e)}catch(e){r(e)}o=[]})).resume()}))}var xn=function(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,an(r),this._worker=e.pipe(new yn(r)),e.lock()}catch(e){this._worker=new pn("error"),this._worker.error(e)}};xn.prototype.accumulate=function(e){return wn(this,e)},xn.prototype.on=function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){un(t,arguments,n)})),this},xn.prototype.resume=function(){return un(this._worker.resume,[],this._worker),this},xn.prototype.pause=function(){return this._worker.pause(),this};var kn=Object.freeze({__proto__:null,base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null}),zn=function(e){function t(t){e.call(this,"DataWorker");var n=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(e){n.dataIsReady=!0,n.data=e,n.max=e&&e.length||0,n.type=on(e),n.isPaused||n._tickAndRepeat()}),(function(e){n.error(e)}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this.data=null},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,un(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(un(this._tickAndRepeat,[],this),this._tickScheduled=!0))},t.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t}(pn),Cn=function(e){function t(t){e.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(t){if(t){var n=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=n+t.data.length}e.prototype.processChunk.call(this,t)},t}(pn),_n=function(){for(var e=[],t=0;t<256;t++){for(var n=t,r=0;r<8;r++)n=1&n?3988292384^n>>>1:n>>>1;e[t]=n}return _n=function(){return e},e};function In(e,t){return void 0!==e&&e.length?"string"!==on(e)?function(e,t,n,r){var o=_n(),i=0+n;e^=-1;for(var a=0;a<i;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}(0|t,e,e.length):function(e,t,n,r){var o=_n(),i=0+n;e^=-1;for(var a=0;a<i;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length):0}var En=function(e){function t(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.streamInfo.crc32=In(e.data,this.streamInfo.crc32||0),this.push(e)},t}(pn),Sn=function(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o};Sn.prototype.getContentWorker=function(){var e=new zn(Wt.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Cn("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},Sn.prototype.getCompressedWorker=function(){return new zn(Wt.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)},Sn.createWorkerFrom=function(e,t,n){return e.pipe(new En).pipe(new Cn("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Cn("compressedSize")).withStreamInfo("compression",t)};var Mn=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};Mn.prototype.internalStream=function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new bn)),!o&&r&&(t=t.pipe(new gn))}catch(e){(t=new pn("error")).error(e)}return new xn(t,n,"")},Mn.prototype.async=function(e,t){return this.internalStream(e).accumulate(t)},Mn.prototype._compressWorker=function(e,t){if(this._data instanceof Sn&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new bn)),Sn.createWorkerFrom(n,e,t)},Mn.prototype._decompressWorker=function(){return this._data instanceof Sn?this._data.getContentWorker():this._data instanceof pn?this._data:new zn(this._data)};var On=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?"uint8array":"array";On=function(){return e}},Rn=function(e){function t(t,n){e.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=n,this.meta={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(rn(On(),e.data),!1)},t.prototype.flush=function(){e.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this._pako=null},t.prototype._createPako=function(){var e=this,t={raw:!0,level:this._pakoOptions.level||-1};this._pako="Deflate"===this._pakoAction?new Kt(t):new ve(t),this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t}(pn),Hn={STORE:{magic:"\0\0",compressWorker:function(){return new pn("STORE compression")},uncompressWorker:function(){return new pn("STORE decompression")}},DEFLATE:{magic:"\b\0",compressWorker:function(e){return new Rn("Deflate",e)},uncompressWorker:function(){return new Rn("Inflate",{})}}},Fn="PK",Vn="PK",Dn="PK",Bn="PK",An="PK",Nn=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},Ln=function(e,t,n,r,o,i){var a,s,l=e.file,c=e.compression,u=i!==mn,h=rn("string",i(l.name)),d=rn("string",mn(l.name)),p=l.comment,f=rn("string",i(p)),m=rn("string",mn(p)),v=d.length!==l.name.length,g=m.length!==p.length,b="",y="",w="",x=l.dir,k=l.date,z={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(z.crc32=e.crc32,z.compressedSize=e.compressedSize,z.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),u||!v&&!g||(C|=2048);var _,I,E,S=0,M=0;x&&(S|=16),"UNIX"===o?(M=798,S|=(_=l.unixPermissions,I=x,E=_,_||(E=I?16893:33204),(65535&E)<<16)):(M=20,S|=63&(l.dosPermissions||0)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,s=k.getUTCFullYear()-1980,s<<=4,s|=k.getUTCMonth()+1,s<<=5,s|=k.getUTCDate(),v&&(y=Nn(1,1)+Nn(In(h),4)+d,b+="up"+Nn(y.length,2)+y),g&&(w=Nn(1,1)+Nn(In(f),4)+m,b+="uc"+Nn(w.length,2)+w);var O="";return O+="\n\0",O+=Nn(C,2),O+=c.magic,O+=Nn(a,2),O+=Nn(s,2),O+=Nn(z.crc32,4),O+=Nn(z.compressedSize,4),O+=Nn(z.uncompressedSize,4),O+=Nn(h.length,2),O+=Nn(b.length,2),{fileRecord:Fn+O+h+b,dirRecord:Vn+Nn(M,2)+O+Nn(f.length,2)+"\0\0\0\0"+Nn(S,4)+Nn(r,4)+h+b+f}},Pn=function(e){return"PK\b"+Nn(e.crc32,4)+Nn(e.compressedSize,4)+Nn(e.uncompressedSize,4)},Tn=function(e){function t(t,n,r,o){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=n,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(t){var n=t.meta.percent||0,r=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,e.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(n+100*(r-o-1))/r:100}}))},t.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=Ln(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},t.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=Ln(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:Pn(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},t.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=function(e,t,n,r,o){var i=rn("string",o(r));return Dn+"\0\0\0\0"+Nn(e,2)+Nn(e,2)+Nn(t,4)+Nn(n,4)+Nn(i.length,2)+i}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},t.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},t.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},t.prototype.error=function(t){var n=this._sources;if(!e.prototype.error.call(this,t))return!1;for(var r=0;r<n.length;r++)try{n[r].error(t)}catch(e){}return!0},t.prototype.lock=function(){e.prototype.lock.call(this);for(var t=this._sources,n=0;n<t.length;n++)t[n].lock()},t}(pn),jn=function(e){this.data=e,this.length=e.length,this.index=0,this.zero=0};jn.prototype.checkOffset=function(e){this.checkIndex(this.index+e)},jn.prototype.checkIndex=function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},jn.prototype.setIndex=function(e){this.checkIndex(e),this.index=e},jn.prototype.skip=function(e){this.setIndex(this.index+e)},jn.prototype.byteAt=function(e){},jn.prototype.readInt=function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},jn.prototype.readString=function(e){return rn("string",this.readData(e))},jn.prototype.readData=function(e){},jn.prototype.lastIndexOfSignature=function(e){},jn.prototype.readAndCheckSignature=function(e){},jn.prototype.readDate=function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))};var Un=function(e){function t(t){e.call(this,t);for(var n=0;n<this.data.length;n++)t[n]=255&t[n]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data[this.zero+e]},t.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},t.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(jn),Kn=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},t.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},t.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},t.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(jn),Wn=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(Un);function qn(e){var t=on(e);return an(t),"string"!==t||qt.uint8array?qt.uint8array?new Wn(rn("uint8array",e)):new Un(rn("array",e)):new Kn(e)}var $n=function(e,t){this.options=e,this.loadOptions=t};$n.prototype.isEncrypted=function(){return 1==(1&this.bitFlag)},$n.prototype.useUTF8=function(){return 2048==(2048&this.bitFlag)},$n.prototype.readLocalPart=function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in Hn)if(Hn.hasOwnProperty(t)&&Hn[t].magic===e)return Hn[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+cn(this.compressionMethod)+" unknown (inner file : "+rn("string",this.fileName)+")");this.decompressed=new Sn(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},$n.prototype.readCentralPart=function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},$n.prototype.processAttributes=function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},$n.prototype.parseZIP64ExtraField=function(e){if(this.extraFields[1]){var t=qn(this.extraFields[1].value);this.uncompressedSize===ln&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===ln&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===ln&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===ln&&(this.diskNumberStart=t.readInt(4))}},$n.prototype.readExtraFields=function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<o;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r}},$n.prototype.handleUTF8=function(){var e=qt.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=vn(this.fileName),this.fileCommentStr=vn(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=rn(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=rn(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},$n.prototype.findExtraFieldUnicodePath=function(){var e=this.extraFields[28789];if(e){var t=qn(e.value);return 1!==t.readInt(1)||In(this.fileName)!==t.readInt(4)?null:vn(t.readData(e.length-5))}return null},$n.prototype.findExtraFieldUnicodeComment=function(){var e=this.extraFields[25461];if(e){var t=qn(e.value);return 1!==t.readInt(1)||In(this.fileComment)!==t.readInt(4)?null:vn(t.readData(e.length-5))}return null};var Gn=function(e){this.files=[],this.loadOptions=e};function Yn(e){return new Wt.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new En);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}function Xn(e,t){var n=this;return t=hn(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:vn}),dn("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new Gn(t);return n.load(e),n})).then((function(e){var n=[Wt.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(Yn(r[o]));return Wt.Promise.all(n)})).then((function(e){for(var r=e.shift(),o=r.files,i=0;i<o.length;i++){var a=o[i];n.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders})}return r.zipComment.length&&(n.comment=r.zipComment),n}))}Gn.prototype.checkSignature=function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+cn(t)+", expected "+cn(e)+")")}},Gn.prototype.isSignature=function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},Gn.prototype.readBlockEndOfCentral=function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=qt.uint8array?"uint8array":"array",n=rn(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},Gn.prototype.readBlockZip64EndOfCentral=function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},Gn.prototype.readBlockZip64EndOfCentralLocator=function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},Gn.prototype.readLocalFiles=function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(Fn),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},Gn.prototype.readCentralDir=function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Vn);)(e=new $n({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},Gn.prototype.readEndOfCentral=function(){var e=this.reader.lastIndexOfSignature(Dn);if(e<0)throw this.isSignature(0,Fn)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(Dn),this.readBlockEndOfCentral(),this.diskNumber===sn||this.diskWithCentralDirStart===sn||this.centralDirRecordsOnThisDisk===sn||this.centralDirRecords===sn||this.centralDirSize===ln||this.centralDirOffset===ln){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(Bn))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(Bn),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,An)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(An),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(An),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,Vn)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},Gn.prototype.prepareReader=function(e){this.reader=qn(e)},Gn.prototype.load=function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()};var Zn=function(e,t,n){var r,o=on(t),i=hn(n||{},kn);i.date=i.date||new Date,null!==i.compression&&(i.compression=i.compression.toUpperCase()),"string"==typeof i.unixPermissions&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(e=Qn(e)),i.createFolders&&(r=Jn(e))&&er.call(this,r,!0);var a="string"===o&&!1===i.binary&&!1===i.base64;n&&void 0!==n.binary||(i.binary=!a),(t instanceof Sn&&0===t.uncompressedSize||i.dir||!t||0===t.length)&&(i.base64=!1,i.binary=!0,t="",i.compression="STORE",o="string");var s;s=t instanceof Sn||t instanceof pn?t:dn(e,t,i.binary,i.optimizedBinaryString,i.base64);var l=new Mn(e,s,i);this.files[e]=l},Jn=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Qn=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},er=function(e,t){return t=void 0===t||t,e=Qn(e),this.files[e]||Zn.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function tr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var nr=function e(){if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new e;for(var n in this)"function"!=typeof this[n]&&(t[n]=this[n]);return t}},rr={support:{configurable:!0},defaults:{configurable:!0},version:{configurable:!0},external:{configurable:!0}};nr.prototype.load=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},nr.prototype.forEach=function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},nr.prototype.filter=function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},nr.prototype.file=function(e,t,n){if(1===arguments.length){if(tr(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,Zn.call(this,e,t,n),this},nr.prototype.folder=function(e){if(!e)return this;if(tr(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=er.call(this,t),r=this.clone();return r.root=n.name,r},nr.prototype.remove=function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},nr.prototype.generate=function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},nr.prototype.generateInternalStream=function(e){var t,n={};try{if((n=hn(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:mn})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");an(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),t=function(e,t,n){var r=new Tn(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,n){o++;var i=function(e,t){var n=e||t,r=Hn[n];if(!r)throw new Error(n+" is not a valid compression method !");return r}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},s=n.dir,l=n.date;n._compressWorker(i,a).withStreamInfo("file",{name:e,dir:s,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(r)})),r.entriesCount=o}catch(e){r.error(e)}return r}(this,n,n.comment||this.comment||"")}catch(e){(t=new pn("error")).error(e)}return new xn(t,n.type||"string",n.mimeType)},nr.prototype.generateAsync=function(e,t){return this.generateInternalStream(e).accumulate(t)},nr.prototype.loadAsync=function(e,t){return Xn.apply(this,[e,t])},nr.loadAsync=function(e,t){return(new nr).loadAsync(e,t)},rr.support.get=function(){return qt},rr.defaults.get=function(){return kn},rr.version.get=function(){return"3.2.2-esm"},rr.external.get=function(){return Wt},Object.defineProperties(nr,rr)},2202:(e,t,n)=>{"use strict";function r(e,t,n){void 0===n&&(n={});var r=l;if(n.forceProxy&&!n.proxyURL)throw new Error("No proxyURL is set, but forceProxy is true");n.forceProxy||(i()&&(r=s),navigator.msSaveBlob&&(r=a)),r(e,t,n)}n.r(t),n.d(t,{encodeBase64:()=>h,saveAs:()=>r});var o=function(){return document.createElement("a")},i=function(){return"download"in o()};function a(e,t){var n=e;if("string"==typeof e){for(var r=e.split(";base64,"),o=r[0],i=atob(r[1]),a=new Uint8Array(i.length),s=0;s<i.length;s++)a[s]=i.charCodeAt(s);n=new Blob([a.buffer],{type:o})}navigator.msSaveBlob(n,t)}function s(e,t){var n=e;window.Blob&&e instanceof Blob&&(n=URL.createObjectURL(e));var r=o();r.download=t,r.href=n;var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(i),setTimeout((function(){return URL.revokeObjectURL(n)}))}function l(e,t,n){if(n.proxyURL){var r=document.createElement("form");r.setAttribute("action",n.proxyURL),r.setAttribute("method","POST"),r.setAttribute("target",n.proxyTarget||"_self");var o=n.proxyData||{};o.fileName=t;var i=e.split(";base64,");for(var a in o.contentType=i[0].replace("data:",""),o.base64=i[1],o)if(o.hasOwnProperty(a)){var s=document.createElement("input");s.setAttribute("type","hidden"),s.setAttribute("name",a),s.setAttribute("value",o[a]),r.appendChild(s)}document.body.appendChild(r),r.submit(),document.body.removeChild(r)}}var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=String.fromCharCode;function h(e){for(var t,n,r,o,i,a,s,l=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=u(r):r<2048?(t+=u(192|r>>>6),t+=u(128|63&r)):r<65536&&(t+=u(224|r>>>12),t+=u(128|r>>>6&63),t+=u(128|63&r))}return t}(e),h="",d=0;d<l.length;)o=(t=l.charCodeAt(d++))>>2,i=(3&t)<<4|(n=l.charCodeAt(d++))>>4,a=(15&n)<<2|(r=l.charCodeAt(d++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),h=h+c.charAt(o)+c.charAt(i)+c.charAt(a)+c.charAt(s);return h}},6904:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ExcelExporter:()=>m,IntlService:()=>b,TemplateService:()=>i,Workbook:()=>$,Worksheet:()=>T});var r={compile:function(e){return e}},o=function(){};o.register=function(e){r=e},o.compile=function(e){return r.compile(e)};const i=o;var a=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,s={},l="undefined";function c(e){if(s[e])return s[e];var t=[];return e.replace(a,(function(e,n,r,o){t.push(typeof n!==l?n:r||o)})),s[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},s[e]}function u(e,t){return e.reduce((function(e,n,r){var o=t(n,r);return null!=o&&e.push(o),e}),[])}function h(e){return e.title+": "+e.value}function d(e,t){for(var n=[],r=0;r<e;r++)n.push(t(r));return n}function p(e){return e.id}s[l]=function(e){return e};var f=function(e){e.columns=this._trimColumns(e.columns||[]),this.allColumns=u(this._leafColumns(e.columns||[]),this._prepareColumn),this.columns=this._visibleColumns(this.allColumns),this.options=e,this.data=e.data||[],this.aggregates=e.aggregates||{},this.groups=[].concat(e.groups||[]),this.hasGroups=this.groups.length>0,this.hierarchy=e.hierarchy,this.hasGroupHeaderColumn=this.columns.some((function(e){return e.groupHeaderColumnTemplate})),this.collapsible=this.options.collapsible};f.prototype.workbook=function(){return{sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]}},f.prototype._trimColumns=function(e){var t=this;return e.filter((function(e){var n=Boolean(e.field);return!n&&e.columns&&(n=t._trimColumns(e.columns).length>0),n}))},f.prototype._leafColumns=function(e){for(var t=[],n=0;n<e.length;n++)e[n].columns?t=t.concat(this._leafColumns(e[n].columns)):t.push(e[n]);return t},f.prototype._prepareColumn=function(e){if(!e.field)return null;var t=function(t){return c(e.field)(t)},n=null;return e.values&&(n={},e.values.forEach((function(e){n[e.value]=e.text})),t=function(t){return n[c(e.field)(t)]}),Object.assign({},e,{value:t,values:n,groupHeaderTemplate:e.groupHeaderTemplate?i.compile(e.groupHeaderTemplate):h,groupHeaderColumnTemplate:e.groupHeaderColumnTemplate?i.compile(e.groupHeaderColumnTemplate):null,groupFooterTemplate:e.groupFooterTemplate?i.compile(e.groupFooterTemplate):null,footerTemplate:e.footerTemplate?i.compile(e.footerTemplate):null})},f.prototype._filter=function(){if(!this.options.filterable)return null;var e=this._depth();return{from:e,to:e+this.columns.length-1}},f.prototype._createPaddingCells=function(e){var t=this;return d(e,(function(){return Object.assign({background:"#dfdfdf",color:"#333"},t.options.paddingCellOptions)}))},f.prototype._dataRow=function(e,t,n){var r=this._createPaddingCells(t);if(this.hasGroups&&n&&e.items){r=r.concat(this._groupHeaderCells(e,t,n));var o=this._dataRows(e.items,t+1);return o.unshift({type:"group-header",cells:r,level:this.collapsible?t:null}),o.concat(this._footer(e,t))}for(var i=[],a=0;a<this.columns.length;a++)i[a]=this._cell(e,this.columns[a]);return this.hierarchy&&(i[0].colSpan=n-t+1),[{type:"data",cells:r.concat(i),level:this.collapsible?t:null}]},f.prototype._groupHeaderCells=function(e,t,n){var r=[],o=this.allColumns.filter((function(t){return t.field===e.field}))[0]||{},i=o&&o.title?o.title:e.field,a=o?o.groupHeaderTemplate||o.groupHeaderColumnTemplate:null,s=Object.assign({title:i,field:e.field,value:o&&o.values?o.values[e.value]:e.value,aggregates:e.aggregates,items:e.items},e.aggregates[e.field]),l=a?a(s):i+": "+e.value;return r.push(Object.assign({value:l,background:"#dfdfdf",color:"#333",colSpan:(this.hasGroupHeaderColumn?1:this.columns.length)+n-t},o.groupHeaderCellOptions)),this.hasGroupHeaderColumn&&this.columns.forEach((function(t,n){n>0&&r.push(Object.assign({background:"#dfdfdf",color:"#333",value:t.groupHeaderColumnTemplate?t.groupHeaderColumnTemplate(Object.assign({group:s},s,e.aggregates[t.field])):void 0},t.groupHeaderCellOptions))})),r},f.prototype._dataRows=function(e,t){for(var n=this._depth(),r=[],o=0;o<e.length;o++)r.push.apply(r,this._dataRow(e[o],t,n));return r},f.prototype._hierarchyRows=function(){var e,t=this._depth(),n=this.data,r=this.hierarchy.itemLevel,o=this.hierarchy.itemId||p,i=this._hasFooterTemplate(),a=[],s=[],l=0;i||(this.collapsible=!1);for(var c=0;c<n.length;c++){var u=n[c],h=r(u,c);i&&(h>l?s.push({id:e,level:l}):h<l&&a.push.apply(a,this._hierarchyFooterRows(s,h,t)),l=h,e=o(u,c)),a.push.apply(a,this._dataRow(u,h+1,t))}if(i){a.push.apply(a,this._hierarchyFooterRows(s,0,t));var d=n.length?this.aggregates[n[0].parentId]:{};a.push(this._hierarchyFooter(d,0,t))}return this._prependHeaderRows(a),a},f.prototype._hierarchyFooterRows=function(e,t,n){for(var r=[];e.length&&e[e.length-1].level>=t;){var o=e.pop();r.push(this._hierarchyFooter(this.aggregates[o.id],o.level+1,n))}return r},f.prototype._hasFooterTemplate=function(){for(var e=this.columns,t=0;t<e.length;t++)if(e[t].footerTemplate)return!0},f.prototype._hierarchyFooter=function(e,t,n){var r=this.columns.map((function(r,o){var i=o?1:n-t+1;if(r.footerTemplate){var a=(e||{})[r.field];return Object.assign({background:"#dfdfdf",color:"#333",colSpan:i,value:r.footerTemplate(Object.assign({aggregates:e},a))},r.footerCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333",colSpan:i},r.footerCellOptions)}));return{type:"footer",cells:this._createPaddingCells(t).concat(r),level:this.collapsible?t:null}},f.prototype._footer=function(e,t){var n,r,o=[],i=this.columns.some((function(e){return e.groupFooterTemplate}));i&&(r={group:{items:e.items,field:e.field,value:e.value}},n={},Object.keys(e.aggregates).forEach((function(t){n[t]=Object.assign({},e.aggregates[t],r)})));var a=this.columns.map((function(t){if(t.groupFooterTemplate){var o=Object.assign({},n,e.aggregates[t.field],r);return Object.assign({background:"#dfdfdf",color:"#333",value:t.groupFooterTemplate(o)},t.groupFooterCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333"},t.groupFooterCellOptions)}));return i&&o.push({type:"group-footer",cells:this._createPaddingCells(this.groups.length).concat(a),level:this.collapsible?t:null}),o},f.prototype._isColumnVisible=function(e){return this._visibleColumns([e]).length>0&&(e.field||e.columns)},f.prototype._visibleColumns=function(e){var t=this;return e.filter((function(e){var n=e.exportable;"object"==typeof n&&(n=e.exportable.excel);var r=!e.hidden&&!1!==n,o=e.hidden&&!0===n,i=r||o;return i&&e.columns&&(i=t._visibleColumns(e.columns).length>0),i}))},f.prototype._headerRow=function(e,t){var n=this,r=e.cells.map((function(t){return Object.assign(t,{colSpan:t.colSpan>1?t.colSpan:1,rowSpan:e.rowSpan>1&&!t.colSpan?e.rowSpan:1})}));return this.hierarchy&&r[0].firstCell&&(r[0].colSpan+=this._depth()),{type:"header",cells:d(t.length,(function(){return Object.assign({background:"#7a7a7a",color:"#fff"},n.options.headerPaddingCellOptions)})).concat(r)}},f.prototype._prependHeaderRows=function(e){var t=this.groups,n=[{rowSpan:1,cells:[],index:0}];this._prepareHeaderRows(n,this.options.columns);for(var r=n.length-1;r>=0;r--)e.unshift(this._headerRow(n[r],t))},f.prototype._prepareHeaderRows=function(e,t,n,r){for(var o=this,i=r||e[e.length-1],a=e[i.index+1],s=0,l=0;l<t.length;l++){var c=t[l];if(o._isColumnVisible(c)){var u=Object.assign({background:"#7a7a7a",color:"#fff",value:c.title||c.field,colSpan:0,firstCell:0===l&&(!n||n.firstCell)},c.headerCellOptions);i.cells.push(u),c.columns&&c.columns.length&&(a||(a={rowSpan:0,cells:[],index:e.length},e.push(a)),u.colSpan=o._trimColumns(o._visibleColumns(c.columns)).length,o._prepareHeaderRows(e,c.columns,u,a),s+=u.colSpan-1,i.rowSpan=e.length-i.index)}}n&&(n.colSpan+=s)},f.prototype._rows=function(){var e=this,t=this._dataRows(this.data,0);if(this.columns.length){this._prependHeaderRows(t);var n=!1,r=this.columns.map((function(t){return t.footerTemplate?(n=!0,Object.assign({background:"#dfdfdf",color:"#333",value:t.footerTemplate(Object.assign({},e.aggregates,e.aggregates[t.field]))},t.footerCellOptions)):Object.assign({background:"#dfdfdf",color:"#333"},t.footerCellOptions)}));n&&t.push({type:"footer",cells:this._createPaddingCells(this.groups.length).concat(r)})}return t},f.prototype._headerDepth=function(e){for(var t=0,n=0;n<e.length;n++)if(e[n].columns){var r=this._headerDepth(e[n].columns);r>t&&(t=r)}return 1+t},f.prototype._freezePane=function(){var e=this._visibleColumns(this.options.columns||[]),t=this._visibleColumns(this._trimColumns(this._leafColumns(e.filter((function(e){return e.locked}))))).length;return{rowSplit:this._headerDepth(e),colSplit:t?t+this.groups.length:0}},f.prototype._cell=function(e,t){return Object.assign({value:t.value(e)},t.cellOptions)},f.prototype._depth=function(){return this.hierarchy?this.hierarchy.depth:this.groups.length},f.prototype._columns=function(){return d(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))};const m=f;var v={toString:function(e){return e}},g=function(){};g.register=function(e){v=e},g.toString=function(e,t){return v.toString(e,t)};const b=g;var y=n(4796);function w(e,t,n){return(1461*(e+4800+((t-13)/12|0))/4|0)+(367*(t-1-12*((t-13)/12|0))/12|0)-(3*((e+4900+((t-13)/12|0))/100|0)/4|0)+n-32075}var x=w(1900,0,-1);var k="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",z="data:"+k+";base64,",C={compression:"DEFLATE",type:"base64"},_={compression:"DEFLATE",type:"blob"},I={compression:"DEFLATE",type:"arraybuffer"};function E(e){return z+e}function S(e,t){return t.indexOf(e)}var M=JSON.parse.bind(JSON);function O(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,""").replace(/\'/g,"'")}function R(e,t){for(var n="",r=0;r<e;++r)n+=t(r);return n}function H(e,t){var n="";if(null!=e)if(Array.isArray(e))for(var r=0;r<e.length;++r)n+=t(e[r],r);else"object"==typeof e&&Object.keys(e).forEach((function(r,o){n+=t(e[r],r,o)}));return n}var F='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',V=F+'\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>\n </Relationships>',D=function(e){return F+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+H(e,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function B(e){var t=Math.floor(e/26)-1;return(t>=0?B(t):"")+String.fromCharCode(65+e%26)}function A(e,t){return B(t)+(e+1)}function N(e,t){return"$"+B(t)+"$"+(e+1)}function L(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function P(e){return e/7-Math.floor(128/7)/256}var T=function(e,t,n,r){this.options=e,this._strings=t,this._styles=n,this._borders=r,this._validations={},this._comments=[],this._drawings=e.drawings||[],this._hyperlinks=(this.options.hyperlinks||[]).map((function(e,t){return Object.assign({},e,{rId:"link"+t})}))};function j(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}T.prototype.relsToXML=function(){var e=this._hyperlinks,t=this._comments,n=this._drawings;if(e.length||t.length||n.length)return function(e){var t=e.comments,n=e.sheetIndex,r=e.drawings;return F+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+H(e.hyperlinks,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+O(e.target)+'" TargetMode="External" />'}))+"\n "+(t.length?'\n <Relationship Id="comment'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+n+'.xml"/>\n <Relationship Id="vml'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+n+'.vml"/>':"")+"\n "+(r.length?'\n <Relationship Id="drw'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+n+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:n})},T.prototype.toXML=function(e){var t=this,n=this.options.mergedCells||[],r=function(e,t){var n=[],r=[];!function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r){var o=r.index;"number"!=typeof o&&(o=n),t(r,o)}}}(e,(function(e,t){var o={_source:e,index:t,height:e.height,level:e.level,cells:[]};n.push(o),r[t]=o}));for(var o=Z(n).slice(0),i={rowData:n,rowsByIndex:r,mergedCells:t},a=0;a<o.length;a++)te(o[a],i),delete o[a]._source;return Z(n)}(this.options.rows||[],n);this._readCells(r);var o,i=this.options.filter;i&&"number"==typeof i.from&&"number"==typeof i.to?i={from:A(L(this.options),i.from),to:A(L(this.options),i.to)}:i&&i.ref&&i.columns&&(o=i,i=null);var a=[];for(var s in t._validations)Object.prototype.hasOwnProperty.call(t._validations,s)&&a.push(t._validations[s]);var l=null;this.options.defaultCellStyle&&(l=this._lookupStyle(this.options.defaultCellStyle));var c=this.options.freezePane||{},u=this.options.defaults||{},h=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return function(e){var t=e.frozenColumns,n=e.frozenRows,r=e.columns,o=e.defaults,i=e.data,a=e.index,s=e.mergeCells,l=e.autoFilter,c=e.filter,u=e.showGridLines,h=e.hyperlinks,d=e.validations,p=e.defaultCellStyleId,f=e.rtl,m=e.legacyDrawing,v=e.drawing,g=e.lastRow,b=e.lastCol;return F+'\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" mc:Ignorable="x14ac">\n '+(g&&b?'<dimension ref="A1:'+A(g-1,b-1)+'" />':"")+"\n\n <sheetViews>\n <sheetView "+(f?'rightToLeft="1"':"")+" "+(0===a?'tabSelected="1"':"")+' workbookViewId="0" '+(!1===u?'showGridLines="0"':"")+">\n "+(n||t?'\n <pane state="frozen"\n '+(t?'xSplit="'+t+'"':"")+"\n "+(n?'ySplit="'+n+'"':"")+'\n topLeftCell="'+(String.fromCharCode(65+(t||0))+((n||0)+1))+'"\n />':"")+'\n </sheetView>\n </sheetViews>\n\n <sheetFormatPr x14ac:dyDescent="0.25" '+(o.skipCustomHeight?"":'customHeight="1"')+' defaultRowHeight="'+(o.rowHeight?.75*o.rowHeight:15)+'"\n '+(o.columnWidth?'defaultColWidth="'+P(o.columnWidth)+'"':"")+" />\n\n "+(null!=p||r&&r.length>0?"\n <cols>\n "+(r&&r.length?"":'\n <col min="1" max="16384" style="'+p+'"\n '+(o.columnWidth?'width="'+P(o.columnWidth)+'"':"")+" /> ")+"\n "+H(r,(function(e,t){var n="number"==typeof e.index?e.index+1:t+1;return 0===e.width?"<col "+(null!=p?'style="'+p+'"':"")+'\n min="'+n+'" max="'+n+'" hidden="1" customWidth="1" />':"<col "+(null!=p?'style="'+p+'"':"")+'\n min="'+n+'" max="'+n+'" customWidth="1"\n '+(e.autoWidth?'width="'+(7*e.width+5)/7*256/256+'" bestFit="1"':'width="'+P(e.width)+'"')+" />"}))+"\n </cols>":"")+"\n\n <sheetData>\n "+H(i,(function(e,t){return'\n <row r="'+("number"==typeof e.index?e.index+1:t+1)+'" x14ac:dyDescent="0.25"\n '+(e.level?'outlineLevel="'+e.level+'"':"")+"\n "+(0===e.height?'hidden="1"':e.height?'ht="'+.75*e.height+'" customHeight="1"':"")+">\n "+H(e.data,(function(e){return'\n <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n "+(null!=e.formula?"string"==typeof(t=e.formula)?"<f>"+O(t)+"</f>":'<f t="array" ref="'+t.ref+'">'+O(t.src)+"</f>":"")+"\n "+(null!=e.value?"<v>"+O(e.value)+"</v>":"")+"\n </c>";var t}))+"\n </row>\n "}))+"\n </sheetData>\n\n "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':c?ue(c):"")+"\n\n "+(s.length?'\n <mergeCells count="'+s.length+'">\n '+H(s,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n </mergeCells>":"")+"\n\n "+(d.length?"\n <dataValidations>\n "+H(d,(function(e){return'\n <dataValidation sqref="'+e.sqref.join(" ")+'"\n showErrorMessage="'+e.showErrorMessage+'"\n type="'+O(e.type)+'"\n '+("list"!==e.type?'operator="'+O(e.operator)+'"':"")+'\n allowBlank="'+e.allowBlank+'"\n showDropDown="'+e.showDropDown+'"\n '+(e.error?'error="'+O(e.error)+'"':"")+"\n "+(e.errorTitle?'errorTitle="'+O(e.errorTitle)+'"':"")+">\n "+(e.formula1?"<formula1>"+O(e.formula1)+"</formula1>":"")+"\n "+(e.formula2?"<formula2>"+O(e.formula2)+"</formula2>":"")+"\n </dataValidation>"}))+"\n </dataValidations>":"")+"\n\n "+(h.length?"\n <hyperlinks>\n "+H(h,(function(e){return'\n <hyperlink ref="'+e.ref+'" r:id="'+e.rId+'"/>'}))+"\n </hyperlinks>":"")+'\n\n <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />\n '+(v?'<drawing r:id="'+v+'"/>':"")+"\n "+(m?'<legacyDrawing r:id="'+m+'"/>':"")+"\n</worksheet>"}({frozenColumns:this.options.frozenColumns||c.colSplit,frozenRows:this.options.frozenRows||c.rowSplit,columns:this.options.columns,defaults:u,data:r,index:e,mergeCells:n,autoFilter:i,filter:o,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:a,defaultCellStyleId:l,rtl:void 0!==this.options.rtl?this.options.rtl:u.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:h,lastCol:d})},T.prototype.commentsXML=function(){if(this._comments.length)return function(e){return F+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <authors>\n <author></author>\n </authors>\n <commentList>\n '+H(e.comments,(function(e){return'\n <comment ref="'+e.ref+'" authorId="0">\n <text>\n <r>\n <rPr>\n <sz val="8"/>\n <color indexed="81"/>\n <rFont val="Tahoma"/>\n <charset val="1"/>\n </rPr>\n <t>'+O(e.text)+"</t>\n </r>\n </text>\n </comment>"}))+"\n </commentList>\n</comments>"}({comments:this._comments})},T.prototype.drawingsXML=function(e){if(this._drawings.length){var t={},n=this._drawings.map((function(n){var r=Q(n.topLeftCell),o=t[n.image];return o||(o=t[n.image]={rId:"img"+n.image,target:e[n.image].target}),{col:r.col,colOffset:ee(n.offsetX),row:r.row,rowOffset:ee(n.offsetY),width:ee(n.width),height:ee(n.height),imageId:o.rId}}));return{main:(r=n,F+'\n<xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n '+H(r,(function(e,t){return'\n <xdr:oneCellAnchor editAs="oneCell">\n <xdr:from>\n <xdr:col>'+e.col+"</xdr:col>\n <xdr:colOff>"+e.colOffset+"</xdr:colOff>\n <xdr:row>"+e.row+"</xdr:row>\n <xdr:rowOff>"+e.rowOffset+'</xdr:rowOff>\n </xdr:from>\n <xdr:ext cx="'+e.width+'" cy="'+e.height+'" />\n <xdr:pic>\n <xdr:nvPicPr>\n <xdr:cNvPr id="'+(t+1)+'" name="Picture '+(t+1)+'"/>\n <xdr:cNvPicPr/>\n </xdr:nvPicPr>\n <xdr:blipFill>\n <a:blip r:embed="'+e.imageId+'"/>\n <a:stretch>\n <a:fillRect/>\n </a:stretch>\n </xdr:blipFill>\n <xdr:spPr>\n <a:prstGeom prst="rect">\n <a:avLst/>\n </a:prstGeom>\n </xdr:spPr>\n </xdr:pic>\n <xdr:clientData/>\n </xdr:oneCellAnchor>'}))+"\n</xdr:wsDr>"),rels:D(t)}}var r},T.prototype.legacyDrawing=function(){if(this._comments.length)return function(e){return'<xml xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:x="urn:schemas-microsoft-com:office:excel">\n <v:shapetype coordsize="21600,21600" id="_x0000_t202" path="m,l,21600r21600,l21600,xe">\n <v:stroke joinstyle="miter"/>\n <v:path gradientshapeok="t" o:connecttype="rect"/>\n </v:shapetype>\n '+H(e.comments,(function(e){return'\n <v:shape type="#_x0000_t202" style="visibility: hidden" fillcolor="#ffffe1" o:insetmode="auto">\n <v:shadow on="t" color="black" obscured="t"/>\n <x:ClientData ObjectType="Note">\n <x:MoveWithCells/>\n <x:SizeWithCells/>\n <x:Anchor>'+e.anchor+"</x:Anchor>\n <x:AutoFill>False</x:AutoFill>\n <x:Row>"+e.row+"</x:Row>\n <x:Column>"+e.col+"</x:Column>\n </x:ClientData>\n </v:shape>"}))+"\n</xml>"}({comments:this._comments})},T.prototype._lookupString=function(e){var t,n="$"+e,r=this._strings.indexes[n];return void 0!==r?t=r:(t=this._strings.indexes[n]=this._strings.uniqueCount,this._strings.uniqueCount++),this._strings.count++,t},T.prototype._lookupStyle=function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var n=S(t,this._styles);return n<0&&(n=this._styles.push(t)-1),n+1},T.prototype._lookupBorder=function(e){var t=JSON.stringify(e);if("{}"!==t){var n=S(t,this._borders);return n<0&&(n=this._borders.push(t)-1),n+1}},T.prototype._readCells=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.cells;n.data=[];for(var o=0;o<r.length;o++){var i=this._cell(r[o],n.index,o);i&&n.data.push(i)}}},T.prototype._cell=function(e,t,n){if(!e||e===X)return null;var r=e.value,o={};e.borderLeft&&(o.left=e.borderLeft),e.borderRight&&(o.right=e.borderRight),e.borderTop&&(o.top=e.borderTop),e.borderBottom&&(o.bottom=e.borderBottom),e.dBorders&&(o.diagonal=e.dBorders),o=this._lookupBorder(o);var i,a=this.options.defaultCellStyle||{},s={borderId:o};(i=function(t,n){var r=e[t];if(void 0===r&&(r=a[t]),void 0!==r)return s[n||t]=r,!0})("color"),i("background"),i("bold"),i("italic"),i("underline"),i("fontFamily")||i("fontName","fontFamily"),i("fontSize"),i("format"),i("textAlign")||i("hAlign","textAlign"),i("verticalAlign")||i("vAlign","verticalAlign"),i("wrap"),i("indent");var l,c,u,h=(this.options.columns||[])[n],d=typeof r;if(h&&h.autoWidth&&(!e.colSpan||1===e.colSpan)){var p=r;"number"===d&&(p=b.toString(r,e.format)),h.width=Math.max(h.width||0,String(p).length)}"string"===d?(r=function(e){return String(e).replace(/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,"").replace(/\r?\n/g,"\r\n")}(r),r=this._lookupString(r),d="s"):"number"===d?d="n":"boolean"===d?(d="b",r=Number(r)):r&&r.getTime?(d=null,c=((l=r).getHours()+(l.getMinutes()+(l.getSeconds()+l.getMilliseconds()/1e3)/60)/60)/24,r=(u=function(e,t,n){return w(e,t,n)-x}(l.getFullYear(),l.getMonth(),l.getDate()))<0?u-1+c:u+c,s.format||(s.format="mm-dd-yy")):(d=null,r=null),s=this._lookupStyle(s);var f=A(t,n);if(e.validation&&this._addValidation(e.validation,f),e.comment){var m=[n+1,15,t,10,n+3,15,t+3,4];this._comments.push({ref:f,text:e.comment,row:t,col:n,anchor:m.join(", ")})}return{value:r,formula:e.formula,type:d,style:s,ref:f}},T.prototype._addValidation=function(e,t){var n={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:K[e.dataType]||e.dataType,operator:U[e.comparerType]||e.comparerType,allowBlank:e.allowNulls?1:0,showDropDown:e.showButton?0:1,error:e.messageTemplate,errorTitle:e.titleTemplate},r=JSON.stringify(n);this._validations[r]||(this._validations[r]=n,n.sqref=[]),this._validations[r].sqref.push(t)},T.prototype._getLastRow=function(){return j(this.options.rows)},T.prototype._getLastCol=function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,j(t.cells)))})),e};var U={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},K={number:"decimal"},W={General:0,0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49,"[$-404]e/m/d":27,"m/d/yy":30,t0:59,"t0.00":60,"t#,##0":61,"t#,##0.00":62,"t0%":67,"t0.00%":68,"t# ?/?":69,"t# ??/??":70};function q(e){var t=function(e){function t(e){var t=parseInt(e,10).toString(16);return t.length<2?"0"+t:t}var n=/^rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([0-9.]+)\s*)?\)/i.exec(e.trim());return n?"#"+t(255*(n[4]?parseFloat(n[4]):1)|0)+t(n[1])+t(n[2])+t(n[3]):e}(e);return t.length<6&&(t=t.replace(/(\w)/g,(function(e,t){return t+t}))),(t=t.substring(1).toUpperCase()).length<8&&(t="FF"+t),t}var $=function(e){var t=this;this.options=e||{},this._strings={indexes:{},count:0,uniqueCount:0},this._styles=[],this._borders=[],this._images=this.options.images,this._imgId=0,this._sheets=u(this.options.sheets||[],(function(e,n){return e.defaults=t.options,e.sheetIndex=n+1,new T(e,t._strings,t._styles,t._borders)}))};function G(e,t){var n,r,o="";return t&&(o+="<"+e+' style="'+(r="thin",2===(n=t.size)?r="medium":3===n&&(r="thick"),r+'">'),t.color&&(o+='<color rgb="'+q(t.color)+'"/>'),o+="</"+e+">"),o}function Y(e){var t=e.diagonal?e.diagonal.type:0;return"<border "+(2&t?'diagonalUp="true"':"")+" "+(1&t?'diagonalDown="true"':"")+">\n "+G("left",e.left)+"\n "+G("right",e.right)+"\n "+G("top",e.top)+"\n "+G("bottom",e.bottom)+"\n "+G("diagonal",e.diagonal)+"\n </border>"}$.prototype.imageFilename=function(e){var t=++this._imgId;switch(e){case"image/jpg":case"image/jpeg":return"image"+t+".jpg";case"image/png":return"image"+t+".png";case"image/gif":return"image"+t+".gif";default:return"image"+t+".bin"}},$.prototype.toZIP=function(){var e=this,t=new y.Z,n=t.folder("docProps");n.file("core.xml",function(e){var t=e.lastModifiedBy,n=e.created,r=e.modified;return F+'\n <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"\n xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"\n xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n <dc:creator>'+O(e.creator)+"</dc:creator>\n <cp:lastModifiedBy>"+O(t)+'</cp:lastModifiedBy>\n <dcterms:created xsi:type="dcterms:W3CDTF">'+O(n)+'</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">'+O(r)+"</dcterms:modified>\n</cp:coreProperties>"}({creator:this.options.creator||"Kendo UI",lastModifiedBy:this.options.creator||"Kendo UI",created:this.options.date||(new Date).toJSON(),modified:this.options.date||(new Date).toJSON()}));var r=this._sheets.length;n.file("app.xml",function(e){var t=e.sheets;return F+'\n<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n <Application>Microsoft Excel</Application>\n <DocSecurity>0</DocSecurity>\n <ScaleCrop>false</ScaleCrop>\n <HeadingPairs>\n <vt:vector size="2" baseType="variant">\n <vt:variant>\n <vt:lpstr>Worksheets</vt:lpstr>\n </vt:variant>\n <vt:variant>\n <vt:i4>'+t.length+'</vt:i4>\n </vt:variant>\n </vt:vector>\n </HeadingPairs>\n <TitlesOfParts>\n <vt:vector size="'+t.length+'" baseType="lpstr">'+H(t,(function(e,t){return e.options.title?"<vt:lpstr>"+O(e.options.title)+"</vt:lpstr>":"<vt:lpstr>Sheet"+(t+1)+"</vt:lpstr>"}))+"</vt:vector>\n </TitlesOfParts>\n <LinksUpToDate>false</LinksUpToDate>\n <SharedDoc>false</SharedDoc>\n <HyperlinksChanged>false</HyperlinksChanged>\n <AppVersion>14.0300</AppVersion>\n</Properties>"}({sheets:this._sheets})),t.folder("_rels").file(".rels",V);var o=t.folder("xl");if(o.folder("_rels").file("workbook.xml.rels",function(e){var t=e.count;return F+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+R(t,(function(e){return'\n <Relationship Id="rId'+(e+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet'+(e+1)+'.xml" />'}))+'\n <Relationship Id="rId'+(t+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml" />\n <Relationship Id="rId'+(t+2)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml" />\n</Relationships>'}({count:r})),this._images){var i=o.folder("media");Object.keys(this._images).forEach((function(t){var n=e._images[t],r=e.imageFilename(n.type);i.file(r,n.data),n.target="../media/"+r}))}var a={};o.file("workbook.xml",function(e){var t=e.filterNames,n=e.userNames;return F+'\n<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303" />\n <workbookPr defaultThemeVersion="124226" />\n <bookViews>\n <workbookView xWindow="240" yWindow="45" windowWidth="18195" windowHeight="7995" />\n </bookViews>\n <sheets>\n '+H(e.sheets,(function(e,t){var n=e.options;return'<sheet name="'+O(n.name||n.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n </sheets>\n "+(t.length||n.length?"\n <definedNames>\n "+H(t,(function(e){return'\n <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+O(function(e){return/^\'/.test(e)||/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+O(e.from)+":"+O(e.to)+"</definedName>"}))+"\n "+H(n,(function(e){return'\n <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+O(e.value)+"</definedName>"}))+"\n </definedNames>":"")+'\n <calcPr fullCalcOnLoad="1" calcId="145621" />\n</workbook>'}({sheets:this._sheets,filterNames:u(this._sheets,(function(e,t){var n=e.options,r=n.name||n.title||"Sheet"+(t+1);a[r.toLowerCase()]=t;var o=n.filter;if(o){if(o.ref){var i=o.ref.split(":"),s=Q(i[0]),l=Q(i[1]);return{localSheetId:t,name:r,from:N(s.row,s.col),to:N(l.row,l.col)}}if(void 0!==o.from&&void 0!==o.to)return{localSheetId:t,name:r,from:N(L(n),o.from),to:N(L(n),o.to)}}})),userNames:u(this.options.names||[],(function(e){return{name:e.localName,localSheetId:e.sheet?a[e.sheet.toLowerCase()]:null,value:e.value,hidden:e.hidden}}))}));for(var s=o.folder("worksheets"),l=o.folder("drawings"),c=l.folder("_rels"),h=s.folder("_rels"),d=[],p=[],f=0;f<r;f++){var m=e._sheets[f],v="sheet"+(f+1)+".xml",g=m.toXML(f),b=m.relsToXML(),w=m.commentsXML(),x=m.legacyDrawing(),k=m.drawingsXML(e._images);if(b&&h.file(v+".rels",b),w){var z="comments"+m.options.sheetIndex+".xml";o.file(z,w),d.push(z)}if(x&&l.file("vmlDrawing"+m.options.sheetIndex+".vml",x),k){var C="drawing"+m.options.sheetIndex+".xml";l.file(C,k.main),c.file(C+".rels",k.rels),p.push(C)}s.file(v,g)}var _=u(this._borders,M),I=u(this._styles,M),E=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},D=u(I,(function(e){var t,n,r;if(e.fontSize&&(e.fontSize=(t=e.fontSize,(r=Number(t))&&(n=3*r/4),n)),e.color&&(e.color=q(e.color)),E(e))return e})),B=u(I,(function(e){if(e.format&&void 0===W[e.format])return e})),A=u(I,(function(e){if(e.background)return e.background=q(e.background),e}));return o.file("styles.xml",function(e){var t=e.formats,n=e.fonts,r=e.fills,o=e.borders,i=e.styles;return F+'\n<styleSheet\n xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"\n xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\n mc:Ignorable="x14ac"\n xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">\n <numFmts count="'+t.length+'">\n '+H(t,(function(e,t){return'\n <numFmt formatCode="'+O(e.format)+'" numFmtId="'+(165+t)+'" />'}))+'\n </numFmts>\n <fonts count="'+(n.length+1)+'" x14ac:knownFonts="1">\n <font>\n <sz val="11" />\n <color theme="1" />\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n </font>\n '+H(n,(function(e){return"\n <font>\n "+(e.bold?"<b/>":"")+"\n "+(e.italic?"<i/>":"")+"\n "+(e.underline?"<u/>":"")+'\n <sz val="'+(e.fontSize||11)+'" />\n '+(e.color?'<color rgb="'+O(e.color)+'" />':'<color theme="1" />')+"\n "+(e.fontFamily?'\n <name val="'+O(e.fontFamily)+'" />\n <family val="2" />\n ':'\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n ')+"\n </font>"}))+'\n </fonts>\n <fills count="'+(r.length+2)+'">\n <fill><patternFill patternType="none"/></fill>\n <fill><patternFill patternType="gray125"/></fill>\n '+H(r,(function(e){return"\n "+(e.background?'\n <fill>\n <patternFill patternType="solid">\n <fgColor rgb="'+O(e.background)+'"/>\n </patternFill>\n </fill>\n ':"")}))+'\n </fills>\n <borders count="'+(o.length+1)+'">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n '+H(o,Y)+'\n </borders>\n <cellStyleXfs count="1">\n <xf borderId="0" fillId="0" fontId="0" />\n </cellStyleXfs>\n <cellXfs count="'+(i.length+1)+'">\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" />\n '+H(i,(function(e){return'\n <xf xfId="0"\n '+(e.fontId?'fontId="'+e.fontId+'" applyFont="1"':"")+"\n "+(e.fillId?'fillId="'+e.fillId+'" applyFill="1"':"")+"\n "+(e.numFmtId?'numFmtId="'+e.numFmtId+'" applyNumberFormat="1"':"")+"\n "+(e.textAlign||e.verticalAlign||e.wrap?'applyAlignment="1"':"")+"\n "+(e.borderId?'borderId="'+e.borderId+'" applyBorder="1"':"")+">\n "+(e.textAlign||e.verticalAlign||e.wrap?"\n <alignment\n "+(e.textAlign?'horizontal="'+O(e.textAlign)+'"':"")+"\n "+(e.verticalAlign?'vertical="'+O(e.verticalAlign)+'"':"")+"\n "+(e.indent?'indent="'+O(e.indent)+'"':"")+"\n "+(e.wrap?'wrapText="1"':"")+" />\n ":"")+"\n </xf>\n "}))+'\n </cellXfs>\n <cellStyles count="1">\n <cellStyle name="Normal" xfId="0" builtinId="0"/>\n </cellStyles>\n <dxfs count="0" />\n <tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleMedium9" />\n</styleSheet>'}({fonts:D,fills:A,formats:B,borders:_,styles:u(I,(function(e){var t={};return E(e)&&(t.fontId=S(e,D)+1),e.background&&(t.fillId=S(e,A)+2),t.textAlign=e.textAlign,t.indent=e.indent,t.verticalAlign=e.verticalAlign,t.wrap=e.wrap,t.borderId=e.borderId,e.format&&(void 0!==W[e.format]?t.numFmtId=W[e.format]:t.numFmtId=165+S(e,B)),t}))})),o.file("sharedStrings.xml",function(e){var t=e.count,n=e.uniqueCount,r=e.indexes;return F+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+n+'">\n '+H(Object.keys(r),(function(e){return'\n <si><t xml:space="preserve">'+O(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.commentFiles,n=e.drawingFiles;return F+'\n<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n <Default Extension="png" ContentType="image/png"/>\n <Default Extension="gif" ContentType="image/gif"/>\n <Default Extension="jpg" ContentType="image/jpeg"/>\n <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />\n <Default Extension="xml" ContentType="application/xml" />\n <Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>\n <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" />\n <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>\n <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>\n '+R(e.sheetCount,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n "+H(t,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n "+H(n,(function(e){return'<Override PartName="/xl/drawings/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.drawing+xml"/>'}))+'\n <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />\n <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" />\n</Types>'}({sheetCount:r,commentFiles:d,drawingFiles:p})),t},$.prototype.toDataURL=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(C).then(E):E(e.generate(C))},$.prototype.toBlob=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(_):new Blob([e.generate(I)],{type:k})};var X={};function Z(e){return e.sort((function(e,t){return e.index-t.index}))}function J(e,t){for(var n=0;n<e.length;++n){var r=e[n].split(":"),o=r[0];if(o===t){var i=r[1];return o=Q(o),{rowSpan:(i=Q(i)).row-o.row+1,colSpan:i.col-o.col+1}}}}function Q(e){var t,n=/^([a-z]+)(\d+)$/i.exec(e);return{row:(t=n[2],parseInt(t,10)-1),col:function(e){for(var t=e.toUpperCase(),n=0,r=0;r<t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}(n[1])}}function ee(e){return Math.round(9525*e)}function te(e,t){var n,r,o=e._source,i=e.index,a=o.cells,s=e.cells;if(a)for(var l=0;l<a.length;l++){var c=a[l]||X,u=c.rowSpan||1,h=c.colSpan||1,d=ne(s,c),p=A(i,d);if(1===u&&1===h){var f=J(t.mergedCells,p);f&&(h=f.colSpan,u=f.rowSpan)}if(oe(c,s,d,h),(u>1||h>1)&&(n=t.mergedCells,r=p+":"+A(i+u-1,d+h-1),n.indexOf(r)<0&&n.push(r)),u>1)for(var m=i+1;m<i+u;m++){var v=t.rowsByIndex[m];v||(v=t.rowsByIndex[m]={index:m,cells:[]},t.rowData.push(v)),oe(c,v.cells,d-1,h+1)}}}function ne(e,t){var n;return"number"==typeof t.index?(n=t.index,re(e,t,t.index)):n=function(e,t){for(var n=e.length,r=0;r<e.length+1;r++)if(!e[r]){e[r]=t,n=r;break}return n}(e,t),n}function re(e,t,n){e[n]=t}function oe(e,t,n,r){for(var o=1;o<r;o++)re(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},n+o)}var ie=function(e){var t=e.ref,n=e.columns,r=e.generators;return'\n<autoFilter ref="'+t+'">\n '+H(n,(function(e){return'\n <filterColumn colId="'+e.index+'">\n '+r[e.filter](e)+"\n </filterColumn>\n "}))+"\n</autoFilter>"},ae=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+H(e.criteria,(function(e){var t=ue.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+ue.customValue(e)+'"/>'}))+"\n</customFilters>"},se=function(e){var t=e.type;return'<dynamicFilter type="'+ue.dynamicFilterType(t)+'" />'},le=function(e){var t=e.type,n=e.value;return'<top10 percent="'+(/percent$/i.test(t)?1:0)+'"\n top="'+(/^top/i.test(t)?1:0)+'"\n val="'+n+'" />'},ce=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n "+H(e.values,(function(e){return'\n <filter val="'+e+'" />'}))+"\n </filters>"};function ue(e){return ie({ref:e.ref,columns:e.columns,generators:{custom:ae,dynamic:se,top:le,value:ce}})}ue.customOperator=function(e){return{eq:"equal",gt:"greaterThan",gte:"greaterThanOrEqual",lt:"lessThan",lte:"lessThanOrEqual",ne:"notEqual",doesnotstartwith:"notEqual",doesnotendwith:"notEqual",doesnotcontain:"notEqual",doesnotmatch:"notEqual"}[e.operator.toLowerCase()]},ue.customValue=function(e){function t(e){return e.replace(/([*?])/g,"~$1")}switch(e.operator.toLowerCase()){case"startswith":case"doesnotstartwith":return t(e.value)+"*";case"endswith":case"doesnotendwith":return"*"+t(e.value);case"contains":case"doesnotcontain":return"*"+t(e.value)+"*";default:return e.value}},ue.dynamicFilterType=function(e){return{quarter1:"Q1",quarter2:"Q2",quarter3:"Q3",quarter4:"Q4",january:"M1",february:"M2",march:"M3",april:"M4",may:"M5",june:"M6",july:"M7",august:"M8",september:"M9",october:"M10",november:"M11",december:"M12"}[e.toLowerCase()]||e}},727:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Spreadsheet:()=>gs});var r=n(4407),o=n(619),i=function(){return"undefined"!=typeof window},a={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)(\.(\d+(\.\d+)?))?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},s={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},l={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i},c={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i},u=function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)&&t[r].test(e))return r;return void 0!==n?n:e},h=i()&&window.navigator?window.navigator.userAgent:null,d=h?function(e){var t=null,n=[];for(var r in l)if(l.hasOwnProperty(r)&&(n=e.match(l[r]))){(t={})[r]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10);break}return t}(h):null;(h&&function(e){var t,n=[];for(var r in a)if(a.hasOwnProperty(r)){if(!(n=e.match(a[r])))continue;if("windows"===r&&"plugins"in window.navigator)return null;var o={};return o.device=r,o.browser=u(e,c,"default"),o.name=u(r,s),o[o.name]=!0,o.majorVersion=n[2],o.minorVersion=n[3]?n[3].replace("_","."):".0",t=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),o.cordova=void 0!==typeof window.PhoneGap||void 0!==typeof window.cordova,o.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||o.cordova,o}}(h),i()&&window,d&&!d.chrome&&window.MSPointerEvent,d&&!d.chrome&&window.PointerEvent,{})[void 0]=function(e){return e};var p=n(4796);function f(e){const t=Math.floor(e/26)-1;return(t>=0?f(t):"")+String.fromCharCode(65+e%26)}function m(e){return/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}function v(e,t,n,r){let o="";return++t,isFinite(t)?null==r||2&r||(t="$"+t):t="",isFinite(n)?(o=f(n),null==r||1&r||(o="$"+o)):n="",e?m(e)+"!"+o+t:o+t}class g{constructor(){this.type="ref",this.sheet=""}clone(){return this}hasSheet(){return this._hasSheet}simplify(){return this}setSheet(e,t){return this.sheet=e,null!=t&&(this._hasSheet=t),this}absolute(e,t){return this}relative(...e){return this}adjust(e,t,n,r,o,i,a){return this}toString(){return this.relative(0,0,3,3).print(0,0)}forEach(e,t){e.call(t,this)}map(e,t){return e.call(t,this)}intersect(e){return this}intersects(e){return this.intersect(e)!==b}isCell(){return!1}toRow(e){return this}toColumn(e){return this}first(){return this}lastRange(){return this}size(){return 1}rangeAt(e){return this}nextRangeIndex(e){return 0}previousRangeIndex(e){return 0}eq(e){let t=this,n=e;if(t===b||n===b)return t===n;if((n instanceof w||n instanceof x&&!(t instanceof w))&&(t=e,n=this),t instanceof w)return n=n.simplify(),n instanceof w&&t.row==n.row&&t.col==n.col&&t.sheet==n.sheet;if(t instanceof x){if(n instanceof x)return n.topLeft.eq(t.topLeft)&&n.bottomRight.eq(t.bottomRight);if(n instanceof k)return n.single()&&t.eq(n.refs[0])}else if(t instanceof k&&n instanceof k){const e=t.refs,r=n.refs;if(e.length!=r.length)return!1;for(let t=0,n=e.length;t<n;t++)if(!e[t].eq(r[t]))return!1;return!0}return t===n}concat(e){return new k([this,e])}replaceAt(e,t){return t}forEachColumnIndex(e){this.forEachAxisIndex("col",e)}forEachRowIndex(e){this.forEachAxisIndex("row",e)}forEachRow(e){}forEachColumn(e){}forEachAxisIndex(e,t){let n=[];this["row"===e?"forEachRow":"forEachColumn"]((function(t){let r=t.first()[e];-1===n.indexOf(r)&&n.push(r)})),n.sort((function(e,t){return e>t?1:e<t?-1:0})).forEach(t)}valid(){return!1}renameSheet(e,t){if(this.sheet&&this.sheet.toLowerCase()==e.toLowerCase())return this.sheet=t,!0}}g.display=v;const b=new class extends g{print(){return"#NULL!"}eq(e){return e===this}forEach(){}};class y extends g{constructor(e){super(),this.name=e,this.ref="name"}clone(){return new y(this.name).setSheet(this.sheet,this.hasSheet())}print(){let e=m(this.name);return this.hasSheet()&&(e=m(this.sheet)+"!"+e),e}}class w extends g{constructor(e,t,n){super(),this.row=e,this.col=t,this.rel=n||0,this.ref="cell"}clone(){return new w(this.row,this.col,this.rel).setSheet(this.sheet,this.hasSheet())}intersect(e){return e instanceof w?this.eq(e)?this:b:e.intersect(this)}print(e,t,n){let r,o=this.col,i=this.row,a=this.rel;if(null==e&&a){let e=this.hasSheet()?m(this.sheet)+"!":"";return o=isFinite(o)?1&a?"C["+o+"]":"C"+(o+1):"",i=isFinite(i)?2&a?"R["+i+"]":"R"+(i+1):"",e+i+o}return r=this.absolute(e,t),n?(i=r.row%1048576,o=r.col%16384,i<0&&(i+=1048576),o<0&&(o+=16384),v(this._hasSheet&&this.sheet,i,o,a)):r.valid()?v(this._hasSheet&&this.sheet,r.row,r.col,a):"#REF!"}absolute(e,t){let n=this.clone();return 0==(3&n.rel)||(1&n.rel&&(n.col=(n.col+t)%16384),2&n.rel&&(n.row=(n.row+e)%1048576),n.rel=0),n}toRangeRef(){return new x(this,this)}relative(e,t,n){null==n&&(n=this.rel);let r=2&n?this.row-e:this.row,o=1&n?this.col-t:this.col;return new w(r,o,n).setSheet(this.sheet,this.hasSheet())}height(){return 1}width(){return 1}toString(){return v(null,this.row,this.col,3)}isCell(){return!0}leftColumn(){return this}rightColumn(){return this}topRow(){return this}bottomRow(){return this}forEachRow(e){e(this.toRangeRef())}forEachColumn(e){e(this.toRangeRef())}adjust(e,t,n,r,o,i,a){let s=this.absolute(e,t);if(o){if(s.row>=i){if(a<0&&s.row<i-a)return b;s.row+=a}}else if(s.col>=i){if(a<0&&s.col<i-a)return b;s.col+=a}return null!=n&&null!=r&&(s=s.relative(n,r,this.rel)),s}valid(){if(this.rel)throw new Error("valid() called on relative reference");let e=this.col,t=this.row;return!(isFinite(e)&&e<0||isFinite(t)&&t<0)}}class x extends g{constructor(e,t){super(),this.ref="range",e._hasSheet&&t._hasSheet&&e.sheet.toLowerCase()!=t.sheet.toLowerCase()&&(this.endSheet=t.sheet),this.topLeft=new w(e.row,e.col,e.rel),this.bottomRight=new w(t.row,t.col,t.rel),this.normalize()}clone(){return new x(this.topLeft.clone(),this.bottomRight.clone()).setSheet(this.sheet,this.hasSheet())}_containsRange(e){return this._containsCell(e.topLeft)&&this._containsCell(e.bottomRight)}_containsCell(e){return e.sheet==this.sheet&&e.row>=this.topLeft.row&&e.col>=this.topLeft.col&&e.row<=this.bottomRight.row&&e.col<=this.bottomRight.col}contains(e){if(e instanceof Array){let t=this;return e.some((function(e){return Boolean(t.contains(e))}))}return e instanceof w?this._containsCell(e):e instanceof x&&this._containsRange(e)}_intersectRange(e){if(this.sheet!=e.sheet)return b;let t=this.topLeft.col,n=this.topLeft.row,r=this.bottomRight.col,o=this.bottomRight.row,i=e.topLeft.col,a=e.topLeft.row,s=e.bottomRight.col,l=e.bottomRight.row;return t<=s&&i<=r&&n<=l&&a<=o?new x(new w(Math.max(n,a),Math.max(t,i)),new w(Math.min(o,l),Math.min(r,s))).setSheet(this.sheet,this.hasSheet()):b}intersect(e){return e instanceof w?this._containsCell(e)?e:b:e instanceof x?this._intersectRange(e).simplify():e instanceof k?e.intersect(this):b}simplify(){return this.isCell()?new w(this.topLeft.row,this.topLeft.col,this.topLeft.rel).setSheet(this.sheet,this.hasSheet()):this}normalize(){let e,t=this.topLeft,n=this.bottomRight,r=t.row,o=t.col,i=n.row,a=n.col,s=2&t.rel,l=1&t.rel,c=2&n.rel,u=1&n.rel,h=!1;return s===c&&l===u&&(r>i&&(h=!0,e=r,r=i,i=e,e=s,s=c,c=e),o>a&&(h=!0,e=o,o=a,a=e,e=l,l=u,u=e),h&&(this.topLeft=new w(r,o,l|s),this.bottomRight=new w(i,a,u|c))),this}print(e,t,n){if(n||this.absolute(e,t).valid()){let r=this.topLeft.print(e,t,n)+":"+this.bottomRight.print(e,t,n);return this.hasSheet()&&(r=m(this.sheet)+(this.endSheet?":"+m(this.endSheet):"")+"!"+r),r}return"#REF!"}absolute(e,t){return new x(this.topLeft.absolute(e,t),this.bottomRight.absolute(e,t)).setSheet(this.sheet,this.hasSheet())}relative(e,t,n,r){return null==r&&(r=n),new x(this.topLeft.relative(e,t,n),this.bottomRight.relative(e,t,r)).setSheet(this.sheet,this.hasSheet())}height(){if(this.topLeft.rel!=this.bottomRight.rel)throw new Error("Mixed relative/absolute references");return this.bottomRight.row-this.topLeft.row+1}width(){if(this.topLeft.rel!=this.bottomRight.rel)throw new Error("Mixed relative/absolute references");return this.bottomRight.col-this.topLeft.col+1}collapse(){return this.topLeft.toRangeRef()}leftColumn(){return new x(this.topLeft,new w(this.bottomRight.row,this.topLeft.col))}rightColumn(){return new x(new w(this.topLeft.row,this.bottomRight.col),this.bottomRight)}topRow(){return new x(this.topLeft,new w(this.topLeft.row,this.bottomRight.col))}bottomRow(){return new x(new w(this.bottomRight.row,this.topLeft.col),this.bottomRight)}toRangeRef(){return this}toRow(e){return e+=Math.max(0,this.topLeft.row),new x(new w(e,this.topLeft.col),new w(e,this.bottomRight.col)).setSheet(this.sheet,this.hasSheet())}toColumn(e){return e+=Math.max(0,this.topLeft.col),new x(new w(this.topLeft.row,e),new w(this.bottomRight.row,e)).setSheet(this.sheet,this.hasSheet())}toCell(e,t){return e+=Math.max(0,this.topLeft.row),t+=Math.max(0,this.topLeft.col),new w(e,t,0).setSheet(this.sheet,this.hasSheet())}forEachRow(e){let t=this.topLeft.row,n=this.bottomRight.row,r=this.topLeft.col,o=this.bottomRight.col;for(let i=t;i<=n;i++)e(new x(new w(i,r),new w(i,o)))}forEachColumn(e){let t=this.topLeft.row,n=this.bottomRight.row,r=this.topLeft.col,o=this.bottomRight.col;for(let i=r;i<=o;i++)e(new x(new w(t,i),new w(n,i)))}intersecting(e){return e.filter((e=>e.toRangeRef().intersects(this)))}union(e,t){let n=this.intersecting(e),r=this.topLeft.row,o=this.topLeft.col,i=this.bottomRight.row,a=this.bottomRight.col,s=!1;n.forEach((function(e){(e=e.toRangeRef()).topLeft.row<r&&(s=!0,r=e.topLeft.row),e.topLeft.col<o&&(s=!0,o=e.topLeft.col),e.bottomRight.row>i&&(s=!0,i=e.bottomRight.row),e.bottomRight.col>a&&(s=!0,a=e.bottomRight.col),t&&t(e)}));let l=new x(new w(r,o),new w(i,a));return s?l.union(e,t):l}resize(e){let t=Math.max.bind(Math,0);function n(e){return e||0}let r=this.topLeft.row+n(e.top),o=this.topLeft.col+n(e.left),i=this.bottomRight.row+n(e.bottom),a=this.bottomRight.col+n(e.right);return o<0&&a<0||r<0&&i<0?b:r<=i&&o<=a?new x(new w(t(r),t(o)),new w(t(i),t(a))):b}move(e,t){return new x(new w(this.topLeft.row+e,this.topLeft.col+t),new w(this.bottomRight.row+e,this.bottomRight.col+t))}first(){return this.topLeft.clone().setSheet(this.sheet,this.hasSheet())}isCell(){return!this.endSheet&&this.topLeft.eq(this.bottomRight)}toString(){return this.topLeft+":"+this.bottomRight}adjust(e,t,n,r,o,i,a){let s=this.topLeft.adjust(e,t,n,r,o,i,a),l=this.bottomRight.adjust(e,t,n,r,o,i,a);return s===b&&l===b?b:(s===b?(s=this.topLeft.absolute(e,t),o?s.row=i:s.col=i,null!=n&&null!=r&&(s=s.relative(n,r,this.topLeft.rel))):l===b&&(l=this.bottomRight.absolute(e,t),o?l.row=i-1:l.col=i-1,null!=n&&null!=r&&(l=l.relative(n,r,this.bottomRight.rel))),new x(s,l).setSheet(this.sheet,this.hasSheet()).simplify())}valid(){return this.topLeft.valid()&&this.bottomRight.valid()}}class k extends g{constructor(e){super(),this.refs=e,this.length=e.length}clone(){return new k(this.refs.slice())}intersect(e){let t=[];for(let n=0;n<this.length;++n){let r=e.intersect(this.refs[n]);r!==b&&t.push(r)}return t.length>0?new k(t).simplify():b}simplify(){let e=new k(this.refs.reduce((function(e,t){return(t=t.simplify())!==b&&e.push(t),e}),[]));return e.empty()?b:e.single()?e.refs[0]:e}absolute(e,t){return new k(this.refs.map((function(n){return n.absolute(e,t)})))}forEach(e,t){this.refs.forEach((function(n){n instanceof k?n.forEach(e,t):e.call(t,n)}),t)}toRangeRef(){return this.refs[0].toRangeRef()}contains(e){return this.refs.some((function(t){return t.contains(e)}))}map(e,t){let n=[];return this.forEach((function(r){n.push(e.call(t,r))})),new k(n)}first(){return this.refs[0].first()}lastRange(){return this.refs[this.length-1]}size(){return this.length}single(){return 1==this.length}empty(){return 0===this.length}isCell(){return this.single()&&this.refs[0].isCell()}rangeAt(e){return this.refs[e]}nextRangeIndex(e){return e===this.length-1?0:e+1}previousRangeIndex(e){return 0===e?this.length-1:e-1}concat(e){return new k(this.refs.concat([e]))}print(e,t,n){return this.refs.map((function(r){return r.print(e,t,n)})).join(",")}replaceAt(e,t){let n=this.refs.slice();return n.splice(e,1,t),new k(n)}leftColumn(){return this.map((function(e){return e.leftColumn()}))}rightColumn(){return this.map((function(e){return e.rightColumn()}))}topRow(){return this.map((function(e){return e.topRow()}))}bottomRow(){return this.map((function(e){return e.bottomRow()}))}forEachRow(e){this.forEach((function(t){t.forEachRow(e)}))}forEachColumn(e){this.forEach((function(t){t.forEachColumn(e)}))}adjust(e,t,n,r,o,i,a){return this.map((function(s){return s.adjust(e,t,n,r,o,i,a)})).simplify()}toString(){return this.refs.map((function(e){return e.toString()})).join(", ")}valid(){for(let e=this.refs.length;--e>=0;)if(this.refs[e].valid())return!1;return!0}renameSheet(e,t){this.refs.forEach((function(n){n.renameSheet(e,t)}))}}const z=new w(0,0),C=new x(new w(0,0),new w(1/0,1/0));C.print=function(){return"#SHEET"};const _={view:{nameBox:"Name Box",errors:{openUnsupported:"Unsupported format. Please select an .xlsx file.",shiftingNonblankCells:"Cannot insert cells due to data loss possibility. Select another insert location or delete the data from the end of your worksheet.",insertColumnWhenRowIsSelected:"Cannot insert column when all columns are selected.",insertRowWhenColumnIsSelected:"Cannot insert row when all rows are selected.",filterRangeContainingMerges:"Cannot create a filter within a range containing merges",sortRangeContainingMerges:"Cannot sort a range containing merges",cantSortMultipleSelection:"Cannot sort multiple selection",cantSortNullRef:"Cannot sort empty selection",cantSortMixedCells:"Cannot sort range containing cells of mixed shapes",validationError:"The value that you entered violates the validation rules set on the cell.",cannotModifyDisabled:"Cannot modify disabled cells.",insertRowBelowLastRow:"Cannot insert row below the last row.",insertColAfterLastCol:"Cannot insert column to the right of the last column."},tabs:{home:"Home",insert:"Insert",data:"Data"}},menus:{cut:"Cut",copy:"Copy",paste:"Paste",merge:"Merge",unmerge:"Unmerge",delete:"Delete",hide:"Hide",unhide:"Unhide",bringToFront:"Bring to front",sendToBack:"Send to back"},workbook:{defaultSheetName:"Sheet"}},I={name:"Spreadsheet",toolbar:!0,sheetsbar:!0,rows:200,columns:50,rowHeight:20,columnWidth:64,headerHeight:20,headerWidth:32,excel:{fileName:"Workbook.xlsx",forceProxy:!1,proxyURL:""},messages:_,pdf:{area:"workbook",fileName:"Workbook.pdf",proxyURL:"",paperSize:"a4",landscape:!0,margin:null,title:null,author:null,subject:null,keywords:null,creator:"Kendo UI PDF Generator",date:null},defaultCellStyle:{fontFamily:"Arial",fontSize:12},useCultureDecimals:!1,locale:"en"},E={recalc:!0,selection:!0,activeCell:!0,layout:!0,sheetSelection:!0,resize:!0,editorChange:!1,editorClose:!1},S={INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},M=new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");function O(e){let t=Object.create(null);return function(){let n="";for(let e=arguments.length;--e>=0;)n+=":"+arguments[e];return n in t?t[n]:t[n]=e.apply(this,arguments)}}function R(e,t){try{return e.call(t,(function(e){throw new n(e)}))}catch(e){if(e instanceof n)return e.value;throw e}function n(e){this.value=e}}const H={};function F(e,t,n){return"string"==typeof t&&(n=t,t=!1),n=n||"d",(e=e||"")&&"["!==e.charAt(0)&&(e="."+e),t?e=(e=function(e,t){let n,r,o,i,a=t||"d",s=1;for(r=0,o=e.length;r<o;r++)i=e[r],""!==i&&(n=i.indexOf("["),0!==n&&(-1===n?i="."+i:(s++,i="."+i.substring(0,n)+" || {})"+i.substring(n))),s++,a+=i+(r<o-1?" || {})":")"));return new Array(s).join("(")+a}((e=(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'")).split("."),n)).replace(/_\$DOT\$_/g,"."):e=n+e,e}function V(e){let t=1,n=arguments.length;for(t=1;t<n;t++)B(e,arguments[t]);return e}function D(e){return"function"==typeof e}function B(e,t){let n,r,o,i,a;for(n in t)r=t[n],o=typeof r,i="object"===o&&null!==r?r.constructor:null,!i||i===Array||i===RegExp||D(window.ArrayBuffer)&&i===ArrayBuffer||r instanceof HTMLElement?"undefined"!==o&&(e[n]=r):r instanceof Date?e[n]=new Date(r.getTime()):D(r.clone)?e[n]=r.clone():(a=e[n],e[n]="object"==typeof a&&a||{},B(e[n],r));return e}const A={},N=function(e){if(!isNaN(A._scrollbar)&&!e)return A._scrollbar;let t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML=" ",document.body.appendChild(n),A._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t},L=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content},P=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)};class T{constructor(e){if(e instanceof T)return e;this.code=e}toString(){return"#"+this.code+("NAME"===this.code?"?":"!")}}let j={};const U=e=>{if(!e)return j;j=e},K=()=>U().localeInfo();function W(){this.node=null}function q(){}W.prototype={remove:function(){this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.attr={}},attr:{},text:function(){return""}},q.prototype={nodeName:"#null",attr:{style:{}},children:[],remove:function(){}};let $=new q;function G(e,t,n){this.nodeName=e,this.attr=t||{},this.children=n||[]}function Y(e){this.nodeValue=String(e)}function X(e){this.html=e}G.prototype=new W,G.prototype.appendTo=function(e){let t=document.createElement(this.nodeName),n=this.children;for(let e=0;e<n.length;e++)n[e].render(t,$);return e.appendChild(t),t},G.prototype.render=function(e,t){let n;if(t.nodeName!==this.nodeName)t.remove(),n=this.appendTo(e);else{let r;n=t.node;let o=this.children,i=o.length,a=t.children,s=a.length;if(Math.abs(s-i)>2)return void this.render({appendChild:function(n){e.replaceChild(n,t.node)}},$);for(r=0;r<i;r++)o[r].render(n,a[r]||$);for(r=i;r<s;r++)a[r].remove()}this.node=n,this.syncAttributes(t.attr),this.removeAttributes(t.attr)},G.prototype.syncAttributes=function(e){let t=this.attr;for(let n in t){let r=t[n],o=e[n];"style"===n?this.setStyle(r,o):r!==o&&this.setAttribute(n,r,o)}},G.prototype.setStyle=function(e,t){let n,r=this.node;if(t)for(n in e)e[n]!==t[n]&&(r.style[n]=e[n]);else for(n in e)r.style[n]=e[n]},G.prototype.removeStyle=function(e){let t=this.attr.style||{},n=this.node;for(let r in e)void 0===t[r]&&(n.style[r]="")},G.prototype.removeAttributes=function(e){let t=this.attr;for(let n in e)"style"===n?this.removeStyle(e.style):void 0===t[n]&&this.removeAttribute(n)},G.prototype.removeAttribute=function(e){let t=this.node;"style"===e?t.style.cssText="":"className"===e?t.className="":t.removeAttribute(e)},G.prototype.setAttribute=function(e,t){let n=this.node;void 0!==n[e]?n[e]=t:n.setAttribute(e,t)},G.prototype.text=function(){let e="";for(let t=0;t<this.children.length;++t)e+=this.children[t].text();return e},Y.prototype=new W,Y.prototype.nodeName="#text",Y.prototype.render=function(e,t){let n;t.nodeName!==this.nodeName?(t.remove(),n=document.createTextNode(this.nodeValue),e.appendChild(n)):(n=t.node,this.nodeValue!==t.nodeValue&&n.parentNode&&(n.nodeValue=this.nodeValue)),this.node=n},Y.prototype.text=function(){return this.nodeValue},X.prototype={nodeName:"#html",attr:{},remove:function(){for(let e=0;e<this.nodes.length;e++){let t=this.nodes[e];t.parentNode&&t.parentNode.removeChild(t)}},render:function(e,t){if(t.nodeName!==this.nodeName||t.html!==this.html){t.remove();let n=e.lastChild;!function(e,t){for(Z.innerHTML=t;Z.firstChild;)e.appendChild(Z.firstChild)}(e,this.html),this.nodes=[];for(let t=n?n.nextSibling:e.firstChild;t;t=t.nextSibling)this.nodes.push(t)}else this.nodes=t.nodes.slice(0)}};let Z=document.createElement("div");function J(e){return new X(e)}function Q(e,t,n){return new G(e,t,n)}function ee(e){return new Y(e)}function te(e){this.root=e,this.children=[]}te.prototype={html:J,element:Q,text:ee,render:function(e){let t,n,r=this.children;for(t=0,n=e.length;t<n;t++){let n=r[t];n?n.node&&n.node.parentNode||(n.remove(),n=$):n=$,e[t].render(this.root,n)}for(t=n;t<r.length;t++)r[t].remove();this.children=e}};const ne={html:J,text:ee,element:Q,Tree:te,Node:W};var re={runtime:{}},oe=Object.create(null);re.runtime.FUNCS=oe;const ie=function(e,t,n,r,o){const i={};return i.spreadsheet={calc:e,CalcError:t,Ref:n,CellRef:r,RangeRef:o},i.culture=()=>K(),i}(re,T,g,w,x);class ae{constructor(e,t,n,r){this.callback=e,this.formula=t,this.ss=n,this.parent=r}resolve(e){var t=this;e instanceof g?t.resolveCells([e],(function(){t._resolve(e)})):t._resolve(e)}error(e){return new T(e)}_resolve(e){var t;e=void 0===e?null:Array.isArray(e)?this.asMatrix(e):"number"==typeof(t=e)?de(t):t;var n=this.formula;n.arrayFormulaRange?e=this.asMatrix(e)||this.asMatrix([[e]]):e instanceof x&&(e=this._arrayArg(e)),n.value=e,this.ss.onFormula(n)&&this.callback&&this.callback.call(n,e)}resolveCells(e,t){var n=this,r=[];if(function e(t){for(var r=0;r<t.length;++r){var o=t[r];o instanceof g&&a(n.getRefCells(o)),Array.isArray(o)&&e(o)}}(e),!r.length)return t.call(n);for(var o=r.length,i=0;i<r.length;++i)r[i].exec(n.ss,(function(){--o||t.call(n)}),n);function a(e){for(var t=0;t<e.length;++t){var n=e[t];n.formula&&r.push(n.formula)}return!0}}cellValues(e,t){for(var n=[],r=0;r<e.length;++r){var o=e[r];o instanceof g?(o=this.getRefData(o,t),n=n.concat(o)):Array.isArray(o)?n=n.concat(this.cellValues(o,t)):o instanceof se?n=n.concat(this.cellValues(o.data,t)):n.push(o)}return n}fetchName(e,t){var n=this.formula,r=this.ss.nameValue(e,n.sheet,n.row,n.col);if(r instanceof ce){r=r.clone(n.sheet,n.row,n.col,!0);var o=new Hn(this.ss.workbook);r.exec(o,t,this)}else r instanceof g&&((r=r.absolute(n.row,n.col))instanceof x&&this.ss.isMerged(r)&&(r=r.topLeft),r.sheet||(r.sheet=n.sheet)),t(null==r?new T("NAME"):r)}force(e){return e instanceof g?this.getRefData(e):e}func(e,t,n){e=e.toLowerCase();var r=oe[e];if(r)return r.call(this,t,n);t(new T("NAME"))}bool(e){return e instanceof g&&(e=this.getRefData(e)),"string"==typeof e?"true"==e.toLowerCase():"number"==typeof e?0!==e:"boolean"==typeof e?e:null!=e}_arrayArg(e){var t=this.formula;return!t.arrayFormulaRange&&e instanceof x?1==e.height()&&t.col>=e.topLeft.col&&t.col<=e.bottomRight.col?this.getRefData(new w(e.topLeft.row,t.col).setSheet(e.sheet)):1==e.width()&&t.row>=e.topLeft.row&&t.row<=e.bottomRight.row?this.getRefData(new w(t.row,e.topLeft.col).setSheet(e.sheet)):new T("VALUE"):this.asMatrix(e)}asMatrix(e){if(e instanceof se)return e;var t=this;if(e instanceof x){var n=e.topLeft,r=n.row,o=n.col,i=t.getRefCells(e),a=new se(t);return isFinite(e.width())&&(a.width=e.width()),isFinite(e.height())&&(a.height=e.height()),isFinite(r)||(r=0),isFinite(o)||(o=0),i.forEach((function(e){a.set(e.row-r,e.col-o,e.value)})),a}if(Array.isArray(e)&&e.length>0){a=new se(t);var s=0;return e.forEach((function(e){var n=0,r=1;e.forEach((function(e){var o=e instanceof x;e instanceof g&&!o&&(e=t.getRefData(e)),(o||Array.isArray(e))&&(e=t.asMatrix(e)),e instanceof se?(e.each((function(e,t,r){a.set(s+t,n+r,e)})),r=Math.max(r,e.height),n+=e.width):("string"==typeof e&&e.length&&!isNaN(e)&&(e=Number(e)),a.set(s,n++,e))})),s+=r})),a}}getRefCells(e,t,n){var r=this.formula;return this.ss.getRefCells(e,t,r.sheet,r.row,r.col,n)}getRefData(e,t){var n=this.formula;return this.ss.getData(e,n.sheet,n.row,n.col,t)}workbook(){return this.ss.workbook}}class se{constructor(e){this.context=e,this.height=0,this.width=0,this.data=[]}clone(){var e=new se(this.context);return e.height=this.height,e.width=this.width,e.data=this.data.map((function(e){return e.slice()})),e}get(e,t){var n=this.data[e],r=n?n[t]:null;return r instanceof g?this.context.getRefData(r):r}getNA(e,t){return e<this.height&&t<this.width?this.get(e,t):new T("N/A")}set(e,t,n){var r=this.data[e];null==r&&(r=this.data[e]=[]),r[t]=n,e>=this.height&&(this.height=e+1),t>=this.width&&(this.width=t+1)}each(e,t){for(var n=0;n<this.height;++n)for(var r=0;r<this.width;++r){var o=this.get(n,r);if((t||null!=o)&&void 0!==(o=e.call(this.context,o,n,r)))return o}}map(e,t){var n=new se(this.context);return this.each((function(t,r,o){n.set(r,o,e.call(this,t,r,o))}),t),n}eachRow(e){for(var t=0;t<this.height;++t){var n=e.call(this.context,t);if(void 0!==n)return n}}eachCol(e){for(var t=0;t<this.width;++t){var n=e.call(this.context,t);if(void 0!==n)return n}}mapRow(e){var t=new se(this.context);return this.eachRow((function(n){t.set(n,0,e.call(this.context,n))})),t}mapCol(e){var t=new se(this.context);return this.eachCol((function(n){t.set(0,n,e.call(this.context,n))})),t}toString(){return JSON.stringify(this.data)}transpose(){var e=new se(this.context);return this.each((function(t,n,r){e.set(r,n,t)})),e}unit(e){this.width=this.height=e;for(var t=this.data=new Array(e),n=e;--n>=0;)for(var r=t[n]=new Array(e),o=e;--o>=0;)r[o]=n==o?1:0;return this}multiply(e){for(var t=this,n=new se(t.context),r=0;r<t.height;++r)for(var o=0;o<e.width;++o){for(var i=0,a=0;a<t.width;++a){var s=t.get(r,a),l=e.get(a,o);if("number"!=typeof s||"number"!=typeof l)throw new T("VALUE");i+=s*l}n.set(r,o,i)}return n}adds(e,t){for(var n=this,r=new se(n.context),o=t?-1:1,i=0;i<n.height;++i)for(var a=0;a<n.width;++a){var s=n.get(i,a),l=e.get(i,a);r.set(i,a,s+o*l)}return r}determinant(){var e,t,n,r,o=this.clone().data,i=o.length,a=1;for(e=0;e<i;e++){for(t=e;t<i&&!o[t][e];t++);if(t==i)return 0;if(t!=e)for(a=-a,r=e;r<i;r++){var s=o[e][r];o[e][r]=o[t][r],o[t][r]=s}for(n=e+1;n<i;n++)for(r=e+1;r<i;r++)o[n][r]-=o[e][r]*o[n][e]/o[e][e];a*=o[e][e]}return a}inverse(){for(var e,t=this.width,n=this.augment(new se(this.context).unit(t)),r=n.data,o=0;o<t;++o){var i=le(o,t,(function(e){return r[e][o]}));if(!r[i][o])return null;o!=i&&(e=r[o],r[o]=r[i],r[i]=e);for(var a=o+1;a<t;++a){for(var s=o+1;s<2*t;++s)r[a][s]-=r[o][s]*r[a][o]/r[o][o];r[a][o]=0}}for(a=0;a<t;++a){var l=r[a][a];for(s=0;s<2*t;++s)r[a][s]/=l}for(o=t;--o>=0;)for(a=o;--a>=0;)if(r[a][o])for(s=2*t;--s>=t;)r[a][s]-=r[o][s]*r[a][o];return n.slice(0,t,t,t)}augment(e){var t=this.clone(),n=t.width;return e.each((function(e,r,o){t.set(r,o+n,e)})),t}slice(e,t,n,r){for(var o=new se(this.context),i=0;i<n;++i)for(var a=0;a<r;++a)o.set(i,a,this.get(e+i,t+a));return o}}function le(e,t,n){for(var r=n(e),o=e;++e<t;){var i=n(e);i>r&&(r=i,o=e)}return o}let ce=class e{constructor(e,t,n,r,o,i,a){this.refs=e,this.handler=t,this.print=n,this.absrefs=null,this.sheet=r,this.row=o,this.col=i,this.onReady=[],this.pending=!1,this.arrayFormulaRange=a}setArrayFormulaRange(e){this.arrayFormulaRange=e.clone().setSheet(this.sheet)}clone(t,n,r,o){var i=t.toLowerCase(),a=this.refs,s=this.arrayFormulaRange;return(o||i!=this.sheet.toLowerCase())&&(a=a.map((function(e){return e.hasSheet()||e.sheet&&e.sheet.toLowerCase()==i||(e=e.clone().setSheet(t)),e})),s&&(s=s.clone().setSheet(t))),new e(a,this.handler,this.print,t,n,r,s)}deepClone(){var t=this.refs.map((function(e){return e.clone()}));return new e(t,this.handler,this.print,this.sheet,this.row,this.col,this.arrayFormulaRange)}resolve(e){this.pending=!1,this.onReady.forEach((function(t){t(e)}))}exec(e,t,n){if("value"in this)t&&t(this.value);else{t&&this.onReady.push(t);for(var r=new ae(this.resolve,this,e,n),o=0;n;){if(n.formula===this)return this.pending=!1,void r.resolve(new T("CIRCULAR"));n=n.parent,++o}if(this.pending)return;this.pending=!0;var i=function(){this.absrefs||(this.absrefs=this.refs.map((function(e){return e.absolute(this.row,this.col)}),this)),this.handler.call(r)}.bind(this);o<20?i():setTimeout(i,0)}}reset(){this.onReady=[],this.pending=!1,delete this.value}renameSheet(e,t){e=e.toLowerCase(),this.absrefs=null,this.sheet.toLowerCase()==e&&(this.sheet=t),this.refs.forEach((function(n){n.renameSheet(e,t)}))}adjust(t,n,r,o){t=t.toLowerCase();var i=this.row,a=this.col,s=this.sheet.toLowerCase(),l=!1;s==t&&("row"==n&&i>=r&&(this.row+=o,l=!0),"col"==n&&a>=r&&(this.col+=o,l=!0));var c=this.row,u=this.col;this.absrefs=null;var h=this.refs,d=l;this.refs=h.map((function(e){var t=f(e);return d||ue(t,e)||(d=!0),t}));var p=this.arrayFormulaRange;if(p&&(this.arrayFormulaRange=f(p),d||ue(p,this.arrayFormulaRange)||(d=!0)),d)return new e(h,this.handler,this.print,this.sheet,i,a,p);function f(e){return e===b?e:e.sheet.toLowerCase()!=t?(l&&("row"==n&&i>=r&&(e=e.relative(o,0)),"col"==n&&a>=r&&(e=e.relative(0,o))),e):e.adjust(i,a,c,u,"row"==n,r,o)}}toString(){return this.print(this.row,this.col)}};function ue(e,t){if(e.constructor!==t.constructor)return!1;if(e instanceof w)return e.sheet==t.sheet&&e.row==t.row&&e.col==t.col&&e.rel==t.rel;if(e instanceof x)return ue(e.topLeft,t.topLeft)&&ue(e.bottomRight,t.bottomRight)&&e.endSheet==t.endSheet;if(e instanceof k){var n=e.refs.length;if(n!=t.refs.length)return!1;for(;--n>=0;)if(!ue(e.refs[n],t.refs[n]))return!1}return!0}function he(e,t){var n,r,o,i="function arrayArgs(args) { var xargs = [], width = 0, height = 0, arrays = [], i = 0; ",a="function resolve(args, callback) { var toResolve = [], i = 0; ",s="'use strict'; function check(args) { var stack = [], tmp, xargs = [], i = 0, m, err = 'VALUE'; ",l=!1,c=!1,u=!1;return s+=t.map((function e(t){n=t[0];var o="{ ";if(Array.isArray(n))i+="while (i < args.length) { ",a+="while (i < args.length) { ",o+="xargs.push(tmp = []); stack.push(xargs); xargs = tmp; ",o+="while (i < args.length) { ",o+=t.map(e).join(""),o+="} ",o+="xargs = stack.pop(); ",a+="} ",i+="} ";else if("+"==n)i+="while (i < args.length) { ",a+="while (i < args.length) { ",o+="if (i >= args.length) return new CalcError('N/A'); ",o+="xargs.push(tmp = []); stack.push(xargs); xargs = tmp; ",o+="do { ",o+=t.slice(1).map(e).join(""),o+="} while (i < args.length); ",o+="xargs = stack.pop(); ",a+="} ",i+="} ";else if("?"==n)o+="if (!("+p(t[1])+")) return new CalcError(err); ";else{var s=t[1];if(Array.isArray(s)&&/^#?collect/.test(s[0])){var l=/!$/.test(s[0]),d=s[2];h(),o+="try {var $"+n+" = this.cellValues(args.slice(i",d&&(o+=", i + "+d),o+=")"+(l?",true":"")+").reduce(function(ret, $"+n+"){ ","#"!=s[0].charAt(0)&&(o+="if ($"+n+" instanceof CalcError) throw $"+n+"; "),o+="if ("+p(s[1])+") ret.push($"+n+"); ",o+="return ret; ",o+="}.bind(this), []); ",o+=d?"i += "+d+"; ":"i = args.length; ",o+="xargs.push($"+n+")} catch(ex) { if (ex instanceof CalcError) return ex; throw ex; } ",a+="toResolve.push(args.slice(i)); "}else if("rest"==s)o+="xargs.push(args.slice(i)); i = args.length; ";else{(c=/^\*/.test(n))&&(u=!0,n=n.substr(1)),o+="var $"+n+" = args[i++]; ";var f=!1;/!$/.test(s)?(s=s.substr(0,s.length-1),f=!0):o+="if ($"+n+" instanceof CalcError) return $"+n+"; ",o+=function(e,t){r=!1;var o="if (!("+p(e)+")) { ";return r&&!t&&(o+=" if ($"+n+" instanceof CalcError) return $"+n+"; "),r||(a+="i++; "),i+=c?"var $"+n+" = this._arrayArg(args[i]); if ($"+n+") { xargs.push($"+n+"); width = Math.max(width, $"+n+".width); height = Math.max(height, $"+n+".height); arrays.push(true) } else { xargs.push(args[i]); arrays.push(false); } i++; ":"xargs.push(args[i++]); arrays.push(false); ",o+"return new CalcError(err); } "}(s,f)+"xargs.push($"+n+"); "}}return o+"} "})).join(""),s+="if (i < args.length) return new CalcError('N/A'); ",s+="return xargs; } ",i+="return { args: xargs, width: width, height: height, arrays: arrays }; } ",l?(a+="this.resolveCells(toResolve, callback); } ",o=new Function("kendo","CalcError","round",s+a+i+" return { resolve: resolve, check: check, arrayArgs: arrayArgs };")):o=new Function("kendo","CalcError","round",s+" return { check: check };"),o=o(ie,T,de),u||delete o.arrayArgs,o;function h(){return r?"$"+n:(l=!0,r=!0,a+="toResolve.push(args[i++]); ","($"+n+" = this.force($"+n+"))")}function d(e){return"("+(e?"(typeof "+h()+" == 'number' ? ($"+n+" = round($"+n+"), true) : false) || ":"(typeof "+h()+" == 'number') || ")+"(typeof $"+n+" == 'boolean' ? ($"+n+" = +$"+n+", true) : false) || (typeof $"+n+" == 'string' && !/^(?:=|true|false)/i.test($"+n+") ? (tmp = kendo.spreadsheet.calc.parse(0, 0, 0, $"+n+"), /^date|number|percent$/.test(tmp.type) ? ($"+n+" = +tmp.value, true) : false) : false))"}function p(e){if(Array.isArray(e)){if("or"==e[0])return"("+e.slice(1).map(p).join(") || (")+")";if("and"==e[0])return"("+e.slice(1).map(p).join(") && (")+")";if("values"==e[0])return"("+e.slice(1).map((function(e){return h()+" === "+e})).join(") || (")+")";if("null"==e[0])return"("+p("null")+" ? (($"+n+" = "+e[1]+"), true) : false)";if("between"==e[0]||"[between]"==e[0])return"("+h()+" >= "+e[1]+" && $"+n+" <= "+e[2]+" ? true : ((err = 'NUM'), false))";if("(between)"==e[0])return"("+h()+" > "+e[1]+" && $"+n+" < "+e[2]+" ? true : ((err = 'NUM'), false))";if("(between]"==e[0])return"("+h()+" > "+e[1]+" && $"+n+" <= "+e[2]+" ? true : ((err = 'NUM'), false))";if("[between)"==e[0])return"("+h()+" >= "+e[1]+" && $"+n+" < "+e[2]+" ? true : ((err = 'NUM'), false))";if("assert"==e[0]){var t=e[2]||"N/A";return"(("+e[1]+") ? true : (err = "+JSON.stringify(t)+", false))"}if("not"==e[0])return"!("+p(e[1])+")";throw new Error("Unknown array type condition: "+e[0])}if("number"==e||"datetime"==e)return d(!0);if("number!"==e)return"(typeof "+h()+" == 'number' ? ($"+n+" = round($"+n+"), true) : false)";if("integer"==e||"date"==e)return"("+d()+" && (($"+n+" |= 0), true))";if("divisor"==e)return"("+d(!0)+" && ($"+n+" == 0 ? ((err = 'DIV/0'), false) : true))";if("number+"==e)return"("+d(!0)+" && ($"+n+" >= 0 ? true : ((err = 'NUM'), false)))";if("integer+"==e)return"("+d()+" && (($"+n+" |= 0) >= 0 ? true : ((err = 'NUM'), false)))";if("number++"==e)return"("+d(!0)+" && ($"+n+" > 0 ? true : ((err = 'NUM'), false)))";if("integer++"==e)return"("+d()+" && (($"+n+" |= 0) > 0 ? true : ((err = 'NUM'), false)))";if("string"==e)return"((typeof "+h()+" == 'string' || typeof $"+n+" == 'boolean' || typeof $"+n+" == 'number') ? ($"+n+" += '', true) : ($"+n+" === undefined ? (($"+n+" = ''), true) : false))";if("boolean"==e)return"(typeof "+h()+" == 'boolean')";if("logical"==e)return"(typeof "+h()+" == 'boolean' || (typeof $"+n+" == 'number' ? ($"+n+" = !!$"+n+", true) : false))";if("matrix"==e)return h(),"((m = this.asMatrix($"+n+")) ? ($"+n+" = m) : false)";if("#matrix"==e)return"((m = this.asMatrix($"+n+")) ? ($"+n+" = m) : false)";if("ref"==e)return"($"+n+" instanceof kendo.spreadsheet.Ref)";if("area"==e)return"($"+n+" instanceof kendo.spreadsheet.CellRef || $"+n+" instanceof kendo.spreadsheet.RangeRef)";if("cell"==e)return"($"+n+" instanceof kendo.spreadsheet.CellRef)";if("null"==e)return"("+h()+" == null)";if("anyvalue"==e)return"("+h()+" != null && i <= args.length)";if("forced"==e)return"("+h()+", i <= args.length)";if("anything"==e)return"(i <= args.length)";if("blank"==e)return"("+h()+" == null || $"+n+" === '')";throw new Error("Can't check for type: "+e)}}function de(e){return e===parseInt(e,10)?e:+e.toPrecision(16)}function pe(e,t,n){if(n instanceof T)return n;try{return t.apply(e,n)}catch(e){if(e instanceof T)return e;throw e}}function fe(e,t){return e=e.toLowerCase(),oe[e]=t,{args:function(n,r){var o=he(0,n);r&&(o.arrayArgs&&window.console.log(o.arrayArgs.toString()),o.resolve&&window.console.log(o.resolve.toString()),o.check&&window.console.log(o.check.toString()));var i,a,s,l,c=oe[e]=(i=t,a=o.resolve,s=o.check,l=o.arrayArgs,function(e,t){function n(){if(l){var n=l.call(this,t);if(t=n.args,n.width>0&&n.height>0){for(var r=new se(this),o=0;o<n.height;++o)for(var a=0;a<n.width;++a){for(var c=[],u=0;u<t.length;++u)n.arrays[u]?c[u]=t[u].getNA(o,a):c[u]=t[u];c=s.call(this,c),r.set(o,a,pe(this,i,c))}return e(r)}}c=s.call(this,t),e(pe(this,i,c))}a?a.call(this,t,n):n.call(this)});return c.kendoSpreadsheetArgs=n,this},argsAsync:function(n,r){var o=he(0,n);r&&(o.arrayArgs&&window.console.log(o.arrayArgs.toString()),o.resolve&&window.console.log(o.resolve.toString()),o.check&&window.console.log(o.check.toString()));var i,a,s,l,c=oe[e]=(i=t,a=o.resolve,s=o.check,l=o.arrayArgs,function(e,t){function n(){if(l){var n=l.call(this,t);if(t=n.args,n.width>0&&n.height>0){for(var r=new se(this),o=n.width*n.height,a=function(t,n){return function(i){if(r.set(t,n,i),0==--o)return e(r)}},c=0;c<n.height&&o>0;++c)for(var u=0;u<n.width&&o>0;++u){for(var h=[],d=0;d<t.length;++d)n.arrays[d]?h[d]=t[d].getNA(c,u):h[d]=t[d];if((h=s.call(this,h))instanceof T){if(r.set(c,u,h),0==--o)return e(r)}else h.unshift(a(c,u)),i.apply(this,h)}return}}(n=s.call(this,t))instanceof T?e(n):(n.unshift(e),i.apply(this,n))}a?a.call(this,t,n):n.call(this)});return c.kendoSpreadsheetArgs=n,this}}}function me(e,t,n){return(1461*(e+4800+((++t-14)/12|0))/4|0)+(367*(t-2-12*((t-14)/12|0))/12|0)-(3*((e+4900+((t-14)/12|0))/100|0)/4|0)+n-32075}oe.if=function(e,t){var n=this,r=t[0],o=t[1],i=t[2];this.resolveCells([r],(function(){var t=n.asMatrix(r);t?o((function(r){i((function(o){var i=n.asMatrix(r),a=n.asMatrix(o);e(t.map((function(e,t,s){return e instanceof T?e:n.bool(e)?i?i.get(t,s):r:a?a.get(t,s):o})))}))})):(r=this.force(r))instanceof T?e(r):n.bool(r)?o(e):i(e)}))},oe["φ"]=function(e){e((1+Math.sqrt(5))/2)};var ve=me(1900,0,-1),ge=[31,28,31,30,31,30,31,31,30,31,30,31],be=[[0,31,59,90,120,151,181,212,243,273,304,334],[0,31,60,91,121,152,182,213,244,274,305,335]];function ye(e){return e%4?0:e%100?1:e%400?0:1}function we(e){return ye(e)?366:365}function xe(e,t){return ye(e)&&1==t?29:ge[t]}function ke(e){return n=(t=(0|e)+ve)+68569,s=(n=(n-=(146097*(r=4*n/146097|0)+3)/4|0)-(1461*(i=4e3*(n+1)/1461001|0)/4|0)+31)-(2447*(o=80*n/2447|0)/80|0),a=o+2-12*(n=o/11|0),{year:l=100*(r-49)+i+n,month:--a,date:s,day:(t+1)%7,ord:be[ye(l)][a]+s};var t,n,r,o,i,a,s,l}function ze(e,t,n){return me(e,t,n)-ve}var Ce=6e4,_e=60*Ce,Ie=24*_e;function Ee(e){var t=e-(0|e);t<0&&t++;var n=Math.round(Ie*t),r=Math.floor(n/_e);n-=r*_e;var o=Math.floor(n/Ce);n-=o*Ce;var i=Math.floor(n/1e3);return{hours:r,minutes:o,seconds:i,milliseconds:n-=1e3*i}}function Se(e){var t=ke(e),n=Ee(e);return new Date(t.year,t.month,t.date,n.hours,n.minutes,n.seconds,n.milliseconds)}function Me(e,t,n,r){return(e+(t+(n+r/1e3)/60)/60)/24}function Oe(e){var t=Me(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return(e=ze(e.getFullYear(),e.getMonth(),e.getDate()))<0?e-1+t:e+t}re.runtime.CalcError=T,re.runtime.Formula=ce,re.runtime.Matrix=se,re.runtime.packDate=ze,re.runtime.unpackDate=ke,re.runtime.packTime=Me,re.runtime.unpackTime=Ee,re.runtime.serialToDate=Se,re.runtime.dateToSerial=Oe,re.runtime.daysInMonth=xe,re.runtime.validDate=function(e,t,n){return t>=1&&t<=12&&n>=1&&n<=xe(e,t-1)},re.runtime.isLeapYear=ye,re.runtime.daysInYear=we,re.runtime.parseDate=function(e,t){t&&(t=Un.makeDateFormat(t));const n=U().parseDate;return n(e,t)||n(e)||n(e,["MMMM dd yyyy","MMMM dd yy","MMM dd yyyy","MMM dd yy","dd MMMM yyyy","dd MMMM yy","dd MMM yyyy","dd MMM yy","MMMM dd, yyyy","MMMM dd, yy","MMM dd, yyyy","MMM dd, yy","MMMM dd","MMM dd","MMMM yyyy","MMM yyyy","dd MMMM","dd MMM"])},re.runtime.limitPrecision=de,re.runtime.defineFunction=fe,re.runtime.defineAlias=function(e,t){var n=oe[t];if(!n)throw new Error("Function "+t+" is not yet defined");n.kendoSpreadsheetAliases||(n.kendoSpreadsheetAliases=[t]),n.kendoSpreadsheetAliases.push(e),oe[e]=n};var Re=["or","number",["null",0]],He=[["*a",Re],["*b",Re]],Fe=[["*a","forced"],["*b","forced"]];function Ve(e,t){return e="string"==typeof e?e.toLowerCase():e,t="string"==typeof t?t.toLowerCase():t,!1===e&&null==t||!1===t&&null==e||0===e&&null==t||0===t&&null==e||""===e&&null==t||""===t&&null==e||e===t}function De(e){return function(t,n){return"string"==typeof t&&"string"!=typeof n&&(n=null==n?"":n+""),"string"!=typeof t&&"string"==typeof n&&(t=null==t?"":t+""),"number"==typeof t&&null==n&&(n=0),"number"==typeof n&&null==t&&(t=0),"string"==typeof t&&"string"==typeof n&&(t=t.toLowerCase(),n=n.toLowerCase()),typeof n==typeof t?e(t,n):new T("VALUE")}}fe("binary+",(function(e,t){return e+t})).args(He),fe("binary-",(function(e,t){return e-t})).args(He),fe("binary*",(function(e,t){return e*t})).args(He),fe("binary/",(function(e,t){return e/t})).args([["*a",Re],["*b","divisor"]]),fe("binary^",(function(e,t){return Math.pow(e,t)})).args(He),fe("binary&",(function(e,t){return null==e&&(e=""),null==t&&(t=""),""+e+t})).args([["*a",["or","number","string","boolean","null"]],["*b",["or","number","string","boolean","null"]]]),fe("binary=",Ve).args(Fe),fe("binary<>",(function(e,t){return!Ve(e,t)})).args(Fe),fe("binary<",De((function(e,t){return e<t}))).args(Fe),fe("binary<=",De((function(e,t){return e<=t}))).args(Fe),fe("binary>",De((function(e,t){return e>t}))).args(Fe),fe("binary>=",De((function(e,t){return e>=t}))).args(Fe),fe("unary+",(function(e){return e})).args([["*a",Re]]),fe("unary-",(function(e){return-e})).args([["*a",Re]]),fe("unary%",(function(e){return e/100})).args([["*a",Re]]),fe("binary:",(function(e,t){return new x(e,t).setSheet(e.sheet||this.formula.sheet,e.hasSheet())})).args([["a","cell"],["b","cell"]]),fe("binary,",(function(e,t){return new k([e,t])})).args([["a","ref"],["b","ref"]]),fe("binary ",(function(e,t){return e.intersect(t)})).args([["a","ref"],["b","ref"]]),fe("not",(function(e){return!this.bool(e)})).args([["*a",["or","anyvalue",["null",0]]]]),fe("isblank",(function(e){return e instanceof w&&null==this.getRefData(e)})).args([["*value","anything!"]]),fe("iserror",(function(e){return e instanceof T})).args([["*value","forced!"]]),fe("iserr",(function(e){return e instanceof T&&"N/A"!=e.code})).args([["*value","forced!"]]),fe("isna",(function(e){return e instanceof T&&"N/A"==e.code})).args([["*value","forced!"]]),fe("islogical",(function(e){return"boolean"==typeof e})).args([["*value","forced!"]]),fe("isnontext",(function(e){return"string"!=typeof e})).args([["*value","forced!"]]),fe("istext",(function(e){return"string"==typeof e})).args([["*value","forced!"]]),fe("isnumber",(function(e){return"number"==typeof e})).args([["*value","forced!"]]),fe("isref",(function(e){return e instanceof w||e instanceof x})).args([["*value","anything!"]]),fe("_matrix",(function(e){return"string"==typeof e&&(e=this.asMatrix([e.split(/\s*,\s*/)])),e})).args([["m",["or","matrix","string"]]]),oe[",getname"]=function(e,t){this.fetchName(t[0],e)};let Be=Object.create(null),Ae=Object.create(null);var Ne;(Ne=[[":"],[" "],[","],["%"],["^"],["*","/"],["+","-"],["&"],["=","<",">","<=",">=","<>"]]).forEach((function(e,t){e.forEach((function(e){Be[e]=Ne.length-t,Ae[","===e?";":e]=Ne.length-t}))}));let Le=Be,Pe={DEC:".",ARG:",",COL:","};function Te(e){Pe.DEC=e,Pe.ARG=","===e?";":",",Pe.COL=","===e?"\\":",",Le=","===e?Ae:Be}re.withDecimalSeparator=function(e,t){if(Pe.DEC===e)return t();let n=Pe.DEC;Te(e);try{return t()}finally{Te(n)}},re._separators=Pe;class je{constructor(e,t){this.message=e,this.pos=t}toString(){return this.message}}let Ue={type:"bool",value:!0},Ke={type:"bool",value:!1};function We(e){e=e.toUpperCase();let t=0;for(let n=0;n<e.length;++n)t=26*t+e.charCodeAt(n)-64;return t-1}function qe(e){return parseInt(e,10)-1}function $e(e,t,n,r){let o=[],i=(r=et(r,{row:t,col:n})).is;return{type:"exp",ast:l(!0),refs:o,sheet:e,row:t,col:n};function a(e){return e.index=o.length,o.push(e),e}function s(e,t,n){if(i(e,t))return r.next();{let o=r.peek();o?r.croak("Expected "+e+" «"+t+"» but found "+o.type+" «"+o.value+"»"):n||r.croak("Expected "+e+" «"+t+"»")}}function l(e){return h((t=c(),i("punc","(")||i("ref")||i("num")||i("func")?{type:"binary",op:" ",left:t,right:l(!1)}:t),0,e);var t}function c(){let t;var n,o;return i("ref")?((o=r.next()).hasSheet()||o.setSheet(e),t=a(o)):i("func")?t=function(){let e=r.next();e=e.value,s("punc","(");let t=[];for(;!i("punc",")");)if(i("op",Pe.ARG))t.push({type:"null"}),r.next();else{if(t.push(l(!1)),r.eof()||i("punc",")"))break;s("op",Pe.ARG)}return s("punc",")",!0),{type:"func",func:e,args:t}}():i("punc","(")?(r.next(),t=l(!0),s("punc",")",!0)):i("punc","{")?(r.next(),t=function(){let e=[],t=[e],n=!0;for(;!r.eof()&&!i("punc","}");)n?n=!1:i(null,";")?(t.push(e=[]),r.next()):s(null,Pe.COL),e.push(l(!1));return{type:"matrix",value:t}}(),s("punc","}",!0)):i("num")||i("str")||i("error")?t=r.next():i("sym")?t="TRUE"===(n=r.next()).upper||"FALSE"===n.upper?"TRUE"===n.upper?Ue:Ke:a(new y(n.value)):i("op","+")||i("op","-")?t={type:"prefix",op:r.next().value,exp:c()}:r.peek()?i("punc","[")?r.croak("External reference not supported"):r.croak("Parse error"):r.croak("Incomplete expression"),u(t)}function u(e){return i("op","%")?(r.next(),u({type:"postfix",op:"%",exp:e})):e}function h(e,t,n){let o=i("op");if(o&&(n||o.value!==Pe.ARG)){let i=Le[o.value];if(i>t){r.next();let a=h(c(),i,n);return h({type:"binary",op:";"===o.value?",":o.value,left:e,right:a},t,n)}}return e}}let Ge=(Ye=Object.create(null),function(e){let t=Ye[e];return t||(t=Ye[e]=new Function("kendo","'use strict';return("+e+")")(ie)),t});var Ye;function Xe(e,t){let n=0;return r(e,t);function r(e,t){switch(e.type){case"ref":return function(e,t){return"name"===e.ref?function(e,t){return{type:"func",func:",getname",args:[a(t),e]}}(e,t):o(e,t)}(e,t);case"num":case"str":case"null":case"error":case"bool":return o(e,t);case"prefix":case"postfix":return function(e,t){return r({type:"func",func:"unary"+e.op,args:[e.exp]},t)}(e,t);case"binary":return function(e,t){return r({type:"func",func:"binary"+e.op,args:[e.left,e.right]},t)}(e,t);case"func":return function(e,t){switch(e.func.toLowerCase()){case"if":return function(e,t,n,o){return r(e,(function(e){let i=a(o),l=s("T"),c=s("E");return{type:"func",func:"if",args:[i,e,{type:"lambda",vars:[l],body:r(t||Ue,(function(e){return{type:"call",func:{type:"var",name:l},args:[e]}}))},{type:"lambda",vars:[c],body:r(n||Ke,(function(e){return{type:"call",func:{type:"var",name:c},args:[e]}}))}]}}))}(e.args[0],e.args[1],e.args[2],t);case"and":return function(e,t){return 0===e.length?o(Ue,t):r({type:"func",func:"IF",args:[e[0],{type:"func",func:"AND",args:e.slice(1)},Ke]},t)}(e.args,t);case"or":return function(e,t){return 0===e.length?o(Ke,t):r({type:"func",func:"IF",args:[e[0],Ue,{type:"func",func:"OR",args:e.slice(1)}]},t)}(e.args,t);case"true":return t(Ue);case"false":return t(Ke)}return function t(n,o){return o===e.args.length?{type:"func",func:e.func,args:n}:r(e.args[o],(function(e){return t(n.concat([e]),o+1)}))}([a(t)],0)}(e,t);case"lambda":return function(e,t){let n=s("K"),o=r(e.body,(function(e){return{type:"call",func:{type:"var",value:n},args:[e]}}));return t({type:"lambda",vars:[n].concat(e.vars),body:o})}(e,t);case"matrix":return i(e.value,t,!0)}throw new Error("Cannot CPS "+e.type)}function o(e,t){return t(e)}function i(e,t,n){let o=[];return function a(s){return s===e.length?t({type:"matrix",value:o}):(n?i:r)(e[s],(function(e){return o[s]=e,a(s+1)}))}(0)}function a(e){let t=s("R");return{type:"lambda",vars:[t],body:e({type:"var",name:t})}}function s(e){return e||(e=""),(e="_"+e)+ ++n}}let Ze=Object.create(null);function Je(e){let t=function(e){return Ge("function(row, col, mod){return("+function e(n,r,o){switch(n.type){case"num":return"(kendo.spreadsheet.calc._separators.DEC == '.' ? "+JSON.stringify(JSON.stringify(n.value))+" : "+JSON.stringify(JSON.stringify(n.value))+".replace('.' , kendo.spreadsheet.calc._separators.DEC))";case"bool":return JSON.stringify(n.value);case"error":return JSON.stringify("#"+n.value);case"str":return JSON.stringify(JSON.stringify(n.value));case"ref":return"this.refs["+n.index+"].print(row, col, mod)";case"prefix":return i((function(){return JSON.stringify(n.op)+" + "+e(n.exp,n,Le[n.op])}));case"postfix":return i((function(){return e(n.exp,n,Le[n.op])+" + "+JSON.stringify(n.op)}));case"binary":return i((function(){let r=t(e(n.left,n,Le[n.op]),n.left instanceof y&&":"===n.op),o=t(e(n.right,n,Le[n.op]),n.right instanceof y&&":"===n.op);return/^[,;]/.test(n.op)?r+" + kendo.spreadsheet.calc._separators.ARG + "+o:r+" + "+JSON.stringify(n.op)+" + "+o}));case"func":return JSON.stringify(n.func+"(")+" + "+(n.args.length>0?n.args.map((function(t){return e(t,n,0)})).join(" + kendo.spreadsheet.calc._separators.ARG + ' ' + "):"''")+" + ')'";case"matrix":return"'{ ' + "+n.value.map((function(t){return t.map((function(t){return e(t,n,0)})).join(" + kendo.spreadsheet.calc._separators.COL + ' ' + ")})).join(" + '; ' + ")+"+ ' }'";case"null":return"''"}throw new Error("Cannot make printer for node "+n.type);function i(e){let i=n.op,a=Le[i]<o||!o&&","===i||"prefix"===r.type&&o===Le[i]&&"-"===r.op||"binary"===r.type&&o===Le[i]&&n===r.right;return t(e(),a)}}(e.ast,e,0)+")}");function t(e,t){return t?"'(' + "+e+" + ')'":e}}(e),n=t.call(e),r=Ze[n];if(r)return r.clone(e.sheet,e.row,e.col);let o=i(Xe(e.ast,(function(e){return{type:"return",value:e}})));return o=["function(){","let context = this, refs = context.formula.absrefs",o,"}"].join(";\n"),r=new re.runtime.Formula(e.refs,Ge(o),t,e.sheet,e.row,e.col),Ze[n]=r.clone(e.sheet,e.row,e.col),r;function i(e){let t=e.type;if("num"===t)return e.value+"";if("str"===t)return JSON.stringify(e.value);if("error"===t)return"context.error("+JSON.stringify(e.value)+")";if("return"===t)return"context.resolve("+i(e.value)+")";if("func"===t)return"context.func("+JSON.stringify(e.func)+", "+i(e.args[0])+", "+a(e.args.slice(1))+")";if("call"===t)return i(e.func)+"("+e.args.map(i).join(", ")+")";if("ref"===t)return"refs["+e.index+"]";if("bool"===t)return""+e.value;if("if"===t)return"(context.bool("+i(e.co)+") ? "+i(e.th)+" : "+i(e.el)+")";if("lambda"===t)return"(function("+e.vars.join(", ")+"){ return("+i(e.body)+") })";if("var"===t)return e.name;if("matrix"===t)return a(e.value);if("null"===t)return"null";throw new Error("Cannot compile expression "+t)}function a(e){return"[ "+e.map(i).join(", ")+" ]"}}function Qe(e){return e}function et(e,t){e=function(e,t){let n=[],r=0,o=e.readWhile;return{next:d,peek:h,eof:function(){return null==h()},croak:e.croak,ahead:function(e,t){let n=r,o=[];for(;e-- >0;)o.push(d()||nt);return r=n,t.apply(o,o)},skip:function(e){r+=e}};function i(e){return/[0-9]/i.test(e)}function a(e){return/[a-z$_]/i.test(e)||function(e){return M.test(e)}(e)}function s(e){return a(e)||i(e)||"."===e}function l(t,n){return{type:"sym",value:t,upper:t.toUpperCase(),space:tt(e.peek()),quote:n}}function c(e,t,n){if(!e&&!t&&!n)return null;if(!e&&!n||e&&n){let n=t?parseInt(t,10):0;return e?n:n-1}}function u(){if(e.eof())return null;let n,r=e.peek();return'"'===r?(e.next(),{type:"str",value:e.readEscaped('"')}):"'"===r?(e.next(),l(e.readEscaped("'"),!0)):i(r)||r===Pe.DEC?function(){let e=!1,t=o((function(t){return t===Pe.DEC?!e&&(e=!0,!0):i(t)}));return t===Pe.DEC?{type:"punc",value:Pe.DEC}:{type:"num",value:parseFloat(t.replace(Pe.DEC,"."))}}():a(r)?function(){let t=e.lookingAt(/^R(\[)?(-?[0-9]+)?(\])?C(\[)?(-?[0-9]+)?(\])?/i);if(t){let n=c(t[1],t[2],t[3]),r=c(t[4],t[5],t[6]);if(null!=n&&null!=r)return e.skip(t),{type:"rc",row:n,col:r,rel:(t[4]||!(t[4]||t[5]||t[6])?1:0)|(t[1]||!(t[1]||t[2]||t[3])?2:0)}}return l(o(s))}():function(e){return e in Le}(r)?{type:"op",value:o((function(e,t){return t+e in Le}))}:function(e){return"\\!;(){}[]".indexOf(e)>=0}(r)?{type:"punc",value:e.next()}:(n=e.lookingAt(/^#([a-z\/]+)[?!]?/i))?(e.skip(n),{type:"error",value:n[1]}):(t.forEditor||e.croak("Can't handle character with code: "+r.charCodeAt(0)),{type:"error",value:e.next()})}function h(){for(;n.length<=r;){o(tt);let r=e.pos(),i=u();t.forEditor&&i&&(i.begin=r,i.end=e.pos()),n.push(i)}return n[r]}function d(){let e=h();return e&&r++,e}}(rt(e),t);let n=e.ahead,r=e.skip,o=null,i=null!=t.row&&null!=t.col?function(e){return 1&e.rel&&(e.col-=t.col),2&e.rel&&(e.row-=t.row),e}:Qe,a=t.forEditor?function(e,t,n){return e.begin=t.begin,e.end=n.end,e}:Qe;return{peek:s,next:function(){if(null!=o){let e=o;return o=null,e}return l()},croak:e.croak,eof:e.eof,is:function(e,t){let n=s();return null==n||null!=e&&n.type!==e||null!=t&&n.value!==t?null:n}};function s(){return null==o&&(o=l()),o}function l(){let t,r=e.peek();return r&&("sym"!==r.type&&"rc"!==r.type&&"num"!==r.type||(t=n(8,u)||n(6,h)||n(6,d)||n(4,p)||n(4,f)||n(2,m)||n(2,v)),t||(t=e.next())),t}function c(n,r){if("rc"===n.type)return!n.rel||t.forEditor||null!=t.row&&null!=t.col||e.croak("Cannot read relative cell in RC notation"),new w(n.row,n.col,n.rel);if("num"===n.type)return n.value<=1048577?i(new w(qe(n.value),r?-1/0:1/0,2)):null;let o=n.value,a=/^(\$)?([a-z]+)(\$)?(\d+)$/i.exec(o);if(a){let e=qe(a[4]),t=We(a[2]);return e<=1048576&&t<=16383?i(new w(qe(a[4]),We(a[2]),(a[1]?0:1)|(a[3]?0:2))):null}let s="$"===o.charAt(0);if(s&&(o=o.substr(1)),/^\d+$/.test(o)){if(qe(o)<=1048576)return i(new w(qe(o),r?-1/0:1/0,s?0:2))}else if(We(o)<=16383)return i(new w(r?-1/0:1/0,We(o),s?0:1))}function u(e,t,n,o,i,s,l,u){if("sym"===e.type&&"op"===t.type&&":"===t.value&&"sym"===n.type&&"punc"===o.type&&"!"===o.value&&("sym"===i.type||"rc"===i.type||"num"===i.type&&i.value==i.value|0)&&"op"===s.type&&":"===s.value&&("sym"===l.type||"rc"===l.type||"num"===l.type&&l.value==l.value|0)&&l.type===i.type&&("punc"!==u.type||"("!==u.value||l.space)){let t=c(i,!0),o=c(l,!1);if(t&&o)return r(7),a(new x(t.setSheet(e.value,!0),o.setSheet(n.value,!0)).setSheet(e.value,!0),e,l)}}function h(e,t,n,o,i,s){if("sym"===e.type&&"op"===t.type&&":"===t.value&&"sym"===n.type&&"punc"===o.type&&"!"===o.value&&("sym"===i.type||"rc"===i.type||"num"===i.type&&i.value==i.value|0)&&("punc"!==s.type||"("!==s.value||i.space)){let t=c(i);if(t){r(5);let o=t.clone();return a(new x(t.setSheet(e.value,!0),o.setSheet(n.value,!0)).setSheet(e.value,!0),e,i)}}}function d(e,t,n,o,i,s){if("sym"===e.type&&"punc"===t.type&&"!"===t.value&&("sym"===n.type||"rc"===n.type||"num"===n.type&&n.value==n.value|0)&&"op"===o.type&&":"===o.value&&("sym"===i.type||"rc"===i.type||"num"===i.type&&i.value==i.value|0)&&("punc"!==s.type||"("!==s.value||i.space)){let t=c(n,!0),o=c(i,!1);if(t&&o)return r(5),a(new x(t,o).setSheet(e.value,!0),e,i)}}function p(e,t,n,o){if("sym"===e.type&&"punc"===t.type&&"!"===t.value&&("sym"===n.type||"rc"===n.type||"num"===n.type&&n.value==n.value|0)&&("punc"!==o.type||"("!==o.value||n.space)){r(3);let t=c(n);return t&&isFinite(t.row)||(t=new y(n.value)),a(t.setSheet(e.value,!0),e,n)}}function f(e,t,n,o){if(("sym"===e.type||"rc"===e.type||"num"===e.type&&e.value==e.value|0)&&"op"===t.type&&":"===t.value&&("sym"===n.type||"rc"===n.type||"num"===n.type&&n.value==n.value|0)&&("punc"!==o.type||"("!==o.value||n.space)){let t=c(e,!0),o=c(n,!1);if(t&&o)return r(3),a(new x(t,o),e,n)}}function m(e,t){if(("sym"===e.type||"rc"===e.type)&&("punc"!==t.type||"("!==t.value||e.space)){let t=c(e);if(t&&isFinite(t.row)&&isFinite(t.col))return r(1),a(t,e,e)}}function v(e,t){if("sym"===e.type&&"punc"===t.type&&"("===t.value&&!e.space)return e.type="func",r(1),e}}function tt(e){return" \t\r\n ".indexOf(e)>=0}let nt={type:"eof"};function rt(e){let t=0;return{next:n,peek:r,eof:o,croak:i,readWhile:function(e){let t="";for(;!o()&&e(r(),t);)t+=n();return t},readEscaped:function(e){let t=!1,r="";for(;!o();){let o=n();if(t)r+=o,t=!1;else if("\\"===o)t=!0;else{if(o===e)break;r+=o}}return r},lookingAt:function(n){return n.exec(e.substr(t))},skip:function(n){if("string"==typeof n)e.substr(t,n.length)!==n&&i("Expected "+n),a(n.length);else if(n instanceof RegExp){let r=n.exec(e.substr(t));if(r)return a(r[0].length),r}else a(n[0].length)},forward:a,pos:function(){return t}};function n(){return e.charAt(t++)}function r(){return e.charAt(t)}function o(){return""===r()}function i(n){throw new je(n+" (input: "+e+")",t)}function a(e){for(;e-- >0;)n()}}let ot=[],it=re.registerFormatParser=function(e){ot.push(e)};re.parse=function(e,t,n,r,o){if(r instanceof Date)return{type:"date",value:re.runtime.dateToSerial(r)};if("number"==typeof r)return{type:"number",value:r};if("boolean"==typeof r)return{type:"boolean",value:r};if(/^'/.test(r+=""))return{type:"string",value:r.substr(1)};if(/^-?[0-9]+%$/.test(r)){let e=r.substr(0,r.length-1),t=parseFloat(e);if(!isNaN(t)&&t===e)return{type:"percent",value:t/100}}if(/^=/.test(r))return r=r.substr(1),/\S/.test(r)?$e(e,t,n,r):{type:"string",value:"="+r};for(let e=0;e<ot.length;++e){let t=ot[e](r,o);if(t)return t}if("true"===r.toLowerCase())return{type:"boolean",value:!0};if("false"===r.toLowerCase())return{type:"boolean",value:!1};let i=re.runtime.parseDate(r,o);if(i)return{type:"date",value:re.runtime.dateToSerial(i)};let a=parseFloat(r);return!isNaN(a)&&r.length>0&&a===r?(o=null,a!==Math.floor(a)&&(o="0."+String(a).split(".")[1].replace(/\d/g,"0")),{type:"number",value:a,format:o}):{type:"string",value:r}},re.parseNameDefinition=function(e,t){let n=$e(null,0,0,e);if(!(n.ast instanceof y))throw new je("Invalid name: "+e);if(n=n.ast,!(t instanceof g)){let e=$e(n.sheet,0,0,t);t=e.ast instanceof g?e.ast:/^(?:str|num|bool|error)$/.test(e.ast.type)?e.ast.value:Je(e)}return{name:n,value:t}},re.parseFormula=$e,re.parseReference=function(e,t){if("#sheet"===e.toLowerCase())return C;e:{let t;if(t=/^(\$)?([a-z]+)(\$)?(\d+)$/i.exec(e)){let e=qe(t[4]),n=We(t[2]);if(e<1048576&&n<16384)return new w(qe(t[4]),We(t[2]));break e}let n=et(e,{}),r=[];for(;;){let e=n.next();if(e instanceof w)e.rel=0;else{if(!(e instanceof x))break e;e.topLeft.rel=0,e.bottomRight.rel=0}if(r.push(e),n.eof())break;if(!n.is("op",Pe.ARG))break e;n.next()}return 1===r.length?r[0]:new k(r)}if(!t)throw new Error("Cannot parse reference: "+e)},re.compile=Je,re.parseSqref=function(e,t,n){e=et(e,{row:t=t||0,col:n=n||0});let r=[];for(;!e.eof();){let o=e.next();if("ref"!==o.type)throw new je("Expecting a reference but got: "+JSON.stringify(o));r.push(o.absolute(t,n))}return r},re.InputStream=rt,re.ParseError=je,re.tokenize=function(e,t,n){let r=[];for(e=et(e,{forEditor:!0,row:t,col:n});!e.eof();)r.push(i());let o=r[0];return"op"===o.type&&"="===o.value&&(o.type="startexp"),r;function i(){let r=e.next();return"sym"===r.type?"TRUE"===r.upper?(r.type="bool",r.value=!0):"FALSE"===r.upper&&(r.type="bool",r.value=!1):"ref"===r.type&&(r={type:"ref",ref:null!=t&&null!=n?r.absolute(t,n):r,begin:r.begin,end:r.end}),r}},it((function(e,t){let n,r=0,o="";if(t||(t=K().calendar.patterns.d),n=/^(\d+)([-/.])(\d+)\2(\d{2}(?:\d{2})?)(\s*)/.exec(e)){let i=parseInt(n[1],10),a=n[2],s=parseInt(n[3],10),l=parseInt(n[4],10);l<30?l+=2e3:l<100&&(l+=1900);let c=!t||t.indexOf("M")<t.indexOf("d");if(i>12||!c){let e=i;i=s,s=e,c=!1}if(!re.runtime.validDate(l,i,s))return null;r=re.runtime.packDate(l,i-1,s),r<0&&r--,o=c?["mm","dd","yyyy"].join(a):["dd","mm","yyyy"].join(a),o+=n[5],e=e.substr(n[0].length)}if(n=/^(\d+):(\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10);return{type:"date",format:o+"hh:mm",value:r+re.runtime.packTime(e,t,0,0)}}if(n=/^(\d+):(\d+)(\.\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10),i=1e3*parseFloat(n[3]);return{type:"date",format:o+"mm:ss.00",value:r+re.runtime.packTime(0,e,t,i)}}if(n=/^(\d+):(\d+):(\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10),i=parseInt(n[3],10);return{type:"date",format:o+"hh:mm:ss",value:r+re.runtime.packTime(e,t,i,0)}}if(n=/^(\d+):(\d+):(\d+)(\.\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10),i=parseInt(n[3],10),a=1e3*parseFloat(n[4]);return{type:"date",format:o+"hh:mm:ss.00",value:r+re.runtime.packTime(e,t,i,a)}}})),it((function(e){let t,n;var r=K().numbers;let o=r.symbols.group,i=r.symbols.decimal,a=r.currencies[r.localeCurrency].symbol,s=function(e,t){let n=e+t,r=at[n];return r||(r="^(\\d+(COM\\d{3})*(DOT\\d+)?)",r=r.replace(/DOT/g,"\\"+t).replace(/COM/g,"\\"+e),r=new RegExp(r),at[n]=r),r}(o,i),l=new RegExp("^\\s*\\"+a+"\\s*"),c=1,u="",h="",d=!1,p=!1;if((e=rt(e.replace(/^\s+|\s+$/g,""))).skip(/^-\s*/)&&(c=-1),(t=e.skip(l))&&(d=!0,u+='"'+t[0]+'"'),e.skip(/^-\s*/)){if(c<0)return null;c=-1}if(!(n=e.skip(s)))return null;if(u+="0",t=e.skip(l)){if(d)return null;d=!0,h='"'+t[0]+'"'}if(!d&&(t=e.skip(/^\s*%\s*/))&&(p=!0,h=t[0]),!e.eof())return null;(n[2]||d)&&(u=u.replace("0","#"),u+=",0"),n[3]&&(u+="."+st("0",n[3].length-1));let f=n[0].replace(new RegExp("\\"+o,"g"),"").replace(new RegExp("\\"+i,"g"),".");return f=parseFloat(f),p&&(f/=100),u+=h,d&&(u+=";-"+u),{type:"number",currency:d,format:u,value:c*f}})),it((function(e){let t;if(t=/^([0-9]*)\.([0-9]+)(\s*%)$/.exec(e))return{type:"number",value:parseFloat(e)/100,format:"0."+st("0",t[2].length)+t[3]}}));let at={};function st(e,t){let n="";for(;t-- >0;)n+=e;return n}function lt(e){return(Math.exp(e)+Math.exp(-e))/2}function ct(e){return(Math.exp(e)-Math.exp(-e))/2}function ut(e){return ct(e)/lt(e)}function ht(e,t){for(;t;){var n=e%t;e=t,t=n}return e}function dt(e,t){return Math.abs(e*t)/ht(e,t)}function pt(e,t){for(var n=[],r=0,o=e[0];r<e.length;)n.push({matrix:e[r++],pred:At(e[r++])});for(var i=0;i<o.height;++i)e:for(var a=0;a<o.width;++a){for(r=0;r<n.length;++r){var s=n[r].matrix.get(i,a);if(!n[r].pred(null==s||""===s?0:s))continue e}t(i,a)}}["abs","cos","sin","acos","asin","tan","atan","exp","sqrt"].forEach((function(e){fe(e,Math[e]).args([["*n","number"]])})),fe("ln",Math.log).args([["*n","number"]]),fe("log",(function(e,t){return Math.log(e)/Math.log(t)})).args([["*num","number++"],["*base",["or","number++",["null",10]]],["?",["assert","$base != 1","DIV/0"]]]),fe("log10",(function(e){return Math.log(e)/Math.log(10)})).args([["*num","number++"]]),fe("pi",(function(){return Math.PI})).args([]),fe("sqrtpi",(function(e){return Math.sqrt(e*Math.PI)})).args([["*num","number+"]]),fe("degrees",(function(e){return 180*e/Math.PI%360})).args([["*radians","number"]]),fe("radians",(function(e){return Math.PI*e/180})).args([["*degrees","number"]]),fe("cosh",lt).args([["*num","number"]]),fe("acosh",(function(e){return Math.log(e+Math.sqrt(e-1)*Math.sqrt(e+1))})).args([["*num","number"],["?",["assert","$num >= 1"]]]),fe("sinh",ct).args([["*num","number"]]),fe("asinh",(function(e){return Math.log(e+Math.sqrt(e*e+1))})).args([["*num","number"]]),fe("sec",(function(e){return 1/Math.cos(e)})).args([["*num","number"]]),fe("sech",(function(e){return 1/lt(e)})).args([["*num","number"]]),fe("csc",(function(e){return 1/Math.sin(e)})).args([["*num","number"]]),fe("csch",(function(e){return 1/ct(e)})).args([["*num","number"]]),fe("atan2",(function(e,t){return Math.atan(t/e)})).args([["*x","divisor"],["*y","number"]]),fe("tanh",ut).args([["*num","number"]]),fe("atanh",(function(e){return Math.log(Math.sqrt(1-e*e)/(1-e))})).args([["*num",["and","number",["(between)",-1,1]]]]),fe("cot",(function(e){return 1/Math.tan(e)})).args([["*num","divisor"]]),fe("coth",(function(e){return 1/ut(e)})).args([["*num","divisor"]]),fe("acot",(function(e){return Math.PI/2-Math.atan(e)})).args([["*num","number"]]),fe("acoth",(function(e){return Math.log((e+1)/(e-1))/2})).args([["*num","number"],["?",["or",["assert","$num < -1"],["assert","$num > 1"]]]]),fe("power",(function(e,t){return Math.pow(e,t)})).args([["*a","number"],["*b","number"]]),fe("mod",(function(e,t){return e%t})).args([["*a","number"],["*b","divisor"]]),fe("quotient",(function(e,t){return Math.floor(e/t)})).args([["*a","number"],["*b","divisor"]]),fe("ceiling",(function(e,t){return t?t*Math.ceil(e/t):0})).args([["*number","number"],["*significance","number"],["?",["assert","$significance >= 0 || $number < 0"]]]),fe("ceiling.precise",(function(e,t){return(t=Math.abs(t))?t*Math.ceil(e/t):0})).args([["*number","number"],["*significance",["or","number",["null",1]]]]),re.runtime.defineAlias("iso.ceiling","ceiling.precise"),fe("ceiling.math",(function(e,t,n){return t&&e?(e<0&&(!n&&t<0||n&&t>0)&&(t=-t),t?t*Math.ceil(e/t):0):0})).args([["*number","number"],["*significance",["or","number",["null","$number < 0 ? -1 : 1"]]],["*mode",["or","logical",["null",0]]]]),fe("floor",(function(e,t){return t?t*Math.floor(e/t):0})).args([["*number","number"],["*significance","number"],["?",["assert","$significance >= 0 || $number < 0"]]]),fe("floor.precise",(function(e,t){return(t=Math.abs(t))?t*Math.floor(e/t):0})).args([["*number","number"],["*significance",["or","number",["null",1]]]]),fe("floor.math",(function(e,t,n){return t&&e?(e<0&&(!n&&t<0||n&&t>0)&&(t=-t),t?t*Math.floor(e/t):0):0})).args([["*number","number"],["*significance",["or","number",["null","$number < 0 ? -1 : 1"]]],["*mode",["or","logical",["null",0]]]]),fe("int",Math.floor).args([["*number","number"]]),fe("mround",(function(e,t){return t?t*Math.round(e/t):0})).args([["*number","number"],["*multiple","number"]]),fe("round",(function(e,t){var n=e<0?-1:1;return n<0&&(e=-e),e=de(e*(t=Math.pow(10,t))),n*(e=Math.round(e))/t})).args([["*number","number"],["*digits","number"]]),fe("roundup",(function(e,t){return(e=(e=de(e*(t=Math.pow(10,t))))<0?Math.floor(e):Math.ceil(e))/t})).args([["*number","number"],["*digits","number"]]),fe("rounddown",(function(e,t){return(e=(e=de(e*(t=Math.pow(10,t))))<0?Math.ceil(e):Math.floor(e))/t})).args([["*number","number"],["*digits","number"]]),fe("even",(function(e){var t=e<0?Math.floor(e):Math.ceil(e);return t%2?t+(t<0?-1:1):t})).args([["*number","number"]]),fe("odd",(function(e){var t=e<0?Math.floor(e):Math.ceil(e);return t%2?t:t+(t<0?-1:1)})).args([["*number","number"]]),fe("sign",(function(e){return e<0?-1:e>0?1:0})).args([["*number","number"]]),fe("gcd",(function(e){for(var t=e[0],n=1;n<e.length;++n)t=ht(t,e[n]);return t})).args([["numbers",["collect","number"]]]),fe("lcm",(function(e){for(var t=e[0],n=1;n<e.length;++n)t=dt(t,e[n]);return t})).args([["numbers",["collect","number"]]]),fe("sum",(function(e){return e.reduce((function(e,t){return e+t}),0)})).args([["numbers",["collect","number"]]]),fe("product",(function(e){return e.reduce((function(e,t){return e*t}),1)})).args([["numbers",["collect","number"]]]),fe("sumproduct",(function(e,t){var n=0;return e.each((function(e,r,o){if("number"==typeof e){for(var i=0;i<t.length;++i){var a=t[i].get(r,o);if("number"!=typeof a)return;e*=a}n+=e}})),n})).args([["a1","matrix"],["+",["a2",["and","matrix",["assert","$a2.width == $a1.width"],["assert","$a2.height == $a1.height"]]]]]),fe("sumsq",(function(e){return e.reduce((function(e,t){return e+t*t}),0)})).args([["numbers",["collect","number"]]]),fe("sumx2my2",(function(e,t){var n=0;return e.each((function(e,r,o){var i=t.get(r,o);"number"==typeof e&&"number"==typeof i&&(n+=e*e-i*i)})),n})).args([["a","matrix"],["b",["and","matrix",["assert","$b.width == $a.width"],["assert","$b.height == $a.height"]]]]),fe("sumx2py2",(function(e,t){var n=0;return e.each((function(e,r,o){var i=t.get(r,o);"number"==typeof e&&"number"==typeof i&&(n+=e*e+i*i)})),n})).args([["a","matrix"],["b",["and","matrix",["assert","$b.width == $a.width"],["assert","$b.height == $a.height"]]]]),fe("sumxmy2",(function(e,t){var n=0;return e.each((function(e,r,o){var i=t.get(r,o);"number"==typeof e&&"number"==typeof i&&(n+=(e-i)*(e-i))})),n})).args([["a","matrix"],["b",["and","matrix",["assert","$b.width == $a.width"],["assert","$b.height == $a.height"]]]]),fe("seriessum",(function(e,t,n,r){var o=0;return r.each((function(r){if("number"!=typeof r)throw new T("VALUE");o+=r*Math.pow(e,t),t+=n})),o})).args([["x","number"],["y","number"],["m","number"],["a","matrix"]]),fe("min",(function(e){return e.length?Math.min.apply(Math,e):0})).args([["numbers",["collect","number!"]]]),fe("max",(function(e){return e.length?Math.max.apply(Math,e):0})).args([["numbers",["collect","number!"]]]),fe("counta",(function(e){return e.length})).args([["values",["#collect","anyvalue"]]]),fe("count",(function(e){return e.length})).args([["numbers",["#collect","number"]]]),fe("countunique",(function(e){var t=0,n=[];return e.forEach((function(e){n.indexOf(e)<0&&(t++,n.push(e))})),t})).args([["values",["#collect","anyvalue"]]]),fe("countblank",(function(e){var t=0;function n(e){null!=e&&""!==e||t++}return function(e){for(var t=0;t<e.length;++t){var r=e[t];r instanceof se?r.each(n,!0):n(r)}}(e),t})).args([["+",["args",["or","matrix","anyvalue"]]]]),fe("iseven",(function(e){return e%2==0})).args([["*number","number"]]),fe("isodd",(function(e){return e%2!=0})).args([["*number","number"]]),fe("n",(function(e){return"boolean"==typeof e?e?1:0:"number"==typeof e?e:0})).args([["*value","anyvalue"]]),fe("na",(function(){return new T("N/A")})).args([]);var ft=[["m1","matrix"],["c1","anyvalue"],[["m2","matrix"],["c2","anyvalue"]]];fe("countifs",(function(e,t,n){var r=0;return n.unshift(e,t),pt(n,(function(){r++})),r})).args(ft);var mt=[["range","matrix"]].concat(ft);fe("sumifs",(function(e,t,n,r){r.unshift(e,Nt,t,n);var o=0;return pt(r,(function(t,n){var r=e.get(t,n);r&&(o+=r)})),o})).args(mt),fe("averageifs",(function(e,t,n,r){r.unshift(e,Nt,t,n);var o=0,i=0;return pt(r,(function(t,n){var r=e.get(t,n);null!=r&&""!==r||(r=0),o+=r,i++})),i?o/i:new T("DIV/0")})).args(mt),fe("countif",(function(e,t){t=At(t);var n=0;return e.each((function(e){t(e)&&n++})),n})).args([["range","matrix"],["*criteria","anyvalue"]]);var vt,gt=[["range","matrix"],["*criteria","anyvalue"],["sumRange",["or","area","#matrix",["null","$range"]]]];function bt(e){return function(t,n,r,o){var i=this;if(o instanceof g){var a=o.clone().toRangeRef();if(a.width()!=n.width||a.height()!=n.height)return isFinite(a.topLeft.row)||(a.topLeft.row=0),isFinite(a.topLeft.col)||(a.topLeft.col=0),a.bottomRight.row=a.topLeft.row+n.height-1,a.bottomRight.col=a.topLeft.col+n.width-1,i.resolveCells([a],(function(){t(e(n,r,i.asMatrix(a)))}))}t(e(n,r,i.asMatrix(o)))}}function yt(e){return e.reduce((function(e,t){return e+t}),0)/e.length}function wt(e,t,n){return null==n&&(n=yt(e)),e.reduce((function(e,t){return e+Math.pow(t-n,2)}),0)/t}function xt(e,t){return Math.sqrt(wt(e,t))}function kt(e,t,n){var r=0,o=0,i=null,a=null,s=!1;return e.forEach((function(e){e<t?(r++,i=null==i?e:Math.max(i,e)):e>t?(o++,a=null==a?e:Math.min(a,e)):s=!0})),r||o?s?n?(r+1)/(e.length+1):r/(r+o):((a-t)*kt(e,i,n)+(t-i)*kt(e,a,n))/(a-i):new T("N/A")}fe("sumif",bt((function(e,t,n){var r=0;return t=At(t),e.each((function(e,o,i){if(t(e)){var a=n.get(o,i);Nt(a)&&(r+=a||0)}})),r}))).argsAsync(gt),fe("averageif",bt((function(e,t,n){var r=0,o=0;return t=At(t),e.each((function(e,i,a){if(t(e)){var s=n.get(i,a);Nt(s)&&(r+=s||0,o++)}})),o?r/o:new T("DIV/0")}))).argsAsync(gt),(vt=function(e,t){fe(e,(function(e,n){var r=[];return e.each((function(e){if(e instanceof T)return e;"number"==typeof e&&r.push(e)}))||(n>r.length?new T("NUM"):t(r,n-1))})).args([["array","matrix"],["*nth","number++"]])})("large",(function(e,t){return e.sort(Pt)[t]})),vt("small",(function(e,t){return e.sort(Lt)[t]})),fe("stdev.s",(function(e){return xt(e,e.length-1)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("stdev.p",(function(e){return xt(e,e.length)})).args([["numbers",["collect","number!"]],["?",["assert","$numbers.length >= 1","NUM"]]]),fe("var.s",(function(e){return wt(e,e.length-1)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("var.p",(function(e){return wt(e,e.length)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("median",(function(e){var t=e.length;return e.sort(Lt),t%2?e[t>>1]:(e[t>>=1]+e[t-1])/2})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length > 0","N/A"]]]),fe("mode.sngl",(function(e){e.sort(Lt);for(var t=null,n=0,r=1,o=null,i=0;i<e.length;++i){var a=e[i];a!=t?(n=1,t=a):n++,n>r&&(r=n,o=a)}return null==o?new T("N/A"):o})).args([["numbers",["collect","number"]]]),fe("mode.mult",(function(e){var t=Object.create(null),n=2,r=[];e.forEach((function(e){var o=t[e]||0;t[e]=++o,o==n?r.push(e):o>n&&(n=o,r=[e])}));var o=new se(this);return r.forEach((function(e,t){o.set(t,0,e)})),o})).args([["numbers",["collect","number"]]]),fe("geomean",(function(e){var t=e.length,n=e.reduce((function(e,t){if(t<0)throw new T("NUM");return e*t}),1);return Math.pow(n,1/t)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length > 0","NUM"]]]),fe("harmean",(function(e){return e.length/e.reduce((function(e,t){if(!t)throw new T("DIV/0");return e+1/t}),0)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length > 0","NUM"]]]),fe("trimmean",(function(e,t){var n=e.length;e.sort(Lt);var r=Math.floor(n*t);r%2&&--r;for(var o=0,i=r/=2;i<n-r;++i)o+=e[i];return o/(n-2*r)})).args([["numbers",["collect","number",1]],["percent",["and","number",["[between)",0,1]]],["?",["assert","$numbers.length > 0","NUM"]]]),fe("frequency",(function(e,t){e.sort(Lt),t.sort(Lt);var n=-1/0,r=0;function o(t){for(var o=0;r<e.length&&e[r]>n&&e[r]<=t;)++o,++r;return o}var i=new se(this);return t.forEach((function(e,t){var r=o(e);n=e,i.set(t,0,r)})),i.set(i.height,0,e.length-r),i})).args([["data",["collect","number",1]],["bins",["collect","number",1]]]),fe("rank.eq",(function(e,t,n){t.sort(n?Lt:Pt);var r=t.indexOf(e);return r<0?new T("N/A"):r+1})).args([["value","number"],["numbers",["collect","number",1]],["order",["or","logical",["null",!1]]]]),re.runtime.defineAlias("rank","rank.eq"),fe("rank.avg",(function(e,t,n){t.sort(n?Lt:Pt);var r=t.indexOf(e);if(r<0)return new T("N/A");for(var o=r;t[o]==e;++o);return(r+o+1)/2})).args([["value","number"],["numbers",["collect","number"]],["order",["or","logical",["null",!1]]]]),fe("kurt",(function(e){var t=e.length,n=yt(e),r=wt(e,t-1,n),o=Math.sqrt(r);return t*(t+1)/((t-1)*(t-2)*(t-3))*e.reduce((function(e,t){return e+Math.pow((t-n)/o,4)}),0)-3*Math.pow(t-1,2)/((t-2)*(t-3))})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 4","NUM"]]]);var zt=[["array",["collect","number",1]],["x","number"],["significance",["or",["null",3],"integer++"]],["?",["assert","$array.length > 0","NUM"]]];function Ct(e,t,n){for(var r=0,o=yt(e),i=yt(t),a=e.length,s=0;s<a;++s)r+=(e[s]-o)*(t[s]-i);return r/n}fe("percentrank.inc",(function(e,t,n){var r=kt(e,t,0);return r=r.toFixed(n+1),parseFloat(r.substr(0,r.length-1))})).args(zt),fe("percentrank.exc",(function(e,t,n){var r=kt(e,t,1);return r=r.toFixed(n+1),parseFloat(r.substr(0,r.length-1))})).args(zt),re.runtime.defineAlias("percentrank","percentrank.inc"),fe("covariance.p",(function(e,t){return Ct(e,t,e.length)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["?",["assert","$array1.length == $array2.length","N/A"]],["?",["assert","$array1.length > 0","DIV/0"]]]),fe("covariance.s",(function(e,t){return Ct(e,t,e.length-1)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["?",["assert","$array1.length == $array2.length","N/A"]],["?",["assert","$array1.length > 1","DIV/0"]]]),re.runtime.defineAlias("covar","covariance.p");var _t=O((function(e){for(var t=2,n=1;t<=e;++t)n*=t;return n}));fe("fact",_t).args([["*n","integer+"]]),fe("factdouble",(function(e){for(var t=2+(1&e),n=1;t<=e;t+=2)n*=t;return n})).args([["*n","integer+"]]),fe("multinomial",(function(e){var t=1,n=0;return e.forEach((function(e){if(e<0)throw new T("NUM");n+=e,t*=_t(e)})),_t(n)/t})).args([["numbers",["collect","number"]]]);var It=O((function(e,t){for(var n=t+1,r=1,o=1,i=1;r<=e-t;++n,++r)o*=n,i*=r;return o/i}));function Et(e,t){e.sort(Lt);var n=e.length,r=0|t,o=t-r;return 0===r?e[0]:r>=n?e[n-1]:e[--r]+o*(e[r+1]-e[r])}function St(e,t){return Et(e,t*(e.length-1)+1)}function Mt(e,t){return Et(e,t*(e.length+1))}fe("combin",It).args([["*n","integer++"],["*k",["and","integer",["[between]",0,"$n"]]]]),fe("combina",(function(e,t){return It(e+t-1,e-1)})).args([["*n","integer++"],["*k",["and","integer",["[between]",1,"$n"]]]]),fe("average",(function(e){return e.reduce((function(e,t){return e+t}),0)/e.length})).args([["numbers",["collect","number!"]],["?",["assert","$numbers.length > 0","DIV/0"]]]),fe("averagea",(function(e){var t=0,n=0;return e.forEach((function(e){"string"!=typeof e&&(t+=e),++n})),n?t/n:new T("DIV/0")})).args([["values",["collect","anyvalue"]]]),fe("percentile.inc",St).args([["numbers",["collect","number",1]],["p",["and","number",["[between]",0,1]]]]),fe("percentile.exc",Mt).args([["numbers",["collect","number",1]],["p",["and","number",["(between)",0,1]]]]),fe("quartile.inc",(function(e,t){return St(e,t/4)})).args([["numbers",["collect","number",1]],["quarter",["values",0,1,2,3,4]]]),fe("quartile.exc",(function(e,t){return Mt(e,t/4)})).args([["numbers",["collect","number",1]],["quarter",["values",0,1,2,3,4]]]),re.runtime.defineAlias("quartile","quartile.inc"),re.runtime.defineAlias("percentile","percentile.inc");var Ot=["AVERAGE","COUNT","COUNTA","MAX","MIN","PRODUCT","STDEV.S","STDEV.P","SUM","VAR.S","VAR.P","MEDIAN","MODE.SNGL","LARGE","SMALL","PERCENTILE.INC","QUARTILE.INC","PERCENTILE.EXC","QUARTILE.EXC"];function Rt(e,t,n){var r=[];return function t(o){if(o instanceof g)e.getRefCells(o,!0).forEach((function(e){var t=e.value;if(!(1&n&&e.hidden)){if(e.formula){var o=e.formula.print(e.row,e.col);if(/^\s*(?:aggregate|subtotal)\s*\(/i.test(o)&&!(4&n))return}2&n&&t instanceof T||("number"==typeof t||t instanceof T)&&r.push(t)}}));else if(Array.isArray(o))for(var i=0;i<o.length;++i)t(o[i]);else o instanceof se?o.each(t):("number"==typeof o||o instanceof T&&!(2&n))&&r.push(o)}(t),r}function Ht(e,t,n,r){if(r){for(var o=0,i=0;i<=e;++i)o+=It(t,i)*Math.pow(n,i)*Math.pow(1-n,t-i);return o}return It(t,e)*Math.pow(n,e)*Math.pow(1-n,t-e)}function Ft(e){var t=ke(ze(e,0,1));return 4==t.day||3==t.day&&re.runtime.isLeapYear(e)?53:52}function Vt(e,t,n){var r=ke(e),o=ke(t);return n?(31==r.date&&(r.date=30),31==o.date&&(o.date=30)):(1==r.month&&1==o.month&&r.date==xe(r.year,1)&&o.date==xe(o.year,1)&&(o.date=30),r.date==xe(r.year,r.month)?(r.date=30,31==o.date&&(o.date=30)):30==r.date&&31==o.date&&(o.date=30)),360*(o.year-r.year)+30*(o.month-r.month)+(o.date-r.date)}fe("aggregate",(function(e,t,n,r){var o=this;o.resolveCells(r,(function(){var i;if(t>12){i=Rt(o,r[0],n);var a=r[1];if(a instanceof w&&(a=o.getRefData(a)),"number"!=typeof a)return e(new T("VALUE"))}else i=Rt(o,r,n);o.func(Ot[t-1],e,i)}))})).argsAsync([["funcId",["values",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]],["options",["or",["null",0],["values",0,1,2,3,4,5,6,7]]],["args","rest"]]),fe("subtotal",(function(e,t){var n=this,r=t>100;r&&(t-=100);for(var o=[],i=2;i<arguments.length;++i)o.push(arguments[i]);n.resolveCells(o,(function(){var i=Rt(n,o,r?1:0);n.func(Ot[t-1],e,i)}))})).argsAsync([["funcId",["values",1,2,3,4,5,6,7,8,9,10,11,101,102,103,104,105,106,107,108,109,110,111]],["+",["ref",["or","ref","#matrix"]]]]),fe("avedev",(function(e){var t=e.reduce((function(e,t){return e+t}),0)/e.length;return e.reduce((function(e,n){return e+Math.abs(n-t)}),0)/e.length})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("binom.dist",Ht).args([["successes","integer+"],["trials",["and","integer",["assert","$trials >= $successes"]]],["probability",["and","number",["[between]",0,1]]],["cumulative","logical"]]),re.runtime.defineAlias("binomdist","binom.dist"),fe("binom.inv",(function(e,t,n){for(var r=0;r<=e;++r)if(Ht(r,e,t,!0)>=n)return r;return new T("N/A")})).args([["trials","integer+"],["probability",["and","number",["[between]",0,1]]],["alpha",["and","number",["[between]",0,1]]]]),re.runtime.defineAlias("critbinom","binom.inv"),fe("binom.dist.range",(function(e,t,n,r){for(var o=0,i=n;i<=r;++i)o+=It(e,i)*Math.pow(t,i)*Math.pow(1-t,e-i);return o})).args([["trials","integer+"],["probability",["and","number",["[between]",0,1]]],["successes_min",["and","integer",["[between]",0,"$trials"]]],["successes_max",["or",["and","integer",["[between]","$successes_min","$trials"]],["null","$successes_min"]]]]),fe("negbinom.dist",(function(e,t,n,r){if(r){for(var o=0;e>=0;)o+=It(e+t-1,e)*Math.pow(n,t)*Math.pow(1-n,e),e--;return o}return It(e+t-1,e)*Math.pow(n,t)*Math.pow(1-n,e)})).args([["number_f","integer+"],["number_s","integer+"],["probability_s",["and","number",["[between]",0,1]]],["cumulative","logical"]]),re.runtime.defineAlias("negbinomdist","negbinom.dist"),fe("address",(function(e,t,n,r,o){var i=new w(e-1,t-1,n-1);return o&&i.setSheet(o,!0),r?i.print(0,0):i.print()})).args([["row","integer++"],["col","integer++"],["abs",["or",["null",1],["values",1,2,3,4]]],["a1",["or",["null",!0],"logical"]],["sheet",["or","null","string"]]]),fe("areas",(function(e){var t=0;return function e(n){n instanceof w||n instanceof x?t++:n instanceof k&&n.refs.forEach(e)}(e),t})).args([["ref","ref"]]),fe("choose",(function(e,t){return e>t.length?new T("N/A"):t[e-1]})).args([["*index","integer"],["+",["value","anything"]]]),fe("column",(function(e){return e?e instanceof w?e.col+1:this.asMatrix(e).mapCol((function(t){return t+e.topLeft.col+1})):this.formula.col+1})).args([["ref",["or","area","null"]]]),fe("columns",(function(e){return e instanceof g?e.width():e.width})).args([["ref",["or","area","#matrix"]]]),fe("formulatext",(function(e){var t=this.getRefCells(e)[0];return t.formula?t.formula.print(t.row,t.col):new T("N/A")})).args([["ref","ref"]]),fe("hlookup",(function(e,t,n,r){var o=null;return t.eachCol((function(n){var i=t.get(0,n);if(r){if(i>e)return!0;o=n}else if(i===e)return o=n,!0})),null==o?new T("N/A"):t.get(n-1,o)})).args([["value","anyvalue"],["range","matrix"],["row","integer++"],["approx",["or","logical",["null",!0]]]]),fe("index",(function(e,t,n,r,o){var i=this;if(t instanceof k&&(t=t.refs[o-1]),!n&&!r||!t)return e(new T("N/A"));if(t instanceof w&&(t=t.toRangeRef()),t instanceof x){if(n&&r){if(r>t.width()||n>t.height())return e(new T("REF"));var a=t.toCell(n-1,r-1);return void i.resolveCells([a],(function(){e(i.getRefData(a))}))}if(!n){var s=t.toColumn(r-1);return void i.resolveCells([s],(function(){e(i.asMatrix(s))}))}if(!r){var l=t.toRow(n-1);return void i.resolveCells([l],(function(){e(i.asMatrix(l))}))}}else if(t instanceof se){if(t.width>1&&t.height>1){if(n&&r)return e(t.get(n-1,r-1));if(!n)return e(t.mapRow((function(e){return t.get(e,r-1)})));if(!r)return e(t.mapCol((function(e){return t.get(n-1,e)})))}if(1==t.width)return e(t.get(n-1,0));if(1==t.height)return e(t.get(0,r-1))}else e(new T("REF"))})).argsAsync([["range",["or","ref","matrix"]],["row",["or","integer+","null"]],["col",["or","integer+","null"]],["areanum",["or","integer++",["null",1]]]]),fe("indirect",(function(e){try{var t=this.formula,n=re.parseFormula(t.sheet,t.row,t.col,e).ast;if(n instanceof y&&(n=this.ss.nameValue(n,t.sheet,t.row,t.col)),!(n instanceof g))throw 1;return n.absolute(t.row,t.col)}catch(e){return new T("REF")}})).args([["thing","string"]]),fe("match",(function(e,t,n){var r,o=1;return 0===n?r=At(e):-1===n?r=At("<="+e):1===n&&(r=At(">="+e)),t.each((function(t){if(null!=t&&r(t))return 0!==n&&e!=t&&--o,!0;o++}),!0)&&o>0?o:new T("N/A")})).args([["value","anyvalue"],["range","matrix"],["type",["or",["values",-1,0,1],["null",1]]]]),fe("offset",(function(e,t,n,r,o){var i=(e instanceof w?e:e.topLeft).clone();return i.row+=t,i.col+=n,i.row<0||i.col<0?new T("VALUE"):r>1||o>1?new x(i,new w(i.row+r-1,i.col+o-1)).setSheet(e.sheet,e.hasSheet()):i})).args([["ref","area"],["*rows","integer"],["*cols","integer"],["*height",["or","integer++",["null","$ref.height()"]]],["*width",["or","integer++",["null","$ref.width()"]]]]),fe("row",(function(e){return e?e instanceof w?e.row+1:this.asMatrix(e).mapRow((function(t){return t+e.topLeft.row+1})):this.formula.row+1})).args([["ref",["or","area","null"]]]),fe("rows",(function(e){return e instanceof g?e.height():e.height})).args([["ref",["or","area","#matrix"]]]),fe("vlookup",(function(e,t,n,r){var o=null;return"number"!=typeof e&&(r=!1),"string"==typeof e&&(e=e.toLowerCase()),t.eachRow((function(n){var i=t.get(n,0);if(r){if(i>e)return!0;o=n}else if("string"==typeof i&&(i=i.toLowerCase()),i===e)return o=n,!0})),null==o?new T("N/A"):t.get(o,n-1)})).args([["value","anyvalue"],["range","matrix"],["col","integer++"],["approx",["or","logical",["null",!0]]]]),fe("date",(function(e,t,n){return ze(e,t-1,n)})).args([["*year","integer"],["*month","integer"],["*date","integer"]]),fe("day",(function(e){return ke(e).date})).args([["*date","date"]]),fe("month",(function(e){return ke(e).month+1})).args([["*date","date"]]),fe("year",(function(e){return ke(e).year})).args([["*date","date"]]),fe("weekday",(function(e){return ke(e).day+1})).args([["*date","date"]]),fe("weeknum",(function(e,t){var n,r=ze(ke(e).year,0,1),o=ke(r);return 21==t?((n=3-(o.day+6)%7)<0&&(n+=7),r+=n,o.date+=n,o.day=4,t=1):t=1==t?0:2==t?1:(t-10)%7,(n=o.day-t)<0&&(n+=7),r-=n,Math.ceil((e+1-r)/7)})).args([["*date","date"],["*type",["or",["null",1],["values",1,2,11,12,13,14,15,16,17,21]]]]),fe("isoweeknum",(function(e){var t=ke(e),n=t.day||7,r=Math.floor((t.ord-n+10)/7);return r<1?Ft(t.year-1):53==r&&r>Ft(t.year)?1:r})).args([["*date","date"]]),fe("now",(function(){return re.runtime.dateToSerial(new Date)})).args([]),fe("today",(function(){return 0|re.runtime.dateToSerial(new Date)})).args([]),fe("time",(function(e,t,n){return re.runtime.packTime(e,t,n,0)})).args([["*hours","integer"],["*minutes","integer"],["*seconds","integer"]]),fe("hour",(function(e){return re.runtime.unpackTime(e).hours})).args([["*time","datetime"]]),fe("minute",(function(e){return re.runtime.unpackTime(e).minutes})).args([["*time","datetime"]]),fe("second",(function(e){return re.runtime.unpackTime(e).seconds})).args([["*time","datetime"]]),fe("edate",(function(e,t){var n=ke(e),r=n.month+t,o=n.year+Math.floor(r/12);return(r%=12)<0&&(r+=12),ze(o,r,n=Math.min(n.date,xe(o,r)))})).args([["*start_date","date"],["*months","integer"]]),fe("eomonth",(function(e,t){var n=ke(e),r=n.month+t,o=n.year+Math.floor(r/12);return(r%=12)<0&&(r+=12),ze(o,r,n=xe(o,r))})).args([["*start_date","date"],["*months","integer"]]),fe("workday",(function(e,t,n){var r=t>0?1:-1;t=Math.abs(t);for(var o=ke(e).day;t>0;)e+=r,(o=(o+r)%7)>0&&o<6&&n.indexOf(e)<0&&--t;return e})).args([["start_date","date"],["days","integer"],["holidays",["collect","date"]]]),fe("networkdays",(function(e,t,n){if(e>t){var r=e;e=t,t=r}for(var o=0,i=ke(e).day;e<=t;)i>0&&i<6&&n.indexOf(e)<0&&o++,e++,i=(i+1)%7;return o})).args([["start_date","date"],["end_date","date"],["holidays",["collect","date"]]]),fe("days",(function(e,t){return e-t})).args([["*start_date","date"],["*end_date","date"]]),re.runtime._days_360=Vt,fe("days360",Vt).args([["*start_date","date"],["*end_date","date"],["*method",["or","logical",["null",!1]]]]),fe("yearfrac",(function(e,t,n){switch(n){case 0:return Vt(e,t,!1)/360;case 1:return(t-e)/we(ke(e).year);case 2:return(t-e)/360;case 3:return(t-e)/365;case 4:return Vt(e,t,!0)/360}})).args([["*start_date","date"],["*end_date","date"],["*method",["or",["null",0],["values",0,1,2,3,4]]]]),fe("datevalue",(function(e){var t=re.runtime.parseDate(e);return t?re.runtime.dateToSerial(t):new T("VALUE")})).args([["*text","string"]]),fe("timevalue",(function(e){var t=e.toLowerCase().match(/(\d+):(\d+)(:(\d+)(\.(\d+))?)?\s*(am?|pm?)?/);if(t){var n=parseFloat(t[1]),r=parseFloat(t[2]),o=t[3]?parseFloat(t[4]):0,i=t[7];return i&&(n>12||n<1)?new T("VALUE"):(/^p/.test(i)&&(n+=12),re.runtime.packTime(n,r,o,0))}return new T("VALUE")})).args([["*text","string"]]),fe("mdeterm",(function(e){return e.each((function(e){if("number"!=typeof e)return new T("VALUE")}),!0)||e.determinant()})).args([["m",["and","matrix",["assert","$m.width == $m.height"]]]]),fe("transpose",(function(e){return e.transpose()})).args([["range","matrix"]]),fe("mmult",(function(e,t){return e.multiply(t)})).args([["a","matrix"],["b",["and","matrix",["assert","$b.height == $a.width"]]]]),fe("munit",(function(e){return new se(this).unit(e)})).args([["n","integer+"]]),fe("minverse",(function(e){return e.each((function(e){if("number"!=typeof e)return new T("VALUE")}),!0)||e.inverse()||new T("VALUE")})).args([["m",["and","matrix",["assert","$m.width == $m.height"]]]]),fe("rand",(function(){return Math.random()})).args([]),fe("randbetween",(function(e,t){return e+Math.floor((t-e+1)*Math.random())})).args([["min","integer"],["max",["and","integer",["assert","$max >= $min"]]]]),fe("true",(function(){return!0})).args([]),fe("false",(function(){return!0})).args([]),fe("roman",(function(e){return function(e){let t={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"},n=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],r="";for(;e>0;)e<n[0]?n.shift():(r+=t[n[0]],e-=n[0]);return r}(e).toUpperCase()})).args([["*number","integer"]]),fe("arabic",(function(e){var t=function(e){e=e.toLowerCase();let t={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},n=0,r=0;for(let o=0;o<e.length;++o){let i=t[e.charAt(o)];if(!i)return null;n+=i,i>r&&(n-=2*r),r=i}return n}(e);return null==t?new T("VALUE"):t})).args([["*roman","string"]]),fe("base",(function(e,t,n){for(var r=e.toString(t).toUpperCase();r.length<n;)r="0"+r;return r})).args([["*number","integer"],["*radix",["and","integer",["[between]",2,36]]],["*minLen",["or","integer+",["null",0]]]]),fe("decimal",(function(e,t){e=e.toUpperCase();for(var n=0,r=0;r<e.length;++r){var o=e.charCodeAt(r);if(o>=48&&o<=57)o-=48;else{if(!(o>=65&&o<55+t))return new T("VALUE");o-=55}n=n*t+o}return n})).args([["*text","string"],["*radix",["and","integer",["[between]",2,36]]]]),fe("char",(function(e){return String.fromCharCode(e)})).args([["*code","integer+"]]);var Dt=/[\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u037F-\u0383\u038B\u038D\u03A2\u0528-\u0530\u0557\u0558\u0560\u0588\u058B-\u058E\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08A1\u08AD-\u08E3\u08FF\u0978\u0980\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0C00\u0C04\u0C0D\u0C11\u0C29\u0C34\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5A-\u0C5F\u0C64\u0C65\u0C70-\u0C77\u0C80\u0C81\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0D01\u0D04\u0D0D\u0D11\u0D3B\u0D3C\u0D45\u0D49\u0D4F-\u0D56\u0D58-\u0D5F\u0D64\u0D65\u0D76-\u0D78\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E86\u0E89\u0E8B\u0E8C\u0E8E-\u0E93\u0E98\u0EA0\u0EA4\u0EA6\u0EA8\u0EA9\u0EAC\u0EBA\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F5-\u13FF\u169D-\u169F\u16F1-\u16FF\u170D\u1715-\u171F\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180F\u181A-\u181F\u1878-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191D-\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE-\u1AFF\u1B4C-\u1B4F\u1B7D-\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C80-\u1CBF\u1CC8-\u1CCF\u1CF7-\u1CFF\u1DE7-\u1DFB\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20BB-\u20CF\u20F1-\u20FF\u218A-\u218F\u23F4-\u23FF\u2427-\u243F\u244B-\u245F\u2700\u2B4D-\u2B4F\u2B5A-\u2BFF\u2C2F\u2C5F\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E3C-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u312E-\u3130\u318F\u31BB-\u31BF\u31E4-\u31EF\u321F\u32FF\u4DB6-\u4DBF\u9FCD-\u9FFF\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA698-\uA69E\uA6F8-\uA6FF\uA78F\uA794-\uA79F\uA7AB-\uA7F7\uA82C-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C5-\uA8CD\uA8DA-\uA8DF\uA8FC-\uA8FF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9E0-\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAA7C-\uAA7F\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F-\uABBF\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFE\uFDFF\uFE1A-\uFE1F\uFE27-\uFE2F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]/g;function Bt(e,t){this.link=e,this.text=t}fe("clean",(function(e){return e.replace(Dt,"")})).args([["*text","string"]]),fe("code",(function(e){return e.charAt(0)})).args([["*text","string"]]),re.runtime.defineAlias("unichar","char"),re.runtime.defineAlias("unicode","code"),fe("concatenate",(function(e){for(var t="",n=0;n<e.length;++n)t+=e[n];return t})).args([["+",["*text","string"]]]),fe("dollar",(function(e,t){for(var n="$#,##0DECIMALS;($#,##0DECIMALS)",r="",o=1;t-- >0;)r+="0";for(;++t<0;)o*=10;return""!==r?r="."+r:1!==o&&(e=Math.round(e/o)*o),n=n.replace(/DECIMALS/g,r),Un.text(e,n)})).args([["*number","number"],["*decimals",["or","integer",["null",2]]]]),fe("exact",(function(e,t){return e===t})).args([["*text1","string"],["*text2","string"]]),fe("find",(function(e,t,n){var r=t.indexOf(e,n-1);return r<0?new T("VALUE"):r+1})).args([["*substring","string"],["*string","string"],["*start",["or","integer++",["null",1]]]]),fe("fixed",(function(e,t,n){var r=Math.pow(10,t);e=Math.round(e*r)/r;var o=n?"0":"#,##0";if(t>0)for(o+=".";t-- >0;)o+="0";return Un.text(e,o)})).args([["*number","number"],["*decimals",["or","integer",["null",2]]],["*noCommas",["or","boolean",["null",!1]]]]),fe("left",(function(e,t){return e.substr(0,t)})).args([["*text","string"],["*length",["or","integer+",["null",1]]]]),fe("right",(function(e,t){return e.substr(-t)})).args([["*text","string"],["*length",["or","integer+",["null",1]]]]),fe("len",(function(e){return e.length})).args([["*text","string"]]),fe("lower",(function(e){return e.toLowerCase()})).args([["*text","string"]]),fe("upper",(function(e){return e.toUpperCase()})).args([["*text","string"]]),fe("ltrim",(function(e){return e.replace(/^\s+/,"")})).args([["*text","string"]]),fe("rtrim",(function(e){return e.replace(/\s+$/,"")})).args([["*text","string"]]),fe("trim",(function(e){return e.replace(/^\s+|\s+$/,"")})).args([["*text","string"]]),fe("mid",(function(e,t,n){return e.substr(t-1,n)})).args([["*text","string"],["*start","integer++"],["*length","integer+"]]),fe("proper",(function(e){return e.toLowerCase().replace(/\b./g,(function(e){return e.toUpperCase()}))})).args([["*text","string"]]),fe("replace",(function(e,t,n,r){return e.substr(0,--t)+r+e.substr(t+n)})).args([["*text","string"],["*start","integer++"],["*length","integer+"],["*newText","string"]]),fe("rept",(function(e,t){for(var n="";t-- >0;)n+=e;return n})).args([["*text","string"],["*number","integer+"]]),fe("search",(function(e,t,n){var r=t.toLowerCase().indexOf(e.toLowerCase(),n-1);return r<0?new T("VALUE"):r+1})).args([["*substring","string"],["*string","string"],["*start",["or","integer++",["null",1]]]]),fe("substitute",(function(e,t,n,r){if(t===n)return e;var o=e.split(t);if(null==r)return o.join(n);e="",r--;for(var i=0;i<o.length;++i)e+=o[i],i<o.length-1&&(e+=i===r?n:t);return e})).args([["*text","string"],["*oldText","string"],["*newText","string"],["*nth",["or","integer++","null"]]]),fe("t",(function(e){return"string"==typeof e?e:""})).args([["*value","anyvalue"]]),fe("text",(function(e,t){return Un.text(e,t)})).args([["*value","anyvalue"],["*format","string"]]),fe("value",(function(e){return"number"==typeof e?e:"boolean"==typeof e?+e:(e=(e+"").replace(/[$€,]/g,""),e=parseFloat(e),isNaN(e)?new T("VALUE"):e)})).args([["*value","anyvalue"]]),Bt.prototype.toString=function(){return this.text},fe("hyperlink",(function(e,t){return new Bt(e,t)})).args([["*link","string"],["*text",["or","string",["null","$link"]]]]),fe("iferror",(function(e,t){return e instanceof T?t:e})).args([["*value","forced!"],["*value_if_error","anyvalue!"]]);var At=function(){var e=Object.create(null);function t(e,t){if("string"==typeof t){var n=parseFloat(t);isNaN(n)||n!=t||(t=n)}return function(n){var r=t;return"string"==typeof n&&"string"==typeof r&&(n=n.toLowerCase(),r=r.toLowerCase()),e(n,r)}}function n(e){var t,n;return"string"==typeof e&&(e=e.toLowerCase()),/^[0-9.]+%$/.test(e)?(n=e.substr(0,e.length-1),t=parseFloat(n),isNaN(t)||t!=n||(e=t/100)):/^[0-9.]+$/.test(e)&&(t=parseFloat(e),isNaN(t)||t!=e||(e=t)),e}function r(e,t){return n(e)<n(t)}function o(e,t){return n(e)<=n(t)}function i(e,t){return n(e)>n(t)}function a(e,t){return n(e)>=n(t)}function s(e,t){return!l(e,t)}function l(e,t){return t instanceof RegExp?t.test(e):("string"!=typeof e&&"string"!=typeof t||(e=String(e),t=String(t)),n(e)==n(t))}return function(n){if("function"==typeof n)return n;var c;if(c=/^=(.*)$/.exec(n))return t(l,c[1]);if(c=/^<>(.*)$/.exec(n))return t(s,c[1]);if(c=/^<=(.*)$/.exec(n))return t(o,c[1]);if(c=/^<(.*)$/.exec(n))return t(r,c[1]);if(c=/^>=(.*)$/.exec(n))return t(a,c[1]);if(c=/^>(.*)$/.exec(n))return t(i,c[1]);if(/[?*]/.exec(n)){var u=e[n];return u||(u=n.replace(/(~\?|~\*|[\]({\+\.\|\^\$\\})\[]|[?*])/g,(function(e){switch(e){case"~?":return"\\?";case"~*":return"\\*";case"?":return".";case"*":return".*";default:return"\\"+e}})),u=e[n]=new RegExp("^"+u+"$","i")),t(l,u)}return t(l,n)}}();function Nt(e){return"number"==typeof e||"boolean"==typeof e||null==e||""===e}function Lt(e,t){return e===t?0:e<t?-1:1}function Pt(e,t){return e===t?0:e<t?1:-1}fe("ERF",(function(e,t){return null==t?qt(e):qt(t)-qt(e)})).args([["lower_limit","number"],["upper_limit",["or","number","null"]]]),fe("ERFC",$t).args([["x","number"]]),fe("GAMMALN",Gt).args([["x","number++"]]),fe("GAMMA",Yt).args([["x","number"]]),fe("GAMMA.DIST",Jt).args([["x","number+"],["alpha","number++"],["beta","number++"],["cumulative","logical"]]),fe("GAMMA.INV",Qt).args([["p",["and","number",["[between]",0,1]]],["alpha","number++"],["beta","number++"]]),fe("NORM.S.DIST",en).args([["z","number"],["cumulative","logical"]]),fe("NORM.S.INV",tn).args([["p",["and","number",["[between]",0,1]]]]),fe("NORM.DIST",(function(e,t,n,r){return r?en((e-t)/n,!0):Math.exp(-(e-t)*(e-t)/(2*n*n))/(n*Math.sqrt(2*Math.PI))})).args([["x","number"],["mean","number"],["stddev","number++"],["cumulative","logical"]]),fe("NORM.INV",nn).args([["p",["and","number",["[between]",0,1]]],["mean","number"],["stddev","number++"]]),fe("BETADIST",(function(e,t,n,r,o){return rn((e-r)/(o-r),t,n)})).args([["x","number"],["alpha","number++"],["beta","number++"],["A",["or","number",["null",0]]],["B",["or","number",["null",1]]],["?",["assert","$x >= $A","NUM"]],["?",["assert","$x <= $B","NUM"]],["?",["assert","$A < $B","NUM"]]]),fe("BETA.DIST",(function(e,t,n,r,o,i){return r?rn((e-o)/(i-o),t,n):function(e,t,n){return Math.exp((t-1)*Math.log(e)+(n-1)*Math.log(1-e)-Xt(t,n))}((e-o)/(i-o),t,n)/(i-o)})).args([["x","number"],["alpha","number++"],["beta","number++"],["cumulative","logical"],["A",["or","number",["null",0]]],["B",["or","number",["null",1]]],["?",["assert","$x >= $A","NUM"]],["?",["assert","$x <= $B","NUM"]],["?",["assert","$A < $B","NUM"]]]),fe("BETA.INV",sn).args([["p",["and","number",["[between]",0,1]]],["alpha","number++"],["beta","number++"],["A",["or","number",["null",0]]],["B",["or","number",["null",1]]]]),fe("CHISQ.DIST",ln).args([["x","number+"],["deg_freedom","integer++"],["cumulative","logical"]]),fe("CHISQ.DIST.RT",cn).args([["x","number+"],["deg_freedom","integer++"]]),fe("CHISQ.INV",un).args([["p",["and","number",["[between]",0,1]]],["deg_freedom","integer++"]]),fe("CHISQ.INV.RT",(function(e,t){return un(1-e,t)})).args([["p",["and","number",["[between]",0,1]]],["deg_freedom","integer++"]]),fe("CHISQ.TEST",(function(e,t){return function(e,t){var n,r,o=e.length,i=e[0].length,a=0;for(n=0;n<o;n++)for(r=0;r<i;r++){var s=t[n][r],l=e[n][r]-s;a+=(l*=l)/s}return cn(a,(o-1)*(i-1))}(e.data,t.data)})).args([["actual_range","matrix"],["expected_range","matrix"],["?",["assert","$actual_range.width == $expected_range.width"]],["?",["assert","$actual_range.height == $expected_range.height"]]]),fe("EXPON.DIST",(function(e,t,n){return n?1-Math.exp(-t*e):t*Math.exp(-t*e)})).args([["x","number+"],["lambda","number++"],["cumulative","logical"]]),fe("POISSON.DIST",(function(e,t,n){if(n)return 1-ln(2*t,2*(e+1),!0);for(var r=0,o=2;o<=e;o++)r+=Math.log(o);return Math.exp(e*Math.log(t)-t-r)})).args([["x","integer+"],["mean","number+"],["cumulative","logical"]]),fe("F.DIST",hn).args([["x","number+"],["deg_freedom1","integer++"],["deg_freedom2","integer++"],["cumulative","logical"]]),fe("F.DIST.RT",(function(e,t,n){return 1-hn(e,t,n,!0)})).args([["x","number+"],["deg_freedom1","integer++"],["deg_freedom2","integer++"]]),fe("F.INV",(function(e,t,n){return n/t*(1/sn(1-e,n/2,t/2,0,1)-1)})).args([["p",["and","number",["[between]",0,1]]],["deg_freedom1","integer++"],["deg_freedom2","integer++"]]),fe("F.INV.RT",(function(e,t,n){return n/t*(1/sn(e,n/2,t/2,0,1)-1)})).args([["p",["and","number",["[between]",0,1]]],["deg_freedom1","integer++"],["deg_freedom2","integer++"]]),fe("F.TEST",(function(e,t){var n=e.length-1,r=t.length-1,o=pn(e,dn(e)),i=pn(t,dn(t));if(!o||!i)throw new T("DIV/0");return 2*hn(o/i,n,r,!0)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["?",["assert","$array1.length >= 2","DIV/0"]],["?",["assert","$array2.length >= 2","DIV/0"]]]),fe("FISHER",(function(e){return.5*Math.log((1+e)/(1-e))})).args([["x",["and","number",["(between)",-1,1]]]]),fe("FISHERINV",(function(e){var t=Math.exp(2*e);return(t-1)/(t+1)})).args([["y","number"]]),fe("T.DIST",fn).args([["x","number"],["deg_freedom","integer++"],["cumulative","logical"]]),fe("T.DIST.RT",mn).args([["x","number"],["deg_freedom","integer++"]]),fe("T.DIST.2T",vn).args([["x","number+"],["deg_freedom","integer++"]]),fe("T.INV",gn).args([["p",["and","number",["(between]",0,1]]],["deg_freedom","integer++"]]),fe("T.INV.2T",(function(e,t){return gn(1-e/2,t)})).args([["p",["and","number",["(between]",0,1]]],["deg_freedom","integer++"]]),fe("T.TEST",(function(e,t,n,r){var o,i,a=e.length,s=t.length;if(1==r){for(var l=0,c=0,u=0;u<a;u++){var h=e[u]-t[u];l+=h,c+=h*h}var d=l/a;return o=d/Math.sqrt((c-l*d)/(a*(a-1))),1==n?mn(o,a-1):vn(o,a-1)}var p=dn(e),f=dn(t),m=pn(e,p),v=pn(t,f);if(3==r){var g=m/a,b=v/s,y=g+b,w=g/y,x=b/y;return i=1/(w*w/(a-1)+x*x/(s-1)),o=Wt(p-f)/Math.sqrt(y),1==n?mn(o,i):vn(o,i)}return i=a+s-2,o=Wt(p-f)*Math.sqrt(i*a*s/((a+s)*((a-1)*m+(s-1)*v))),1==n?mn(o,i):vn(o,i)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["tails",["and","integer",["values",1,2]]],["type",["and","integer",["values",1,2,3]]],["?",["assert","$type != 1 || $array1.length == $array2.length","N/A"]],["?",["assert","$array1.length >= 2","DIV/0"]],["?",["assert","$array2.length >= 2","DIV/0"]]]),fe("CONFIDENCE.T",(function(e,t,n){return-gn(e/2,n-1)*t/Math.sqrt(n)})).args([["alpha",["and","number",["(between)",0,1]]],["standard_dev","number++"],["size",["and","integer++",["assert","$size != 1","DIV/0"]]]]),fe("CONFIDENCE.NORM",(function(e,t,n){return-tn(e/2)*t/Math.sqrt(n)})).args([["alpha",["and","number",["(between)",0,1]]],["standard_dev","number++"],["size",["and","integer++"]]]),fe("GAUSS",(function(e){return en(e,!0)-.5})).args([["z","number"]]),fe("PHI",(function(e){return en(e)})).args([["x","number"]]),fe("LOGNORM.DIST",(function(e,t,n,r){if(r)return.5+.5*qt((Math.log(e)-t)/(n*Math.sqrt(2)));var o=Math.log(e)-t;return Math.exp(-o*o/(2*n*n))/(e*n*Math.sqrt(2*Math.PI))})).args([["x","number++"],["mean","number"],["standard_dev","number++"],["cumulative","logical"]]),fe("LOGNORM.INV",(function(e,t,n){return Math.exp(nn(e,t,n))})).args([["probability",["and","number",["(between)",0,1]]],["mean","number"],["standard_dev","number++"]]),fe("PROB",(function(e,t,n,r){var o,i=e.length,a=0;for(o=0;o<i;o++){if(t[o]<=0||t[o]>1)throw new T("NUM");a+=t[o]}if(1!=a)throw new T("NUM");var s=0;for(o=0;o<i;o++){var l=e[o];l>=n&&l<=r&&(s+=t[o])}return s})).args([["x_range",["collect","number",1]],["prob_range",["collect","number",1]],["lower_limit","number"],["upper_limit",["or","number",["null","$lower_limit"]]],["?",["assert","$prob_range.length == $x_range.length","N/A"]]]),fe("SLOPE",(function(e,t){for(var n=dn(t),r=dn(e),o=0,i=0,a=0,s=e.length;a<s;a++){var l=t[a]-n;o+=l*(e[a]-r),i+=l*l}return o/i})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]]]),fe("INTERCEPT",(function(e,t){for(var n=dn(t),r=dn(e),o=0,i=0,a=0,s=e.length;a<s;a++){var l=t[a]-n;o+=l*(e[a]-r),i+=l*l}return r-o*n/i})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]]]),fe("PEARSON",bn).args([["array1",["collect!","anything",1]],["array2",["collect!","anything",1]],["?",["assert","$array2.length == $array1.length","N/A"]],["?",["assert","$array2.length > 0 && $array1.length > 0","N/A"]]]),fe("RSQ",(function(e,t){var n=bn(e,t);return n*n})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]],["?",["assert","$known_x.length != 1 && $known_y.length != 1","N/A"]]]),fe("STEYX",(function(e,t){for(var n=t.length,r=dn(t),o=dn(e),i=0,a=0,s=0,l=0;l<n;l++){var c=t[l]-r,u=e[l]-o;i+=u*u,a+=c*u,s+=c*c}return Math.sqrt((i-a*a/s)/(n-2))})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length >= 3 && $known_y.length >= 3","DIV/0"]]]),fe("FORECAST",(function(e,t,n){for(var r=dn(n),o=dn(t),i=0,a=0,s=0,l=n.length;s<l;s++){var c=n[s]-r;i+=c*(t[s]-o),a+=c*c}if(0===a)throw new T("N/A");var u=i/a;return o-u*r+u*e})).args([["x","number"],["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]]]),fe("LINEST",xn).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]],["stats",["or","logical",["null",!1]]]]),fe("LOGEST",(function(e,t,n,r){return xn.call(this,e.map(Math.log),t,n,r).map(Math.exp)})).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]],["stats",["or","logical",["null",!1]]]]),fe("TREND",kn).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["new_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]]]),fe("GROWTH",(function(e,t,n,r){return kn.call(this,e.map(Math.log),t,n,r).map(Math.exp)})).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["new_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]]]),fe("FV",Cn).args([["rate","number"],["nper","number"],["pmt",["or","number",["null",0]]],["pv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["?",["assert","$pmt || $pv"]]]),fe("PV",(function(e,t,n,r,o){if(!e)return-r-n*t;var i=Math.pow(1+e,t);return-(r+n*(i-1)/e*(1+e*o))/i})).args([["rate","number"],["nper","number"],["pmt",["or","number",["null",0]]],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]]]),fe("PMT",_n).args([["rate","number"],["nper","number"],["pmt","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]]]),fe("NPER",(function(e,t,n,r,o){if(!e)return-(r+n)/t;var i=t*(1+e*o);return Math.log((i-r*e)/(i+n*e))/Math.log(1+e)})).args([["rate","number"],["pmt","number"],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]]]),fe("RATE",(function(e,t,n,r,o,i){return zn((function(i){var a=Math.pow(1+i,e-1),s=a*(1+i);return[n*s+t*(1/i+o)*(s-1)+r,e*n*a+t*(-(s-1)/(i*i)+(1/i+o)*e*a)]}),i)})).args([["nper","number"],["pmt",["or","number",["null",0]]],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["guess",["or","number++",["null",.01]]],["?",["assert","$pmt || $fv"]]]),fe("IPMT",In).args([["rate","number"],["per","number++"],["nper","number++"],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["?",["assert","$per >= 1 && $per <= $nper"]]]),fe("PPMT",(function(e,t,n,r,o,i){return _n(e,n,r,o,i)-In(e,t,n,r,o,i)})).args([["rate","number"],["per","number++"],["nper","number++"],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["?",["assert","$per >= 1 && $per <= $nper"]]]),fe("CUMPRINC",(function(e,t,n,r,o,i){1==i&&(r--,o--);var a=Math.pow(1+e,t),s=Math.pow(1+e,r-1),l=Math.pow(1+e,o),c=e*n*a/(a-1);return l*n-(l-1)/e*c-(s*n-(s-1)/e*c)})).args([["rate","number++"],["nper","number++"],["pv","number++"],["start_period","number++"],["end_period","number++"],["type",["or",["values",0,1],["null",0]]],["?",["assert","$end_period >= $start_period","NUM"]]]),fe("CUMIPMT",(function(e,t,n,r,o,i){for(var a=0,s=r;s<=o;s++)a+=In(e,s,t,n,0,i);return a})).args([["rate","number++"],["nper","number++"],["pv","number++"],["start_period","number++"],["end_period","number++"],["type",["or",["values",0,1],["null",0]]],["?",["assert","$end_period >= $start_period","NUM"]]]),fe("NPV",(function(e,t){for(var n=0,r=0,o=t.length;r<o;r++)n+=t[r]*Math.pow(1+e,-r-1);return n})).args([["rate","number"],["values",["collect","number"]],["?",["assert","$values.length > 0","N/A"]]]),fe("IRR",(function(e,t){return zn((function(t){for(var n=0,r=0,o=0,i=e.length;o<i;o++)n+=e[o]*Math.pow(1+t,-o-1),r+=-o*e[o]*Math.pow(1+t,-o-2);return[n,r]}),t)})).args([["values",["collect","number",1]],["guess",["or","number",["null",.1]]]]),fe("EFFECT",(function(e,t){return Math.pow(1+e/t,t)-1})).args([["nominal_rate","number++"],["npery","integer++"]]),fe("NOMINAL",(function(e,t){return t*(Math.pow(e+1,1/t)-1)})).args([["effect_rate","number++"],["npery","integer++"]]),fe("XNPV",(function(e,t,n){for(var r=0,o=0,i=t.length;o<i;o++)r+=t[o]*Math.pow(1+e,(n[0]-n[o])/365);return r})).args([["rate","number"],["values",["collect","number",1]],["dates",["collect","date",1]],["?",["assert","$values.length == $dates.length","NUM"]]]),fe("XIRR",(function(e,t,n){return zn((function(n){for(var r=e[0],o=0,i=1,a=e.length;i<a;i++){var s=(t[0]-t[i])/365;r+=e[i]*Math.pow(1+n,s),o+=s*e[i]*Math.pow(1+n,s-1)}return[r,o]}),n)})).args([["values",["collect","number",1]],["dates",["collect","date",1]],["guess",["or","number",["null",.1]]],["?",["assert","$values.length == $dates.length","NUM"]]]),fe("ISPMT",(function(e,t,n,r){return-r*e*(1-t/n)})).args([["rate","number"],["per","number++"],["nper","number++"],["pv","number"],["?",["assert","$per >= 1 && $per <= $nper"]]]),fe("DB",(function(e,t,n,r,o){var i=1-Math.pow(t/e,1/n),a=e*(i=Math.floor(1e3*i+.5)/1e3)*o/12;if(1==r)return a;for(var s=1;s<n;s++){if(s==r-1)return(e-a)*i;a+=(e-a)*i}return(e-a)*i*(12-o)/12})).args([["cost","number"],["salvage","number"],["life","number++"],["period","number++"],["month",["or","number",["null",12]]]]),fe("DDB",(function(e,t,n,r,o){var i=o/n,a=-e*(Math.pow(1-i,r-1)-1),s=(e-a)*i;return Math.min(s,Math.max(0,e-a-t))})).args([["cost","number"],["salvage","number"],["life","number++"],["period","number++"],["factor",["or","number",["null",2]]]]),fe("SLN",(function(e,t,n){return(e-t)/n})).args([["cost","number"],["salvage","number"],["life","number++"]]),fe("SYD",(function(e,t,n,r){return(e-t)*(n-r+1)*2/(n*(n+1))})).args([["cost","number"],["salvage","number"],["life","number++"],["per","number++"]]),fe("VDB",(function(e,t,n,r,o,i,a){var s=i>=n?1:i/n;function l(e,n){var r,o,i;return o=1==s?1==n?e:0:e*Math.pow(1-s,n-1),(r=(i=e*Math.pow(1-s,n))<t?o-t:o-i)<0?0:r}function c(e,n,r){for(var o,i=e-t,a=Math.ceil(r),s=0,c=0,u=!1,h=1;h<=a;h++){if(u)o=s;else{var d=l(e,h);(s=i/(n-h+1))>d?(o=s,u=!0):(o=d,i-=d)}h==a&&(o*=r+1-a),c+=o}return c}var u=Math.floor(r),h=Math.ceil(o),d=0;if(a)for(var p=u+1;p<=h;p++){var f=l(e,p);p==u+1?f*=Math.min(o,u+1)-r:p==h&&(f*=o+1-h),d+=f}else{var m=n;if(r!=Math.floor(r)&&i>1&&r>=n/2){var v=r-n/2;r=n/2,o-=v,m+=1}e-=c(e,m,r),d=c(e,n-r,o-r)}return d})).args([["cost","number+"],["salvage","number+"],["life","number++"],["start_period","number+"],["end_period","number+"],["factor",["or","number+",["null",2]]],["no_switch",["or","logical",["null",!1]]],["?",["assert","$end_period >= $start_period","NUM"]]]);var Tt=[["settlement","date"],["maturity","date"],["frequency",["and","integer",["values",1,2,4]]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]];fe("COUPDAYBS",(function(e,t,n,r){return Sn(Mn(e,t,n)[0],e,r)})).args(Tt),fe("COUPDAYS",(function(e,t,n,r){if(1==r){var o=Mn(e,t,n);return Sn(o[0],o[1],1)}return 3==r?365/n:360/n})).args(Tt),fe("COUPDAYSNC",(function(e,t,n,r){return Sn(e,Mn(e,t,n)[1],r)})).args(Tt),fe("COUPPCD",(function(e,t,n){return Mn(e,t,n)[0]})).args(Tt),fe("COUPNCD",(function(e,t,n){return Mn(e,t,n)[1]})).args(Tt),fe("COUPNUM",(function(e,t,n){var r=ke(e),o=ke(t);return 1+((12*(o.year-r.year)+o.month-r.month)*n/12|0)})).args(Tt),fe("ACCRINTM",(function(e,t,n,r,o){var i=On(ke(t).year,o);return n*r*Sn(e,t,o)/i})).args([["issue","date"],["settlement","date"],["rate","number++"],["par",["or",["null",1e3],"number++"]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$issue < $settlement","NUM"]]]),fe("ACCRINT",(function(e,t,n,r,o,i,a,s){var l,c,u,h,d,p,f=0,m=o*r/i,v=a%2==0?360:365;function g(e,t){return(t-e)*i/v|0}return n<=t?(c=(l=Mn(n,t,i))[0],u=l[1],c<=e?m*Sn(e,n,a)/Sn(c,u,a):(h=(l=Mn(e,c,i))[0],m*((p=g(d=l[1],n))+Sn(e,d,a)/Sn(h,d,a)+(n<u?Sn(c,n,a)/Sn(c,u,a):0)))):(l=function(e,t,n){var r=ke(t),o=ke(e),i=r.year-o.year;i>0&&(i=(i-1)*n);for(var a,s=e,l=12/n;t>s;)a=s,s=En(e,++i*l);return[a,s]}(t,n,i),c=l[0],u=l[1],p=g(t,n),f=u==n?m*p:m*(p+Sn(c,n,a)/Sn(c,u,a)),s?(c=(l=Mn(e,t,i))[0],u=l[1],f+=m*((p=g(e,t))+Sn(e,u,a)/Sn(c,u,a))):f)})).args([["issue","date"],["first_interest","date"],["settlement","date"],["rate","number++"],["par",["or",["null",1e3],"number++"]],["frequency",["and","integer",["values",1,2,4]]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["calc_method",["or","logical",["null",!0]]],["?",["assert","$issue < $settlement","NUM"]]]),fe("DISC",(function(e,t,n,r,o){return(r-n)/r*(o%2==0?360:ye(ke(e).year)?366:365)/Sn(e,t,o)})).args([["settlement","date"],["maturity","date"],["pr","number++"],["redemption","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("INTRATE",(function(e,t,n,r,o){return(r-n)/n*(o%2==0?360:ye(ke(e).year)?366:365)/Sn(e,t,o)})).args([["settlement","date"],["maturity","date"],["investment","number++"],["redemption","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("RECEIVED",(function(e,t,n,r,o){var i=o%2==0?360:ye(ke(e).year)?366:365;return n/(1-r*Sn(e,t,o)/i)})).args([["settlement","date"],["maturity","date"],["investment","number++"],["discount","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("PRICE",(function(e,t,n,r,o,i,a){var s=1+((t-e)*i/(a%2==0?360:365)|0),l=Mn(e,t,i),c=l[0],u=l[1],h=Sn(c,e,a),d=Sn(e,u,a),p=Sn(c,u,a),f=100*n/i,m=r/i,v=d/p;return 1==s?(o+f)/(1+v*m)-h/p*f:o/Math.pow(1+m,s-1+v)+f*Math.pow(1+m,1-s-v)*(Math.pow(1+m,s)-1)/m-h/p*f})).args([["settlement","date"],["maturity","date"],["rate","number++"],["yld","number++"],["redemption","number++"],["frequency",["and","integer",["values",1,2,4]]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("PRICEDISC",(function(e,t,n,r,o){return r-n*r*Sn(e,t,o)/On(ke(t).year,o)})).args([["settlement","date"],["maturity","date"],["discount","number++"],["redemption","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]);var jt=300,Ut=22204e-20,Kt=1e-30,Wt=Math.abs;function qt(e){if(Wt(e)>=3.3)return 1-$t(e);var t=e>0?1:-1;-1==t&&(e=-e);for(var n=0,r=1,o=1;o<100;o++)n+=r,r*=2*e*e/(2*o+1);return 2*t/Math.sqrt(Math.PI)*e*Math.exp(-e*e)*n}function $t(e){if(Wt(e)<3.3)return 1-qt(e);var t=1;e<0&&(t=-1,e=-e);for(var n=e,r=8;r>=1;r-=.5)n=e+r/n;return n=1/(e+n),1==t?Math.exp(-e*e)/Math.sqrt(Math.PI)*n:2-Math.exp(-e*e)/Math.sqrt(Math.PI)*n}function Gt(e){var t=[1.000000000190015,76.18009172947146,-86.50532032941678,24.01409824083091,-1.231739572450155,.001208650973866179,-5395239384953e-18],n=e,r=e+5.5,o=t[0];r-=(e+.5)*Math.log(r);for(var i=1;i<=6;i++)o+=t[i]/(n+=1);return-r+Math.log(Math.sqrt(2*Math.PI)*o/e)}function Yt(e){if(e>0)return Math.exp(Gt(e));var t=Math.PI,n=-e;return-t/(n*Yt(n)*Math.sin(t*n))}function Xt(e,t){return Gt(e)+Gt(t)-Gt(e+t)}function Zt(e,t){return Math.exp(Xt(e,t))}function Jt(e,t,n,r){return r?function(e,t){return t<e+1?function(e,t){var n,r=1/e,o=r,i=e,a=Gt(e);for(n=1;n<=jt&&(r+=o*=t/++i,!(Wt(o)<Wt(r)*Ut));n++);return r*Math.exp(-t+e*Math.log(t)-a)}(e,t):1-function(e,t){for(var n=Kt,r=n,o=0,i=1,a=t+1-e,s=Gt(e),l=1;l<=jt;l++){Wt(o=a+i*o)<Kt&&(o=Kt),Wt(r=a+i/r)<Kt&&(r=Kt);var c=r*(o=1/o);if(n*=c,Wt(c-1)<Ut)break;a+=2,i=-l*(l-e)}return n*Math.exp(-t-s+e*Math.log(t))}(e,t)}(t,e/n):Math.pow(e/n,t-1)*Math.exp(-e/n)/(n*Yt(t))}function Qt(e,t,n){if(0===e)return 0;if(1==e)return 1/0;var r=0,o=10,i=0,a=t*n;a>1&&(o*=a);for(var s=0;s<jt;s++){var l=Jt(i=.5*(r+o),t,n,!0);if(Wt(e-l)<1e-16)break;l>e?o=i:r=i}return i}function en(e,t){return t?.5+.5*qt(e/Math.sqrt(2)):Math.exp(-e*e/2)/Math.sqrt(2*Math.PI)}function tn(e){var t,n,r=[-39.69683028665376,220.9460984245205,-275.9285104469687,138.357751867269,-30.66479806614716,2.506628277459239],o=[-54.47609879822406,161.5858368580409,-155.6989798598866,66.80131188771972,-13.28068155288572],i=[-.007784894002430293,-.3223964580411365,-2.400758277161838,-2.549732539343734,4.374664141464968,2.938163982698783],a=[.007784695709041462,.3224671290700398,2.445134137142996,3.754408661907416];return e<.02425?(t=Math.sqrt(-2*Math.log(e)),(((((i[0]*t+i[1])*t+i[2])*t+i[3])*t+i[4])*t+i[5])/((((a[0]*t+a[1])*t+a[2])*t+a[3])*t+1)):.97575<e?(t=Math.sqrt(-2*Math.log(1-e)),-(((((i[0]*t+i[1])*t+i[2])*t+i[3])*t+i[4])*t+i[5])/((((a[0]*t+a[1])*t+a[2])*t+a[3])*t+1)):(((((r[0]*(n=(t=e-.5)*t)+r[1])*n+r[2])*n+r[3])*n+r[4])*n+r[5])*t/(((((o[0]*n+o[1])*n+o[2])*n+o[3])*n+o[4])*n+1)}function nn(e,t,n){return t+n*tn(e)}function rn(e,t,n){var r=Math.exp(t*Math.log(e)+n*Math.log(1-e)-Xt(t,n));return e<(t+1)/(t+n+2)?r*on(t,n,e)/t:1-r*on(n,t,1-e)/n}function on(e,t,n){var r,o,i,a,s,l,c,u,h,d;for(h=e-1,a=1,Wt(s=1-(u=e+t)*n/(d=e+1))<Kt&&(s=Kt),c=s=1/s,r=1;r<=jt&&(Wt(s=1+(i=r*(t-r)*n/((h+(o=2*r))*(e+o)))*s)<Kt&&(s=Kt),Wt(a=1+i/a)<Kt&&(a=Kt),c*=(s=1/s)*a,Wt(s=1+(i=-(e+r)*(u+r)*n/((e+o)*(d+o)))*s)<Kt&&(s=Kt),Wt(a=1+i/a)<Kt&&(a=Kt),c*=l=(s=1/s)*a,!(Wt(l-1)<Ut));r++);return c}function an(e,t,n){for(var r=0,o=1,i=0,a=0;a<jt;a++){var s=rn(i=.5*(r+o),t,n);if(Wt(e-s)<Ut)break;s>e?o=i:r=i}return i}function sn(e,t,n,r,o){return r+(o-r)*an(e,t,n)}function ln(e,t,n){return Jt(e,t/2,2,n)}function cn(e,t){return 1-ln(e,t,!0)}function un(e,t){return Qt(e,t/2,2)}function hn(e,t,n,r){if(r)return rn(t*e/(n+t*e),t/2,n/2);var o=t/n;return o/Zt(t/=2,n/=2)*Math.pow(o*e,t-1)/Math.pow(1+o*e,t+n)}function dn(e){for(var t=0,n=e.length,r=0;r<n;r++)t+=e[r];return t/n}function pn(e,t){for(var n=0,r=e.length,o=0;o<r;o++){var i=e[o]-t;n+=i*i}return n/(r-1)}function fn(e,t,n){return n?1-.5*rn(t/(e*e+t),t/2,.5):1/(Math.sqrt(t)*Zt(.5,t/2))*Math.pow(1+e*e/t,-(t+1)/2)}function mn(e,t){return 1-fn(e,t,!0)}function vn(e,t){return e<0&&(e=-e),2*mn(e,t)}function gn(e,t){var n=an(2*Math.min(e,1-e),t/2,.5);return n=Math.sqrt(t*(1-n)/n),e>.5?n:-n}function bn(e,t){!function(e,t){for(var n=e.length;--n>=0;)"number"==typeof e[n]&&"number"==typeof t[n]||(e.splice(n,1),t.splice(n,1))}(e,t);for(var n=dn(e),r=dn(t),o=0,i=0,a=0,s=0,l=e.length;s<l;s++){var c=e[s]-n,u=t[s]-r;o+=c*u,i+=c*c,a+=u*u}return o/Math.sqrt(i*a)}function yn(e){for(var t=e.height,n=0,r=0;r<t;r++)n+=e.data[r][0];return n/t}function wn(e,t){for(var n=e.height,r=0,o=0;o<n;o++){var i=e.data[o][0]-t;r+=i*i}return r}function xn(e,t,n,r){var o=0;t||(t=e.map((function(){return++o}))),n&&((t=t.clone()).eachRow((function(e){t.data[e].unshift(1)})),++t.width);var i=t.transpose(),a=i.multiply(t).inverse().multiply(i).multiply(e),s=[];for(o=a.height-1;o>=0;o--)s.push(a.data[o][0]);if(n||s.push(0),!r)return this.asMatrix([s]);var l=t.multiply(a),c=e.adds(l,!0),u=wn(l,n?yn(l):0),h=wn(c,n?yn(c):0),d=[];d.push(u,h);var p=u/(u+h),f=e.height-t.width,m=Math.sqrt(h/f),v=[];v.push(p,m);var g=n?u/(t.width-1)/(h/f):p/t.width/((1-p)/f),b=[];b.push(g,f);var y=i.multiply(t).inverse(),w=[];for(o=y.height-1;o>=0;o--)w.push(Math.sqrt(y.data[o][o]*h/f));return this.asMatrix([s,w,v,b,d])}function kn(e,t,n,r){var o=0;t||(t=e.map((function(){return++o}))),r&&((t=t.clone()).eachRow((function(e){t.data[e].unshift(1)})),++t.width);var i=t.transpose(),a=i.multiply(t).inverse().multiply(i).multiply(e);return n?r&&((n=n.clone()).eachRow((function(e){n.data[e].unshift(1)})),++n.width):n=t,n.multiply(a)}function zn(e,t,n,r){for(var o=n||20,i=r||1e-7,a=t,s=1;s<=o;s++){var l=e(a),c=l[0]/l[1];if(a-=c,Math.abs(c)<i)return a}return new T("NUM")}function Cn(e,t,n,r,o){var i=Math.pow(1+e,t);return-(r*i+n*(e?(i-1)/e:t)*(1+e*o))}function _n(e,t,n,r,o){if(!e)return-(r+n)/t;var i=Math.pow(1+e,t);return-e*(r+n*i)/((1+e*o)*(i-1))}function In(e,t,n,r,o,i){if(1==i&&1==t)return 0;var a=Cn(e,t-1,_n(e,n,r,o,i),r,i)*e;return i?a/(1+e):a}function En(e,t){var n=ke(e),r=n.month+t,o=n.year+Math.floor(r/12);return(r%=12)<0&&(r+=12),ze(o,r,n=Math.min(n.date,xe(o,r)))}function Sn(e,t,n){return 1==n||2==n||3==n?t-e:Vt(e,t,n)}function Mn(e,t,n){var r=ke(e),o=ke(t).year-r.year;o>0&&(o=(o-1)*n);var i,a=12/n;do{i=En(t,-++o*a)}while(e<i);return[i,En(t,- --o*a)]}function On(e,t){return 3==t?365:1==t?ye(e)?366:365:360}class Rn{constructor(e){this.workbook=e}getRefCells(e,t,n,r,o,i){let a,s,l,c;if(e instanceof w)return a=this.workbook.sheetByName(e.sheet),a&&e.valid()?(s=a.formula(e),l=a.range(e.row,e.col).value(),i||null!=s||null!=l?[{formula:s,value:l,row:e.row,col:e.col,sheet:e.sheet,hidden:!!t&&(0===a.columnWidth(e.col)||0===a.rowHeight(e.row))}]:[]):[{value:new T("REF")}];if(e instanceof x){c=this.workbook.sheetIndex(e.sheet);let n=[],r=c;if(e.endSheet&&(r=this.workbook.sheetIndex(e.endSheet),c>r)){let e=c;c=r,r=e}if(c<0||r<0||!e.valid())return[{value:new T("REF")}];for(;c<=r;){a=this.workbook.sheetByIndex(c++);let r=a._grid.normalize(e.topLeft),o=a._grid.normalize(e.bottomRight),u=a._grid.cellRefIndex(r),h=a._grid.cellRefIndex(o),d=a._properties.iterator("value",u,h);for(let e=r.col;e<=o.col;++e)for(let c=r.row;c<=o.row;++c){let r=a._grid.index(c,e);s=a._properties.get("formula",r),l=d.at(r),(i||null!=s||null!=l)&&n.push({formula:s,value:l,row:c,col:e,sheet:a.name(),hidden:!!t&&(0===a.columnWidth(e)||0===a.rowHeight(c))})}}return n}if(e instanceof k){let i=[];for(c=0;c<e.refs.length;++c)i=i.concat(this.getRefCells(e.refs[c],t,n,r,o));return i}if(e instanceof y){let i=this.nameValue(e,n,r,o);return i instanceof g?this.getRefCells(i,t,n,r,o):[{value:null==i?new T("NAME"):i}]}return[]}isMerged(e){return this.workbook.sheetByName(e.sheet).isMerged(e)}nameValue(e,t,n,r){let o;return e.hasSheet()?o=this.workbook.nameValue(this._displayString(e.print())):(e=e.clone().setSheet(t,!0),o=this.workbook.nameValue(this._displayString(e.print())),null==o&&(o=this.workbook.nameValue(this._displayString(e.name)))),o instanceof g&&(o=o.absolute(n,r)),o}getData(e,t,n,r,o){let i=e instanceof w;e instanceof y&&(i=this.workbook.nameValue(e.name)instanceof w);let a=this.getRefCells(e,!1,t,n,r,o).map((function(e){let t=e.value;return t instanceof re.runtime.Formula&&(t=t.value),t}));return i?a[0]:a}onFormula(e){let t=this.workbook.sheetByName(e.sheet),n=e.row,r=e.col,o=e.value;if(t.formula({row:n,col:r})!==e)return!1;let i=e.arrayFormulaRange;if(i){let e,n,r=o.width,a=o.height;t.forEach(i,(function(i,s){void 0===e&&(e=i,n=s);let l,c=i-e,u=s-n;l=c<a&&u<r?o.get(c,u):new T("N/A"),t._value(i,s,l)}))}else o instanceof g&&(o=this.getData(o,e.sheet,n,r),Array.isArray(o)&&(o=o[0]),void 0===o&&(o=null)),o instanceof re.runtime.Matrix&&(o=o.get(0,0)),t._value(n,r,o);return clearTimeout(t._formulaContextRefresh),t._formulaContextRefresh=setTimeout((function(){t.batch((function(){}),{layout:!0})}),50),!0}_displayString(e){return/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}}class Hn extends Rn{onFormula(){return!0}}let Fn=/^\[(black|green|white|blue|magenta|yellow|cyan|red)\]/i,Vn=/^\[(<=|>=|<>|<|>|=)(-?[0-9.]+)\]/;function Dn(e){e=re.InputStream(e);let t,n=[],r=!1;for(;!e.eof();){let e=l();n.push(e),e.cond&&(r=!0)}return r||(1===n.length?n[0].cond="num":2===n.length?(n[0].cond={op:">=",value:0},n[1].cond={op:"<",value:0}):n.length>=3&&(n[0].cond={op:">",value:0},n[1].cond={op:"<",value:0},n[2].cond={op:"=",value:0},n.length>3&&(n[3].cond="text",n=n.slice(0,4)))),n;function o(){let t=e.skip(Fn);if(t)return t[1].toLowerCase()}function i(){let t,n=[],r=null;for(;!e.eof()&&(t=s());)"date"===t.type?r&&/^(el)?time$/.test(r.type)&&"h"===r.part&&"m"===t.part&&t.format<3&&(t.type="time"):/^(el)?time$/.test(t.type)&&"s"===t.part&&r&&"date"===r.type&&"m"===r.part&&r.format<3&&(r.type="time"),/^(?:str|space|fill)$/.test(t.type)||(r=t),n.push(t);return n}function a(t){if("date"!==t.type||"m"===t.part&&t.format<3){let n=e.skip(/^\.(0+)/);n&&(t.fraction=n[1].length,"date"===t.type&&(t.type="time"))}return t}function s(){let n,r;if(r=e.skip(/^([#0?]+)(?:,([#0?]+))+/))return{type:"digit",sep:!0,format:r[1]+r[2],decimal:t};if(r=e.skip(/^[#0?]+/))return{type:"digit",sep:!1,format:r[0],decimal:t};if(r=e.skip(/^(e)([+-])/i))return{type:"exp",ch:r[1],sign:r[2]};if(r=e.skip(/^(d{1,4}|m{1,5}|yyyy|yy|y)/i))return r=r[1].toLowerCase(),a({type:"date",part:r.charAt(0),format:r.length});if(r=e.skip(/^(hh?|ss?)/i))return r=r[1].toLowerCase(),a({type:"time",part:r.charAt(0),format:r.length});if(r=e.skip(/^\[(hh?|mm?|ss?)\]/i))return r=r[1].toLowerCase(),a({type:"eltime",part:r.charAt(0),format:r.length});if(r=e.skip(/^(a[.]?m[.]?\/p[.]?m[.]?|a\/p)/i))return r=r[1].split("/"),{type:"ampm",am:r[0],pm:r[1]};switch(n=e.next()){case";":return null;case"\\":return{type:"str",value:e.next()};case'"':return{type:"str",value:e.readEscaped(n)};case"@":return{type:"text"};case"_":return{type:"space",value:e.next()};case"*":return{type:"fill",value:e.next()};case".":return e.lookingAt(/^\s*[#0?]/)?(t=!0,{type:"dec"}):{type:"str",value:"."};case"%":return{type:"percent"};case",":return{type:"comma"}}return{type:"str",value:n}}function l(){t=!1;let n=o(),r=function(){let t=e.skip(Vn);if(t){let e=parseFloat(t[2]);if(!isNaN(e))return{op:t[1],value:e,custom:!0}}}();return!n&&r&&(n=o()),{color:n,cond:r,body:i()}}}function Bn(e){let t=function(e){let t=0;return{next:function(){return e[t++]},eof:function(){return t>=e.length},ahead:function(n,r){if(t+n<=e.length){let o=r.apply(null,e.slice(t,t+n));return o&&(t+=n),o}},restart:function(){t=0}}}(e.body),n=!1,r=!1,o=!1,i=0,a=/[\$\xA2-\xA5\u058F\u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20BD\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6]/,s=0,l="let intPart, decPart, isNegative, date, time; ",c=!1,u=0,h=[],d=[],p=e.cond,f="";function m(e,t){("digit"===e.type&&"comma"===t.type||"comma"===e.type&&e.hidden&&"comma"===t.type)&&(t.hidden=!0,s++)}for("text"===p?f="if (typeof value == 'string' || value instanceof kendo.spreadsheet.CalcError) { ":"num"===p?f="if (typeof value == 'number') { ":p&&(f="if (typeof value == 'number' && value "+("="===p.op?"==":p.op)+" "+p.value+") { ",p.custom||(l+="value = Math.abs(value); ")),e.color&&(l+="result.color = "+JSON.stringify(e.color)+"; ");!t.eof();){t.ahead(2,m);let e=t.next();"percent"===e.type?i++:"digit"===e.type?e.decimal?(u+=e.format.length,d.push(e.format)):(h.push(e.format),e.sep&&(c=!0)):"time"===e.type?r=!0:"date"===e.type?n=!0:"ampm"===e.type&&(o=r=!0)}for(i>0&&(l+="value *= "+Math.pow(100,i)+"; "),s>0&&(l+="value /= "+Math.pow(1e3,s)+"; "),h.length&&(l+="intPart = runtime.formatInt(culture, value, "+JSON.stringify(h)+", "+u+", "+c+"); ",l+="isNegative = parseInt(intPart[0]) < 0;"),d.length&&(l+="decPart = runtime.formatDec(value, "+JSON.stringify(d)+", "+u+"); "),(h.length||d.length)&&(l+="type = 'number'; "),n&&(l+="date = runtime.unpackDate(value); "),r&&(l+="time = runtime.unpackTime(value); "),(n||r)&&(l+="type = 'date'; "),(i>0||s>0||h.length||d.length||n||r)&&(f||(f="if (typeof value == 'number') { ")),t.restart(),l+="let matchedCurrency = false;";!t.eof();){let e=t.next();"dec"===e.type?l+="output += culture.numbers.symbols.decimal; ":"comma"!==e.type||e.hidden?"percent"===e.type?(l+="type = 'percent'; ",l+="output += culture.numbers.symbols.percentSign; "):"str"===e.type?(a.test(e.value)&&(l+="type = 'currency'; ",l+="if (isNegative) { output += '-'; matchedCurrency = true; }"),l+="output += "+JSON.stringify(e.value)+"; "):"text"===e.type?(l+="type = 'text'; ",l+="output += value; "):"space"===e.type?(l+="if (output) result.body.push(output); ",l+="output = ''; ",l+="result.body.push({ type: 'space', value: "+JSON.stringify(e.value)+" }); "):"fill"===e.type?l+="output += runtime.fill("+JSON.stringify(e.value)+"); ":"digit"===e.type?(l+="if (isNegative && intPart[0] && matchedCurrency) {intPart[0] = intPart[0].replace('-', '');}",l+="output += "+(e.decimal?"decPart":"intPart")+".shift(); "):"date"===e.type?l+="output += runtime.date(culture, date, "+JSON.stringify(e.part)+", "+e.format+"); ":"time"===e.type?l+="output += runtime.time(time, "+JSON.stringify(e.part)+", "+e.format+", "+o+", "+e.fraction+"); ":"eltime"===e.type?l+="output += runtime.eltime(value, "+JSON.stringify(e.part)+", "+e.format+", "+e.fraction+"); ":"ampm"===e.type&&(l+="output += time.hours < 12 ? "+JSON.stringify(e.am)+" : "+JSON.stringify(e.pm)+"; "):l+="output += ','; "}return l+="if (output) result.body.push(output); ",l+="result.type = type; ",l+="return result; ",f&&(l=f+l+"}"),l}let An=Bn({cond:"text",body:[{type:"text"}]}),Nn=O((function(e){let t=Dn(e).map(Bn);return t.push(An),t=t.join("\n"),t="'use strict'; return function(value, culture){ if (!culture) culture = kendo.culture();let output = '', type = null, result = { body: [] }; "+t+"; return result; };",new Function("kendo","runtime",t)(ie,Pn)})),Ln=O((function(e){let t,n=Dn(e),r=!1,o=!1;for(let e=0;e<n.length;++e){t=n[e];for(let e=0;e<t.body.length;++e)/^(?:date|time|ampm)$/.test(t.body[e].type)&&(r=!0,"ampm"===t.body[e].type&&(o=!0));if(r)break}return r?t.body.map((function(e){if("digit"===e.type)return e.sep?e.format.charAt(0)+","+e.format.substr(1):e.format;if("exp"===e.type)return e.ch+e.sign;if("date"===e.type||"time"===e.type){let t=e.part;return"date"===e.type&&/^m/.test(t)?t="M":"time"===e.type&&/^h/.test(t)&&(o||(t=t.toUpperCase())),function(e,t){return t.fraction&&(e+=Tn("",Math.max(t.fraction,3),"f")),e}(Tn("",e.format,t),e)}return"ampm"===e.type?"tt":"str"===e.type?e.value:"space"===e.type?" ":"dec"===e.type?".":"percent"===e.type?"%":"comma"===e.type?",":""})).join(""):null})),Pn={unpackDate:ke,unpackTime:Ee,date:function(e,t,n,r){switch(n){case"d":switch(r){case 1:return t.date;case 2:return Tn(t.date,2,"0");case 3:return e.calendar.days.format.abbreviated[t.day];case 4:return e.calendar.days.format.wide[t.day]}break;case"m":switch(r){case 1:return t.month+1;case 2:return Tn(t.month+1,2,"0");case 3:return e.calendar.months.format.abbreviated[t.month];case 4:return e.calendar.months.format.wide[t.month];case 5:return e.calendar.months.format.narrow[t.month]}break;case"y":switch(r){case 1:case 4:return t.year;case 2:return t.year%100}}return"##"},time:function(e,t,n,r,o){let i,a;switch(t){case"h":i=Tn(r?e.hours%12||12:e.hours,n,"0"),o&&(a=(e.minutes+(e.seconds+e.milliseconds/1e3)/60)/60);break;case"m":i=Tn(e.minutes,n,"0"),o&&(a=(e.seconds+e.milliseconds/1e3)/60);break;case"s":i=Tn(e.seconds,n,"0"),o&&(a=e.milliseconds/1e3)}return a&&(i+=Pn.toFixed(a,o).replace(/^0+/,"")),i},eltime:function(e,t,n,r){let o,i;switch(t){case"h":o=24*e;break;case"m":o=24*e*60;break;case"s":o=24*e*60*60}return r&&(i=o-(0|o)),o=Tn(0|o,n,"0"),i&&(o+=Pn.toFixed(i,r).replace(/^0+/,"")),o},fill:function(e){return e},formatInt:function(e,t,n,r,o){t=Pn.toFixed(t,r).replace(/\..*$/,"");let i=n[n.length-1];r>0&&"0"!=i[n.length-1]&&("0"===t?t="":"-0"===t&&(t="-"));let a,s=!1,l=t.length-1,c=[],u=0;function h(t,n){o&&u&&u%3==0&&/^[0-9]$/.test(t)&&(a=e.numbers.symbols.group+a),n&&"-"===t&&(s=!0,t="0"),a=t+a,u++}for(let e=n.length;--e>=0;){let r=n[e];a="";for(let e=r.length;--e>=0;){let n=r.charAt(e);l<0?"0"==n?h("0"):"?"==n&&h(" "):("0"==t&&"?"==n?h(" "):"0"==n?h(t.charAt(l),!0):h(t.charAt(l)),l--)}if(0===e)for(;l>=0;)h(t.charAt(l--));c.unshift(a)}return s&&(c[0]="-"+c[0]),c},formatDec:function(e,t,n){let r=(e=Pn.toFixed(e,n)).indexOf(".");e=r>=0?e.substr(r+1).replace(/0+$/,""):"";let o=0,i=[];for(let n=0;n<t.length;++n){let r=t[n],a="";for(let t=0;t<r.length;++t){let n=r.charAt(t);o<e.length?a+=e.charAt(o++):"0"==n?a+="0":"?"==n&&(a+=" ")}i.push(a)}return i},toFixed:function(e,t){return function e(n,r){if(!isFinite(n))return"#NUM!";if(n<0)return"-"+e(-n);if(0===t)return String(Math.round(n));if(n===Math.round(n)&&!/e/i.test(String(n)))return n.toFixed(t);let o=function(e){let t,n,r,o=String(e).toLowerCase(),i=o.indexOf(".");if(i<0?(i=o.indexOf("e"),i<0?(t=o,n=""):(t=o.substr(0,i),n=o.substr(i))):(t=o.substr(0,i),n=o.substr(i+1)),r=/(\d*)e([-+]?\d+)/.exec(n)){let e=parseInt(r[2],10);e>=0?(n=function(e,t,n){for(e+="";e.length<t;)e+="0";return e}(r[1],e),t+=n.substr(0,e),n=n.substr(e)):(t=Tn(t,-e,"0"),n=t.substr(e)+r[1],t=t.substr(0,t.length+e))}return{intpart:t||"0",decpart:n}}(n),i=o.intpart,a=o.decpart;if(a.length<=t){for(;a.length<t;)a+="0";return i+"."+a}if(r)return i+"."+a.substr(0,t);let s=Math.pow(10,t);return e(Math.round(n*s)/s,!0)}(Number(e.toFixed(14)))}};function Tn(e,t,n){for(e+="";e.length<t;)e=n+e;return e}function jn(e){let t=e.body,n="";for(let e=0;e<t.length;++e){let r=t[e];"string"==typeof r?n+=r:"space"===r.type&&(n+=" ")}return n}const Un={compile:Nn,parse:Dn,format:function(e,t,n){let r=Nn(t)(e,n),o=ne.element("span");o.__dataType=r.type;let i=r.body;r.color&&(o.attr.style={color:r.color});for(let e=0;e<i.length;++e){let t=i[e];"string"==typeof t?o.children.push(ne.text(t)):"space"===t.type&&o.children.push(ne.element("span",{style:{visibility:"hidden"}},[ne.text(t.value)]))}return o},text:function(e,t,n){return jn(Nn(t)(e,n))},textAndColor:function(e,t,n){let r=Nn(t)(e,n);return{text:jn(r),color:r.color,type:r.type}},type:function(e,t){return Nn(t)(e).type},adjustDecimals:function(e,t){let n=Dn(e);var r;return r=t,n.forEach((function(e){let t=r;if("text"===e.cond)return;let n=e.body,o=!1,i=n.length;for(;0!==t&&--i>=0;){let e=n[i];if("digit"===e.type){if(e.decimal){if(o=!0,t>0)e.format+=Tn("",t,"0");else if(t<0){let n=e.format.length;e.format=e.format.substr(0,n+t),t+=n-e.format.length}if(0===e.format.length)for(n.splice(i,1);--i>=0;){if(e=n[i],"digit"===e.type&&e.decimal){++i;break}if("dec"===e.type){n.splice(i,1);break}}}if(t>0)break}}!o&&t>0&&n.splice(i+1,0,{type:"dec"},{type:"digit",sep:!1,decimal:!0,format:Tn("",t,"0")})})),function(e){return e.map((function(e){let t="";return e.color&&(t+="["+e.color+"]"),e.cond&&"text"!==e.cond&&"num"!==e.cond&&(t+="["+e.cond.op+e.cond.value+"]"),t+=e.body.map(n).join(""),t})).join(";");function t(e,t){return t.fraction&&(e+="."+Tn("",t.fraction,"0")),e}function n(e){return"digit"===e.type?e.sep?e.format.charAt(0)+","+e.format.substr(1):e.format:"exp"===e.type?e.ch+e.sign:"date"===e.type||"time"===e.type?t(Tn("",e.format,e.part),e):"eltime"===e.type?t("["+Tn("",e.format,e.part)+"]",e):"ampm"===e.type?e.am+"/"+e.pm:"str"===e.type?JSON.stringify(e.value):"text"===e.type?"@":"space"===e.type?"_"+e.value:"fill"===e.type?"*"+e.value:"dec"===e.type?".":"percent"===e.type?"%":"comma"===e.type?",":void 0}}(n)},makeDateFormat:Ln};let Kn={8:"backspace",9:"tab",13:"enter",27:"esc",37:"left",38:"up",39:"right",40:"down",35:"end",36:"home",32:"spacebar",33:"pageup",34:"pagedown",46:"delete",113:":edit"},Wn=navigator.platform.toUpperCase().indexOf("MAC")>=0;class qn{constructor(e,t,n){if(this._handlers={},this.target=e,this._observer=t||window,this.keyDownProxy=this.keyDown.bind(this),this.mouseProxy=this.mouse.bind(this),this.touchProxy=this.touch.bind(this),this.threshold=5,this._pressLocation=null,this._attachEvent(e,"keydown",this.keyDownProxy),this._attachEvent(e,"contextmenu mousedown cut copy paste scroll wheel click dblclick focus",this.mouseProxy),this._attachEvent(e,"touchmove touchend",this.touchProxy),this._attachEvent(document.documentElement,"mousemove mouseup",this.mouseProxy),this._attachEvent(document.documentElement,"touchmove touchend",this.touchProxy),n)for(let e in n)this.on(e,n[e])}_attachEvent(e,t,n){t.split(" ").forEach((t=>{e.addEventListener(t,n)}))}_removeEvent(e,t,n){t.split(" ").forEach((t=>{e.removeEventListener(t,n)}))}keyDown(e){(!e.altKey||"n"!==e.key&&"h"!==e.key&&"a"!==e.key)&&this.handleEvent(e,function(e){let t=e.keyCode,n=Kn[t];return!n&&function(e){return e>47&&e<58||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223||229===e}(t)&&(n=":alphanum"),!n&&e.key&&1===e.key.length&&(n=":alphanum"),n}(e))}touch(e){this.handleEvent(e,e.type)}mouse(e){let t;e.which?t=3===e.which:e.button&&(t=2===e.button);let n=e.type;if("mousedown"===n&&(t?n="rightmousedown":this._pressLocation={x:e.pageX,y:e.pageY}),"mouseup"===n&&(t||(this._pressLocation=null)),"mousemove"===n&&this._pressLocation){let t=this._pressLocation.x-e.pageX,r=this._pressLocation.y-e.pageY;Math.sqrt(t*t+r*r)>this.threshold&&(n="mousedrag")}this.handleEvent(e,n)}handleEvent(e,t){let n="";e.mod=Wn?e.metaKey:e.ctrlKey&&!e.altKey,e.altKey&&(n+="alt+"),e.shiftKey&&(n+="shift+"),e.ctrlKey&&(n+="ctrl+"),n+=t;let r=this._handlers["*+"+t];r&&r.call(this._observer,e,n);let o=this._handlers[n];o&&o.call(this._observer,e,n)}on(e,t){let n=this._handlers;"string"==typeof t&&(t=this._observer[t]),"string"==typeof e&&(e=e.split(",")),e.forEach((function(e){n[e]=t}))}destroy(){this._removeEvent(this.target,"keydown",this.keyDownProxy),this._removeEvent(this.target,"contextmenu mousedown cut copy paste scroll wheel click dblclick focus",this.mouseProxy),this._removeEvent(this.target,"touchmove touchend",this.touchProxy),this._removeEvent(document.documentElement,"mousemove mouseup",this.mouseProxy),this._removeEvent(document.documentElement,"touchmove touchend",this.touchProxy)}}let $n=/:alphanum$/,Gn={up:"up",down:"down",left:"left",right:"right",home:"first-col",end:"last-col","ctrl+left":"word-left","ctrl+right":"word-right","ctrl+up":"word-up","ctrl+down":"word-down","ctrl+home":"first","ctrl+end":"last",pageup:"prev-page",pagedown:"next-page"},Yn={tab:"next","shift+tab":"previous",enter:"lower","shift+enter":"upper",delete:"clearContents",backspace:"clearContents","shift+:alphanum":"edit","alt+:alphanum":"edit",":alphanum":"edit","ctrl+:alphanum":"ctrl","alt+ctrl+:alphanum":"edit",":edit":"edit"},Xn={wheel:"onWheel","*+mousedown":"onMouseDown",contextmenu:"onContextMenu","*+mousedrag":"onMouseDrag","*+mouseup":"onMouseUp","*+dblclick":"onDblClick",mousemove:"onMouseMove"},Zn={pageup:"onPageUp",pagedown:"onPageDown",mouseup:"onMouseUp","*+cut":"onCut","*+paste":"onPaste","*+copy":"onCopy"},Jn={esc:"onEditorEsc",enter:"onEditorBlur","alt+enter":"insertNewline","shift+enter":"onEditorBlur",tab:"onEditorBlur","shift+tab":"onEditorBlur","shift+ctrl+enter":"onEditorArrayFormula"},Qn=Object.assign({focus:"onEditorBarFocus"},Jn),er=Object.assign({focus:"onEditorCellFocus"},Jn),tr={cell:"range",rowheader:"row",columnheader:"column",topcorner:"sheet",autofill:"autofill"},nr=[],rr=[],or=[];for(let e in Gn)nr.push(e),rr.push("shift+"+e);for(let e in Yn)or.push(e);Zn[nr]="onAction",Zn[rr]="onShiftAction",Zn[or]="onEntryAction",er[nr]="onEditorAction",er[rr]="onEditorShiftAction";class ir{constructor(e,t){this.view=e,this.workbook(t),this.container=e.container,this.clipboardElement=e.clipboard,this.scroller=e.scroller,this.tabstrip=e.tabstrip,this.sheetsbar=e.sheetsbar,e.nameEditor.bind("enter",this.onNameEditorEnter.bind(this)),e.nameEditor.bind("cancel",this.onNameEditorCancel.bind(this)),e.nameEditor.bind("select",this.onNameEditorSelect.bind(this)),e.nameEditor.bind("delete",this.onNameEditorDelete.bind(this)),this.editor=e.editor,this.editor.bind("change",this.onEditorChange.bind(this)),this.editor.bind("activate",this.onEditorActivate.bind(this)),this.editor.bind("deactivate",this.onEditorDeactivate.bind(this)),this.editor.bind("update",this.onEditorUpdate.bind(this)),e.scroller.addEventListener("scroll",this.onScroll.bind(this)),this.listener=new qn(this.container,this,Xn),e.scroller.addEventListener("mousedown",this.onMouseDown.bind(this)),this._enableEditorEvents(),this.sheetsbar&&(this.sheetsbar.bind("select",this.onSheetBarSelect.bind(this)),this.sheetsbar.bind("reorder",this.onSheetBarReorder.bind(this)),this.sheetsbar.bind("rename",this.onSheetBarRename.bind(this)),this.sheetsbar.bind("remove",this.onSheetBarRemove.bind(this)))}executeCommand(e){return this._execute(e)}_enableEditorEvents(e){void 0===e||e?(this.keyListener=new qn(this.clipboardElement,this,Zn),this.barKeyListener=new qn(this.editor.barElement(),this,Qn),this.inputKeyListener=new qn(this.editor.cellElement(),this,er)):(this.keyListener.destroy(),this.barKeyListener.destroy(),this.inputKeyListener.destroy())}_execute(e){let t=this._workbook.execute(e);return"EditCommand"!==e.command||t||this._workbook.trigger("change",{editorClose:!0}),t&&(this._preventNavigation=!0,"error"===t.reason?(this.editor.deactivate(!0),this.view.showError(t,function(){this.activateEditor(!1),this.editor.value(this._lastEditorValue),this.editor._value=this._workbook._inputForRef(this._workbook.activeSheet()._viewActiveCell()),this.editor.select()}.bind(this))):this.view.openDialog(t.reason)),t}_activeTooltip(){return this._workbook.activeSheet().activeCell().simplify().toString()}onContextMenuSelect(e){let t;switch(e.item.getAttribute("data-action")){case"cut":t={command:"ToolbarCutCommand",options:{workbook:this._workbook}};break;case"copy":t={command:"ToolbarCopyCommand",options:{workbook:this._workbook}};break;case"paste":t={command:"ToolbarPasteCommand",options:{workbook:this._workbook}};break;case"delete-drawing":t={command:"DeleteDrawingCommand",options:{drawing:this.navigator._sheet._activeDrawing}};break;case"bring-to-front":t={command:"BringToFrontCommand",options:{drawing:this.navigator._sheet._activeDrawing}};break;case"send-to-back":t={command:"SendToBackCommand",options:{drawing:this.navigator._sheet._activeDrawing}};break;case"unmerge":t={command:"MergeCellCommand",options:{value:"unmerge"}};break;case"merge":this.view.openDialog("merge");break;case"hide-row":t={command:"HideLineCommand",options:{axis:"row"}};break;case"hide-column":t={command:"HideLineCommand",options:{axis:"column"}};break;case"unhide-row":t={command:"UnHideLineCommand",options:{axis:"row"}};break;case"unhide-column":t={command:"UnHideLineCommand",options:{axis:"column"}};break;case"delete-row":t={command:"DeleteRowCommand"};break;case"delete-column":t={command:"DeleteColumnCommand"}}t&&this._execute(t)}onSheetBarRemove(e){let t=this._workbook.sheetByName(e.name);t&&this._workbook.removeSheet(t)}destroy(){this.listener.destroy(),this._enableEditorEvents(!1),this.keyListener.destroy(),this.inputKeyListener.destroy()}onSheetBarSelect(e){let t,n=this._workbook;if(e.isAddButton){if(this._workbook.trigger("insertSheet"))return;t=n.insertSheet()}else t=n.sheetByName(e.name);if(n.activeSheet().name()!==t.name()){if(this._workbook.trigger("selectSheet",{sheet:t}))return;this.editor.canInsertRef(!1)||this.editor.deactivate(),n.activeSheet(t)}}onSheetBarReorder(e){let t=this._workbook,n=t.sheetByIndex(e.oldIndex),r=t.activeSheet(),o=r.name();if(t.moveSheetToIndex(n,e.newIndex),o!==n.name()){if(t.trigger("selectSheet",{sheet:n}))return void t.activeSheet(r);this.editor.canInsertRef(!1)||this.editor.deactivate(),t.activeSheet(n)}}onSheetBarRename(e){let t=this._workbook.sheetByIndex(e.sheetIndex);this._workbook.sheetByName(e.name)?this.view.showError({reason:"error",type:"duplicateSheetName"}):(this._workbook.renameSheet(t,e.name),this.clipboardElement.focus())}sheet(e){this.navigator=e.navigator(),this.axisManager=e.axisManager()}workbook(e){this._workbook=e,this.clipboard=e.clipboard(),e.bind("commandRequest",this.onCommandRequest.bind(this))}refresh(){let e=this.editor,t=this._workbook.activeSheet();this._viewPortHeight=this.view.scroller.clientHeight,this.navigator.height(this._viewPortHeight),e.isActive()||this.isEditorDisabled||(e.enable(!1!==t.selection().enable()),this.resetEditorValue());let n=t.selection()._ref.simplify(),r=this._workbook.nameForRef(n,t.name());this.view.nameEditor.value(r.name)}onScroll(){this.view.render({scroll:!0})}onWheel(e){let t=e.deltaX,n=e.deltaY;1===e.deltaMode&&(t*=10,n*=10),this.scrollWith(t,n),e.preventDefault()}onAction(e,t){this._workbook.activeSheet()._activeDrawing=null,this.navigator.moveActiveCell(Gn[t]),e.preventDefault()}onPageUp(){this.scrollDown(-this._viewPortHeight)}onPageDown(){this.scrollDown(this._viewPortHeight)}onEntryAction(e,t){let n=this._workbook.activeSheet();if(e.mod){let t=!0;switch(String.fromCharCode(e.keyCode)){case"A":n._activeDrawing=null,this.navigator.selectAll();break;case"Y":this._workbook.undoRedoStack.redo();break;case"Z":this._workbook.undoRedoStack.undo();break;default:t=!1}t&&e.preventDefault()}else{let r=!1===n.selection().enable(),o=":edit"!==t;if("delete"==t||"backspace"==t)n._activeDrawing?this._execute({command:"DeleteDrawingCommand",options:{drawing:n._activeDrawing}}):r||this._execute({command:"ClearContentCommand"}),e.preventDefault();else if($n.test(t)||!o){if(n._activeDrawing=null,r)return void e.preventDefault();o&&this.editor.value(""),this.activateEditor(o)}else this.navigator.navigateInSelection(Yn[t]),e.preventDefault()}}onShiftAction(e,t){this.navigator.modifySelection(Gn[t.replace("shift+","")],this.appendSelection),e.preventDefault()}onMouseMove(e){let t=this._workbook.activeSheet();if(t.resizingInProgress()||t.selectionInProgress())return;let n=this.objectAt(e);"columnresizehandle"===n.type||"rowresizehandle"===n.type?t.positionResizeHandle(n.ref):t.removeResizeHandle(),t._renderComment("cell"==n.type?n.ref:null)}onMouseDown(e){let t=this.objectAt(e);if(t.pane&&(this.originFrame=t.pane),this._startResizingDrawing(e,t))return void e.stopPropagation();let n=this._workbook.activeSheet();if(n._activeDrawing=null,"drawing"===t.type)return n._activeDrawing=t.drawing,t.copy=t.drawing.clone(),t.startBox=n.drawingBoundingBox(t.copy),n.startDragging(t),n.triggerChange({dragging:!0}),void e.preventDefault();if("outside"===t.type)return e.preventDefault(),void e.stopPropagation();if("editor"===t.type)return this.onEditorEsc(),this.openCustomEditor(),void e.preventDefault();if(this.editor.canInsertRef(!1)&&t.ref)return this._workbook.activeSheet()._setFormulaSelections(this.editor.highlightedRefs()),this.navigator.startSelection(t.ref,this._selectionMode,this.appendSelection,e.shiftKey,this.view),void e.preventDefault();if(this._preventNavigation=!1,this.editor.deactivate(),!this._preventNavigation){if("columnresizehandle"===t.type||"rowresizehandle"===t.type)return n.startResizing({x:t.x,y:t.y}),void e.preventDefault();if("filtericon"===t.type)return this.openFilterMenu(e),void e.preventDefault();this._selectionMode=tr[t.type],this.appendSelection=e.mod,this.navigator.startSelection(t.ref,this._selectionMode,this.appendSelection,e.shiftKey,this.view)}}_startResizingDrawing(e){let t=e.target.closest(".k-spreadsheet-drawing-handle");if(t){let n=this.translateCoords(e),r=t.getAttribute("data-direction"),o=this._workbook.activeSheet(),i=o._activeDrawing;return o.startDragging({pane:this.originFrame,drawing:i,copy:i.clone(),startBox:o.drawingBoundingBox(i),resize:r,startX:n.x,startY:n.y}),!0}}onContextMenu(e){let t=this._workbook.activeSheet();e.preventDefault(),!t.resizingInProgress()&&t.draggingInProgress()}prevent(e){e.preventDefault()}constrainResize(e,t){let n=this._workbook.activeSheet().resizeHandlePosition();return!n||"outside"===e||"topcorner"===e||t.col<n.col||t.row<n.row}_dragDrawing(e){let t=this._workbook.activeSheet(),n=t.draggingInProgress();if(!n)return!1;let r=this.translateCoords(e),o=n.drawing,i=r.x-n.startX,a=r.y-n.startY;return"SE"==n.resize?n.aspect?Math.abs(i)>Math.abs(a)?(o.width=Math.max(n.copy.width+i,20),o.height=o.width/n.aspect):(o.height=Math.max(n.copy.height+a,20),o.width=o.height*n.aspect):(o.width=Math.max(n.copy.width+i,20),o.height=Math.max(n.copy.height+a,20)):"E"==n.resize?o.width=Math.max(n.copy.width+i,20):"S"==n.resize?o.height=Math.max(n.copy.height+a,20):"N"==n.resize?n.copy.height-a>20&&(o.height=n.copy.height-a,o.offsetY=n.copy.offsetY+a):"W"==n.resize?n.copy.width-i>20&&(o.width=n.copy.width-i,o.offsetX=n.copy.offsetX+i):"NE"==n.resize?(o.width=Math.max(n.copy.width+i,20),n.copy.height-a>20&&(o.height=n.copy.height-a,o.offsetY=n.copy.offsetY+a)):"SW"==n.resize?(o.height=Math.max(n.copy.height+a,20),n.copy.width-i>20&&(o.width=n.copy.width-i,o.offsetX=n.copy.offsetX+i)):"NW"==n.resize?(n.copy.height-a>20&&(o.height=n.copy.height-a,o.offsetY=n.copy.offsetY+a),n.copy.width-i>20&&(o.width=n.copy.width-i,o.offsetX=n.copy.offsetX+i)):(o.offsetX=n.copy.offsetX+i,o.offsetY=n.copy.offsetY+a),t.triggerChange({dragging:!0}),!0}onMouseDrag(e){if("sheet"===this._selectionMode)return;let t={clientX:e.clientX,clientY:e.clientY},n=this._workbook.activeSheet();if(this._dragDrawing(e))return;let r=this.objectAt(t);if(n.resizingInProgress())this.constrainResize(r.type,r.ref)||n.resizeHintPosition({x:r.x,y:r.y});else if("outside"!==r.type){if(this.originFrame===r.pane)this.selectToLocation(t);else{let e=this.originFrame._grid;r.x,e.right,r.y>e.bottom&&this.scrollTop(),r.y<e.top||r.x<e.left?this.startAutoScroll(r,t):this.selectToLocation(t)}e.preventDefault()}else this.startAutoScroll(r)}onMouseUp(e){let t=this._workbook.activeSheet();t.completeResizing(),t.completeDragging(),this.navigator.completeSelection(),this.stopAutoScroll();let n=this.editor.activeEditor();if(!n)return;let r=e.target;for(;r;){if(r===n.element)return;r=r.parentNode}let o=this.objectAt(e);o&&o.ref&&n.canInsertRef(!1)&&(n.refAtPoint(t),t._setFormulaSelections(n.highlightedRefs()))}onDblClick(e){let t=this.objectAt(e),n=!1===this._workbook.activeSheet().selection().enable();if("cell"!==t.type||n)return;let r=this._workbook.activeSheet().selection();this.activateEditor(!r.value()&&!r.formula()),this.onEditorUpdate()}onCut(e){let t=this;setTimeout((function(){t.clipboard.menuInvoked=void 0===e,t._execute({command:"CutCommand",options:{workbook:t.view._workbook,event:e}})}))}clipBoardValue(){return this.clipboardElement.html()}_pasteImage(e){let t=this,n=new window.Image;n.src=window.URL.createObjectURL(e),n.onload=function(){t._execute({command:"InsertImageCommand",options:{blob:e,width:n.width,height:n.height}})},setTimeout((function(){window.URL.revokeObjectURL(n.src)}),10)}onPaste(e){let t=this,n="",r="";if(t.clipboard.menuInvoked=void 0===e,e){let o=e.clipboardData;if(!o||!o.getData){if(window.clipboardData.files&&window.clipboardData.files.length){let e=window.clipboardData.files[0];if(/^image\/(?:png|jpe?g|gif)$/i.test(e.type))return t._pasteImage(e)}return r=window.clipboardData.getData("Text"),r&&(r=r.trim()),t.clipboardElement.empty(),void setTimeout((function(){n=t.clipboardElement.html(),(n||r)&&(t.clipboard.external({html:n,plain:r}),t._execute({command:"PasteCommand",options:{workbook:t.view._workbook,event:e}}))}))}{e.preventDefault();let i=!1,a=!1;if(window.DOMStringList&&o.types instanceof window.DOMStringList?(i=o.types.contains("text/html"),a=o.types.contains("text/plain")):Array.isArray(o.types)?(i=o.types.indexOf("text/html")>=0,a=o.types.indexOf("text/plain")>=0):(i=/text\/html/.test(o.types),a=/text\/plain/.test(o.types)),i&&(n=o.getData("text/html").trim()),a&&(r=o.getData("text/plain").trim()),!n&&!r&&o.items&&o.items.length)for(let e=0;e<o.items.length;++e){let n=o.items[e];if("file"===n.kind&&/^image\/(?:png|jpe?g|gif)$/i.test(n.type))return t._pasteImage(n.getAsFile())}}}else t.clipboard.menuInvoked=!0;(n||r)&&(t.clipboard.external({html:n,plain:r}),t._execute({command:"PasteCommand",options:{workbook:t.view._workbook,event:e}}))}onCopy(e){this.clipboard.menuInvoked=void 0===e,this._execute({command:"CopyCommand",options:{workbook:this.view._workbook,event:e}})}scrollTop(){this.scroller.scrollTop=0}scrollLeft(){this.scroller.scrollLeft=0}scrollDown(e){this.scroller.scrollTop+=e}scrollRight(e){this.scroller.scrollLeft+=e}scrollWith(e,t){this.scroller.scrollTop+=t,this.scroller.scrollLeft+=e}translateCoords(e){let t=this.container.getBoundingClientRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}objectAt(e,t){if(!e)return;const n=this.translateCoords(e);return this.view.objectAt(n.x,n.y,t)}selectToLocation(e){let t=this.objectAt(e,!0);t.pane&&t.ref&&(this.extendSelection(t),this.lastKnownCellLocation=e,this.originFrame=t.pane),this.stopAutoScroll()}extendSelection(e){this.navigator.extendSelection(e.ref,this._selectionMode)}autoScroll(){let e=this._autoScrollTarget.x,t=this._autoScrollTarget.y,n=this.originFrame._grid,r=this.view.scroller,o=r.scrollLeft,i=r.scrollTop;e<n.left&&this.scrollRight(-8),e>n.right&&this.scrollRight(8),t<n.top&&this.scrollDown(-8),t>n.bottom&&this.scrollDown(8),i===r.scrollTop&&o===r.scrollLeft?this.selectToLocation(this.finalLocation):this.extendSelection(this.objectAt(this.lastKnownCellLocation))}startAutoScroll(e,t){this._scrollInterval||(this._scrollInterval=setInterval(this.autoScroll.bind(this),50)),this.finalLocation=t||this.lastKnownCellLocation,this._autoScrollTarget=e}stopAutoScroll(){clearInterval(this._scrollInterval),this._scrollInterval=null}openCustomEditor(){this.view.openCustomEditor()}openFilterMenu(e){let t=this.objectAt(e),n=this._workbook.activeSheet().filterColumn(t.ref),r=this.view.createFilterMenu(n);r.bind("action",this.onCommandRequest.bind(this)),r.bind("action",r.close.bind(r)),r.openFor(e.target,e)}_saveEditorValue(e){let t=this.editor._range.sheet(),n=this.editor.value();this._workbook.activeSheet()!==t&&(this._workbook.activeSheet()._setFormulaSelections(),this._workbook.activeSheet(t)),t.isInEditMode(!1),this._lastEditorValue=n,this._execute({command:"EditCommand",options:{value:n,arrayFormula:e}})}onEditorChange(){this._saveEditorValue(!1)}onEditorArrayFormula(){this._saveEditorValue(!0),this.editor.deactivate(!0)}onEditorActivate(){let e=this._workbook.activeSheet();e._setFormulaSelections(this.editor.highlightedRefs()),e.isInEditMode(!0)}onEditorDeactivate(){let e=this._workbook.activeSheet();e.isInEditMode(!1),e._setFormulaSelections([])}onEditorUpdate(){this._workbook.activeSheet()._setFormulaSelections(this.editor.highlightedRefs())}onEditorBarFocus(){!1===this._workbook.activeSheet().selection().enable()||this.editor.activate({range:this._workbook.activeSheet().selection(),rect:this.view.activeCellRectangle(),tooltip:this._activeTooltip()})}onEditorCellFocus(){this.editor.scale()}onEditorEsc(){this.resetEditorValue(),this.editor.deactivate(),this.clipboardElement.focus()}insertNewline(e){e.preventDefault(),this.editor.insertNewline()}onEditorBlur(e,t){e.defaultPrevented||this.editor.isFiltered()||(this._preventNavigation=!1,this.editor.deactivate(),this._preventNavigation||(this.clipboardElement.focus(),this.navigator.navigateInSelection(Yn[t])))}onEditorAction(e,t){if(e.defaultPrevented)return;let n=this.editor,r=this._workbook.activeSheet();this._casualEditing&&/^(?:up|right|down|left)$/.test(t)?(this.deactivateEditor(),this.navigator.moveActiveCell(Gn[t]),e.preventDefault()):n.canInsertRef(!0)&&(this.navigator.moveActiveCell(Gn[t]),n.activeEditor().refAtPoint(r),r._setFormulaSelections(n.highlightedRefs()),e.preventDefault())}onEditorShiftAction(e,t){let n=this.editor,r=this._workbook.activeSheet();n.canInsertRef(!0)&&(this.navigator.modifySelection(Gn[t.replace("shift+","")],this.appendSelection),n.activeEditor().refAtPoint(r),r._setFormulaSelections(n.highlightedRefs()),e.preventDefault())}resetEditorValue(){let e=this._workbook.activeSheet(),t=e.activeCell(),n=this._workbook._inputForRef(t),r=e.range(t).intersectingArrayFormula();r&&(n="="+r.formula),this.editor.value(n,Boolean(r))}activateEditor(e){this._casualEditing=e,this.editor.activate({range:this._workbook.activeSheet().selection(),rect:this.view.activeCellRectangle(),tooltip:this._activeTooltip()}).focus()}deactivateEditor(){this.view.editor.deactivate()}onCommandRequest(e){e.command?this._execute(e):this._workbook.undoRedoStack[e.action]()}onDialogRequest(e){let t={pdfExport:this._workbook.options.pdf,excelExport:this._workbook.options.excel};e.options?V(e.options,t):e.options=t,this.view.openDialog(e.name,e.options)}onNameEditorEnter({value:e}){let t,n=this._workbook,r=n.activeSheet(),o=void 0!==e?e:this.view.nameEditor.value();if(t=re.parseReference(o,!0)||n.nameValue(o),t instanceof g){if(t.sheet&&t.sheet.toLowerCase()!==r.name().toLowerCase()){let e=n.sheetByName(t.sheet);e&&(n.activeSheet(e),r=e)}r.range(t).select()}else t=r.selection()._ref.clone().simplify().setSheet(r.name(),!0),this._execute({command:"DefineNameCommand",options:{name:o,value:t}}),this.clipboardElement.focus()}onNameEditorCancel(){this.clipboardElement.focus()}onNameEditorSelect(e){let t=e.name,n=this._workbook,r=n.activeSheet(),o=n.nameValue(t);if(o instanceof g){if(o.sheet&&o.sheet.toLowerCase()!==r.name().toLowerCase()){let e=n.sheetByName(o.sheet);e&&(n.activeSheet(e),r=e)}r.range(o).select()}else this.clipboardElement.focus()}onNameEditorDelete(e){this._execute({command:"DeleteNameCommand",options:{name:e.name}}),this.clipboardElement.focus()}}class ar{constructor(e,t,n,r){this.level=e,this.value=t,this.left=n,this.right=r}}const sr={left:void 0,right:void 0,level:0};function lr(e){let t=e;if(t.left.level===t.level){let e=t;t=t.left,e.left=t.right,t.right=e}return t}function cr(e){let t=e;if(t.right.right.level===t.level){let e=t;t=t.right,e.right=t.left,t.left=e,t.level+=1}return t}function ur(e,t){return e===sr?new ar(1,t,sr,sr):(e.value.start>t.start?e.left=ur(e.left,t):e.right=ur(e.right,t),cr(lr(e)))}function hr(e,t){let n=e;if(n===sr)return n;let r=n.value.start-t.start;if(0===r)if(n.left!==sr&&n.right!==sr){let e=n.left;for(;e.right!==sr;)e=e.right;n.value=e.value,n.left=hr(n.left,n.value)}else n=n.left===sr?n.right:n.left;else r>0?n.left=hr(n.left,t):n.right=hr(n.right,t);return(n.left.level<n.level-1||n.right.level<n.level-1)&&(n.level-=1,n.right.level>n.level&&(n.right.level=n.level),n=lr(n),n.right=lr(n.right),n.right.right=lr(n.right.right),n=cr(n),n.right=cr(n.right)),n}sr.left=sr,sr.right=sr;class dr{constructor(e,t,n){this.start=e,this.end=t,this.value=n}intersects(e){return e.start<=this.end&&e.end>=this.start}clone(){return new dr(this.start,this.end,this.value)}}class pr{constructor(){this.root=sr}insert(e){this.root=ur(this.root,e)}remove(e){this.root=hr(this.root,e)}findrange(e){let t=this.root;for(;t!==sr;)if(e<t.value.start)t=t.left;else{if(!(e>t.value.end))return t.value;t=t.right}return null}values(){let e=[];return fr(this.root,e),e}intersecting(e,t){let n=[];return mr(this.root,new dr(e,t),n),n}map(e){let t=new pr;return vr(t,this.root,e),t}forEach(e){gr(this.root,e)}clone(){return this.map((function(e){return e.clone()}))}first(){let e=this.root;for(;e.left!==sr;)e=e.left;return e}last(){let e=this.root;for(;e.right!==sr;)e=e.right;return e}}function fr(e,t){e!==sr&&(fr(e.left,t),t.push(e.value),fr(e.right,t))}function mr(e,t,n){if(e===sr)return;let r=e.value;t.start<r.start&&mr(e.left,t,n),r.intersects(t)&&n.push(r),t.end>r.end&&mr(e.right,t,n)}function vr(e,t,n){t!==sr&&(vr(e,t.left,n),e.insert(n(t.value)),vr(e,t.right,n))}function gr(e,t){e!==sr&&(gr(e.left,t),t(e.value),gr(e.right,t))}class br{constructor(e,t,n){void 0===t?this.tree=e:(this.tree=new pr,this.tree.insert(new dr(e,t,n)))}values(){return this.tree.values()}map(e){return new br(this.tree.map(e))}forEach(e){this.tree.forEach(e)}intersecting(e,t){return this.tree.intersecting(e,t)}first(){return this.tree.first().value}last(){return this.tree.last().value}insert(e,t,n){return this.tree.insert(new dr(e,t,n))}value(e,t,n){let r=e,o=t;if(void 0===n)return void 0===o&&(o=r),this.intersecting(r,o)[0].value;let i=this.tree.intersecting(r-1,o+1);if(i.length){let e=i[0],t=i[i.length-1];e.end<r&&(e.value===n?r=e.start:i.shift()),t.start>o&&(t.value===n?o=t.end:i.pop());for(let e=0,t=i.length;e<t;e++){let t=i[e],a=t.value,s=t.start,l=t.end;this.tree.remove(t),s<r&&(a!==n?this.insert(s,r-1,a):r=s),l>o&&(a!==n?this.insert(o+1,l,a):o=l)}}this.insert(r,o,n)}expandedValues(e,t){let n=this.intersecting(e,t),r=[],o=0;for(let i=e;i<=t;i++)n[o].end<i&&o++,r.push({index:i-e,value:n[o].value});return r}sortedIndices(e,t,n,r){let o=this.expandedValues(e,t),i=function(e,t){return e.value===t.value?e.index-t.index:n(e.value,t.value)};return r&&(i=function(e,t){let o=r[e.index],i=r[t.index];return o.value===i.value?n(e.value,t.value):e.index-t.index}),o.sort(i),o}sort(e,t,n){if(1===this.intersecting(e,t).length)return;let r=this.expandedValues(e,t);for(let t=0,o=n.length;t<o;t++)this.value(t+e,t+e,r[n[t].index].value)}copy(e,t,n){let r,o=this.intersecting(e,t),i=n;for(let n=0,a=o.length;n<a;n++){let a=o[n].start;a<e&&(a=e);let s=o[n].end;s>t&&(s=t),r=i+(s-a),this.value(i,r,o[n].value),i=++r}}iterator(e,t){return new yr(e,t,this.intersecting(e,t))}getState(){return this.tree.clone()}setState(e){this.tree=e.clone()}toJSON(){return this.values()}fromJSON(e){e.forEach((e=>{this.value(e.start,e.end,e.value)}))}}class yr{constructor(e,t,n){this.start=e,this.end=t,this.index=0,this.ranges=n}unique(){return this.ranges.map((function(e){return e.value}))}at(e){for(;this.ranges[this.index]&&this.ranges[this.index].end<e;)this.index++;return this.ranges[this.index]&&this.ranges[this.index].value}forEach(e){for(let t=this.start;t<=this.end;t++)e(this.at(t),t);this.index=0}}class wr extends br{constructor(e,t,n){super(e,t,n),this._defaultValue=n,this.tree=new pr,this.range=new dr(e,t,n)}intersecting(e,t){let n,r=e,o=this.tree.intersecting(r,t),i=[];if(!o.length)return[this.range];for(let e=0,t=o.length;e<t;e++)n=o[e],n.start>r&&i.push(new dr(r,n.start-1,this.range.value)),i.push(n),r=n.end+1;return n.end<t&&i.push(new dr(n.end+1,t,this.range.value)),i}insert(e,t,n){let r=n;null==r&&(r=this._defaultValue),r!==this.range.value&&this.tree.insert(new dr(e,t,r))}lastRangeStart(){let e=this.tree.root;if(e===sr)return this.range.start;for(;e.right!==sr;)e=e.right;return e.value.end+1}}class xr{constructor(e){this.list=e}get(e){return this.parse(this.list.value(e,e))}set(e,t,n){void 0===n&&(n=t,t=e),this.list.value(e,t,n)}parse(e){return e}copy(e,t,n){this.list.copy(e,t,n)}iterator(e,t){return this.list.iterator(e,t)}}class kr extends xr{set(e,t,n){this.list.value(e,t,JSON.stringify(n))}parse(e){return JSON.parse(e)}}const zr=[{property:xr,name:"format",value:null,sortable:!0,serializable:!0},{property:class extends xr{constructor(e,t){super(e),this.formats=t}set(e,t,n){n instanceof Date?(n=Oe(n),this.formats.value(e,t)||this.formats.value(e,t,K().calendar.patterns.d.replace(/M/g,"m").replace(/'/g,'"').replace(/tt/,"am/pm"))):"number"==typeof n&&(n=re.runtime.limitPrecision(n)),this.list.value(e,t,n)}},name:"value",value:null,sortable:!0,serializable:!0,depends:"format"},{property:xr,name:"formula",value:null,sortable:!0,serializable:!0},{property:xr,name:"background",value:null,sortable:!0,serializable:!0},{property:kr,name:"vBorders",value:null,sortable:!1,serializable:!1},{property:kr,name:"hBorders",value:null,sortable:!1,serializable:!1},{property:kr,name:"dBorders",value:null,sortable:!1,serializable:!0},{property:xr,name:"color",value:null,sortable:!0,serializable:!0},{property:xr,name:"fontFamily",value:null,sortable:!0,serializable:!0},{property:xr,name:"underline",value:null,sortable:!0,serializable:!0},{property:xr,name:"fontSize",value:null,sortable:!0,serializable:!0},{property:xr,name:"italic",value:null,sortable:!0,serializable:!0},{property:xr,name:"bold",value:null,sortable:!0,serializable:!0},{property:xr,name:"textAlign",value:null,sortable:!0,serializable:!0},{property:xr,name:"indent",value:null,sortable:!0,serializable:!0},{property:xr,name:"verticalAlign",value:null,sortable:!0,serializable:!0},{property:xr,name:"wrap",value:null,sortable:!0,serializable:!0},{property:xr,name:"validation",value:null,sortable:!1,serializable:!0},{property:xr,name:"enable",value:null,sortable:!1,serializable:!0},{property:xr,name:"link",value:null,sortable:!0,serializable:!0},{property:xr,name:"editor",value:null,sortable:!0,serializable:!0},{property:xr,name:"comment",value:null,sortable:!0,serializable:!0},{property:xr,name:"html",value:null,sortable:!0,serializable:!0}];class Cr{constructor(e,t,n){n=n||{};let r=e*t-1;this.specs=zr,this.rowCount=e,this.columnCount=t,this.cellCount=r,this.properties={},this.lists={},this.specs.forEach((function(e){let t=e.name,o=n[t];void 0===o&&(o=e.value),this.lists[t]=new wr(0,r,o),(this.properties[t]=new e.property(this.lists[t],this.lists[e.depends])).spec=e}),this),this.lists.formula.tree.clone=Ir,this.lists.validation.tree.clone=Ir}_resize(e,t){let n=this,r=n.rowCount,o=e*t-1;function i(t){return(t/r|0)*e+t%r}function a(e){e.start=i(e.start),e.end=i(e.end)}Object.keys(n.lists).forEach((function(t){let i=n.lists[t];e!==r&&i.forEach(a),i.range.end=o})),n.rowCount=e,n.columnCount=t,n.cellCount=o}getState(){let e={};return this.specs.forEach((function(t){e[t.name]=this.lists[t.name].getState()}),this),e}setState(e){this.specs.forEach((function(t){this.lists[t.name].setState(e[t.name])}),this)}get(e,t){if(void 0===t)return this.lists[e];switch(e){case"borderRight":t+=this.rowCount;case"borderLeft":e="vBorders";break;case"borderBottom":t++;case"borderTop":e="hBorders"}return t>this.cellCount?null:this.properties[e].get(t)}set(e,t,n,r){switch(e){case"borderRight":t+=this.rowCount,n+=this.rowCount;case"borderLeft":e="vBorders";break;case"borderBottom":t++,n++;case"borderTop":e="hBorders"}t<=n&&n<=this.cellCount&&this.properties[e].set(t,n,r)}fromJSON(e,t){for(let n=0;n<this.specs.length;n++){let r=this.specs[n];r.serializable&&void 0!==t[r.name]&&this.set(r.name,e,e,t[r.name],!1)}["borderLeft","borderRight","borderTop","borderBottom"].forEach((function(n){void 0!==t[n]&&this.set(n,e,e,t[n])}),this)}copy(e,t,n){this.specs.forEach((function(r){this.properties[r.name].copy(e,t,n)}),this)}iterator(e,t,n){let r=this.properties[e],o=r.iterator(t,n),i=o.at,a=this.cellCount;return o.at=function(e){return e>a?null:r.parse(i.call(o,e))},o.name=e,o.value=r.spec.value,o}sortable(){return this.specs.filter((function(e){return e.sortable})).map((function(e){return this.lists[e.name]}),this)}iterators(e,t){return this.specs.reduce(function(n,r){return r.serializable&&n.push(this.iterator(r.name,e,t)),n}.bind(this),[])}forEach(e,t,n){let r,o,i=this.iterators(e,t),a=this.iterator("hBorders",e,t+1),s=this.iterator("vBorders",e,t),l=this.iterator("vBorders",e+this.rowCount,t+this.rowCount);function c(e,t,n){let o=t.at(n);o!==t.value&&(r[e]=o)}for(o=e;o<=t;o++){r={};for(let e=0;e<i.length;e++){let t=i[e],n=t.at(o);n!==t.value&&(r[t.name]=n)}c("borderLeft",s,o),c("borderRight",l,o+this.rowCount),c("borderTop",a,o),(o+1)%this.rowCount&&c("borderBottom",a,o+1),n(r)}}forEachProperty(e){for(let t in this.properties)e(this.properties[t])}}function _r(e){return(e=e.clone()).value=e.value.deepClone(),e}function Ir(){let e=this.map(_r);return e.clone=Ir,e}const Er=zr.reduce((function(e,t){return t.serializable&&e.push(t.name),e}),["borderTop","borderRight","borderBottom","borderLeft"]);let Sr='DATEVALUE("{0}")';class Mr{constructor(e){this.handler=e.handler,this.from=e.from,this.to=e.to,this.dataType=e.dataType,this.comparerType=e.comparerType,this.type=e.type?e.type:"warning",this.allowNulls=!!e.allowNulls,this.fromIsDateValue=!!e.fromIsDateValue,this.toIsDateValue=!!e.toIsDateValue,this.showButton=e.showButton,this.fromIsListValue=!!e.fromIsListValue,this.sheet=e.sheet,this.row=e.row,this.col=e.col,e.tooltipMessageTemplate&&(this.tooltipMessageTemplate=e.tooltipMessageTemplate),e.tooltipTitleTemplate&&(this.tooltipTitleTemplate=e.tooltipTitleTemplate),e.messageTemplate&&(this.messageTemplate=e.messageTemplate),e.titleTemplate&&(this.titleTemplate=e.titleTemplate)}_formatMessages(e){let t=this.from?this.from_value:"",n=this.to?this.to_value:"",r=this.from?this.from.toString():"",o=this.to?this.to.toString():"",i=this.dataType,a=this.type,s=this.comparerType;return U().format(e,t,n,r,o,i,a,s)}_setMessages(){this.title="",this.message="",this.tooltipTitleTemplate&&(this.tooltipTitle=this._formatMessages(this.tooltipTitleTemplate)),this.tooltipMessageTemplate&&(this.tooltipMessage=this._formatMessages(this.tooltipMessageTemplate)),this.titleTemplate&&(this.title=this._formatMessages(this.titleTemplate)),this.messageTemplate&&(this.message=this._formatMessages(this.messageTemplate))}_getListData(){if(!this.from_value||!this.from_value.data)return[];let e,t,n=this.from_value.data,r=[];for(e=0;e<n.length;e++){let o=n[e];if(o)for(t=0;t<o.length;t++)r.push(o[t])}return r}clone(e,t,n){let r=this._getOptions();r.from&&(r.from=r.from.clone(e,t,n)),r.to&&(r.to=r.to.clone(e,t,n));const o=Object.assign({},r);return o.handler=this.handler,o.sheet=e,o.row=t,o.col=n,new Mr(o)}deepClone(){let e=new Mr(this);return e.from=e.from.deepClone(),e.to&&(e.to=e.to.deepClone()),e}exec(e,t,n,r){let o=this;function i(t){return t instanceof g&&(t=e.getData(t),Array.isArray(t)&&(t=t[0])),t}let a=function(e){o.from_value=i(e),o.value=o.handler.call(o,t,n),o._setMessages(),r&&r(o.value)};o.to?o.to.exec(e,(function(t){o.to_value=i(t),o.from.exec(e,a)})):o.from.exec(e,a)}reset(){this.from&&this.from.reset(),this.to&&this.to.reset(),delete this.value}adjust(e,t,n,r){let o,i,a,s=this.row,l=this.col;if(this.from&&(o=this.from.adjust(e,t,n,r)),this.to&&(i=this.to.adjust(e,t,n,r)),this.sheet.toLowerCase()===e.toLowerCase())switch(t){case"row":s>=n&&(a=!0,this.row+=r);break;case"col":l>=n&&(a=!0,this.col+=r)}if(a||o||i){let e=new Mr(this);return e.from=o,e.to=i,e.row=s,e.col=l,e}}toJSON(){let e=this._getOptions();return e.from&&(e.from=e.from.toString(),"list"===e.dataType&&(e.from=e.from.replace(/^_matrix\((.*)\)$/i,"$1"),delete e.fromIsListValue),"date"===e.dataType&&this.fromIsDateValue&&(e.from=e.from.replace(/^DATEVALUE\("(.*)"\)$/i,"$1"),delete e.fromIsDateValue)),e.to&&(e.to=e.to.toString(),"date"===e.dataType&&this.toIsDateValue&&(e.to=e.to.replace(/^DATEVALUE\("(.*)"\)$/i,"$1"),delete e.toIsDateValue)),e}_getOptions(){return{from:this.from,to:this.to,dataType:this.dataType,type:this.type,comparerType:this.comparerType,row:this.row,col:this.col,sheet:this.sheet,allowNulls:this.allowNulls,fromIsListValue:this.fromIsListValue,fromIsDateValue:this.fromIsDateValue,toIsDateValue:this.toIsDateValue,tooltipMessageTemplate:this.tooltipMessageTemplate,tooltipTitleTemplate:this.tooltipTitleTemplate,messageTemplate:this.messageTemplate,titleTemplate:this.titleTemplate,showButton:this.showButton}}}const Or={compile:function(e,t,n,r){let o,i,a,s;if("string"==typeof r&&(r=JSON.parse(r)),r.from&&("list"!==r.dataType||r.fromIsListValue||(r.from.indexOf("{")>-1&&(r.from=r.from.replace(/\"/g,"").replace("{",'"').replace("}",'"')),r.from=U().format("_matrix({0})",r.from),r.fromIsListValue=!0),"date"===r.dataType&&(a=re.runtime.parseDate(r.from),a&&(r.from=U().format(Sr,r.from),r.fromIsDateValue=!0)),r.from=re.compile(re.parseFormula(e,t,n,r.from))),r.to&&("date"===r.dataType&&(s=re.runtime.parseDate(r.to),s&&(r.to=U().format(Sr,r.to),r.toIsDateValue=!0)),r.to=re.compile(re.parseFormula(e,t,n,r.to))),i="custom"===r.dataType?Or.validationComparers.custom:"list"===r.dataType?Or.validationComparers.list:Or.validationComparers[r.comparerType],!i)throw U().format("'{0}' comparer is not implemented.",r.comparerType);o=function(e){let t=this.to&&(this.to_value||0===this.to_value)?this.to_value:void 0;if(null===e||""===e)this.allowNulls?this.value=!0:this.value=!1;else if("custom"===this.dataType)this.value=i(e,this.from_value,t);else if("list"===this.dataType){let n=this._getListData();this.value=i(e,n,t)}else this.value=i(e,this.from_value,t);return this.value};const l=Object.assign({},r);return l.handler=o,l.sheet=e,l.row=t,l.col=n,new Mr(l)},validationComparers:{greaterThan:function(e,t){return e>t},lessThan:function(e,t){return e<t},between:function(e,t,n){return e>=t&&e<=n},equalTo:function(e,t){return e===t},notEqualTo:function(e,t){return e!==t},greaterThanOrEqualTo:function(e,t){return e>=t},lessThanOrEqualTo:function(e,t){return e<=t},notBetween:function(e,t,n){return e<t||e>n},custom:function(e,t){return t},list:function(e,t){return t.indexOf(e)>-1}}};Or.Validation=Mr;const{measureText:Rr}=r.drawing.util;let Hr=["color","fontFamily","underline","italic","bold","textAlign","indent","verticalAlign","background","format","link","editor","borderTop","borderRight","borderBottom","borderLeft","comment","html"],Fr=class e{constructor(e,t){this._sheet=t,this._ref=e}clone(){return new e(this._ref.clone(),this._sheet)}skipHiddenCells(){let e=[],t=this,n=t._sheet,r=n.isHiddenRow.bind(n),o=n.isHiddenColumn.bind(n);return t._ref.forEach((function(n){let i=(n=t._normalize(n.toRangeRef())).topLeft,a=n.bottomRight,s=Vr(i.row,a.row,r),l=Vr(i.col,a.col,o);for(let t=0;t<s.length;++t)for(let n=0;n<l.length;++n)e.push(new x(new w(s[t].begin,l[n].begin),new w(s[t].end,l[n].end)))})),n.range(e.length>1?new k(e):e[0])}_normalize(e){return this._sheet._grid.normalize(e)}_set(e,t,n){let r=this,o=r._sheet;return r._ref.forEach((function(n){let r=n;if(("value"===e||"formula"===e||"link"===e)&&n.topLeft){let e=new w(n.topLeft.row,n.topLeft.col);o.forEachMergedCell((function(t){t.intersects(e)&&(r=e)}))}o._set(r.toRangeRef(),e,t)})),n||o.triggerChange({recalc:"formula"===e||"value"===e||"validation"===e,value:t,range:r,ref:r._ref,isValue:"value"===e}),r}_get(e){return this._sheet._get(this._ref.toRangeRef(),e)}_property(e,t){return void 0===t?this._get(e):this._set(e,t)}value(e){return void 0!==e&&this._set("formula",null,!0),this._property("value",e)}html(e){return this._property("html",e)}resize(t){let n=this._resizedRef(t);return new e(n,this._sheet)}_resizedRef(e){return this._ref.map((function(t){return t.toRangeRef().resize(e)}))}input(e,t){t=Object.assign({},t,{arrayFormula:!1});let n,r=this._get("format");if(void 0!==e){let o=this._ref.toRangeRef().topLeft;return n=re.parse(this._sheet.name(),o.row,o.col,e,r),this._sheet.batch(function(){let o=null;if("exp"===n.type)o=re.compile(n);else if("@"!==r){let e=r&&Un.type(n.value,r);"date"===n.type&&"date"!==e?this.format(n.format||K().calendar.patterns.d.replace(/M/g,"m").replace(/'/g,'"').replace(/tt/,"am/pm")):"percent"===n.type&&"percent"!==e?this.format(100*n.value==(100*n.value|0)?"0%":"0.00%"):n.format&&(!r||n.currency||"number"===e&&"number"===n.type&&n.format.length>r.length)&&this.format(n.format)}else"string"!==n.type&&(n.value=e);this.formula(o,t.arrayFormula),o||this.value(n.value)}.bind(this),{recalc:!0,value:e,ref:this._ref,editorChange:this._sheet.isInEditMode(),isValue:!0}),this}{e=this._get("value");let t=this._get("formula"),i=r&&!t&&Un.type(e,r);if(t)e="="+t;else e:{if(r&&"date"===i){let t=Un.text(e,r);if(n=re.parse(null,null,null,t,r),t===Un.text(n.value,r)){e=t;break e}}if("date"===i){const t=U();e=t.toString(Se(e),K().calendar.patterns.d,t.locale)}else"percent"===i?e=re.runtime.limitPrecision(100*e)+"%":"string"==typeof e&&(/^[=']/.test(e)||/^(?:true|false)$/i.test(e)||!/^=/.test(o=e)&&/number|percent/.test(re.parse(null,0,0,o).type))?e="'"+e:this._sheet._useCultureDecimals()&&"number"==typeof e&&e!==Math.floor(e)&&(e=String(e).replace(".",K().numbers.symbols.decimal))}return e}var o}enable(e){return void 0===e?!R((function(e){this._sheet.forEach(this._ref,(function(t,n,r){!1===r.enable&&e(!0)}))}),this):this._property("enable",e)}formula(e,t){let n=this;if(void 0===e){let e=n._get("formula");return e?""+e:null}if(t){let t=this._ref.toRangeRef();(e=n._sheet.range(t.topLeft)._set("formula",e)._get("formula"))&&e.setArrayFormulaRange(t)}else n._set("formula",e);return n}intersectingArrayFormula(){let e=this._ref.clone().simplify().setSheet(this._sheet.name());return R((function(t){this._sheet._forFormulas((function(n){let r=n.arrayFormulaRange;r&&(r=e.intersect(r))!==b&&t({formula:n,intersection:r})}))}),this)}canEditArrayFormula(){let e=this.intersectingArrayFormula();return!e||e.formula.arrayFormulaRange.eq(e.intersection)}validation(e){if(void 0===e){let e=this._get("validation");return e?e.toJSON():null}return this._property("validation",e)}_getValidationState(){let e,t,n=this._ref.toRangeRef(),r=n.topLeft.row,o=n.topLeft.col,i=n.bottomRight.row,a=n.bottomRight.col;for(e=o;e<=a;e++)for(t=r;t<=i;t++){let n=this._sheet._validation(t,e);if(n&&"reject"===n.type&&!1===n.value)return n}return!1}merge(){return this._ref=this._sheet._merge(this._ref),this}unmerge(){let e=this._sheet._mergedCells;return this._ref.forEach((function(t){t.toRangeRef().intersecting(e).forEach((function(t){e.splice(e.indexOf(t),1)}))})),this._sheet.triggerChange({}),this}select(){return this._sheet.select(this._ref),this}values(e){if(this._ref instanceof k)throw new Error("Unsupported for multiple ranges.");if(this._ref===b){if(void 0!==e)throw new Error("Unsupported for NULLREF.");return[]}let t,n,r=this._ref.toRangeRef(),o=r.topLeft.row,i=r.topLeft.col,a=r.bottomRight.row,s=r.bottomRight.col;if(void 0===e){e=new Array(r.height());for(let t=0;t<e.length;t++)e[t]=new Array(r.width());for(t=i;t<=s;t++)for(n=o;n<=a;n++)e[n-o][t-i]=this._sheet._value(n,t);return e}for(this._sheet._set(r,"formula",null),t=i;t<=s;t++)for(n=o;n<=a;n++){let r=e[n-o];if(r){let e=r[t-i];void 0!==e&&this._sheet._value(n,t,e)}}return this._sheet.triggerChange({recalc:!0,ref:r}),this}_properties(e,t){if(this._ref instanceof k)throw new Error("Unsupported for multiple ranges.");if(this._ref===b){if(void 0!==e)throw new Error("Unsupported for NULLREF.");return[]}let n,r,o=this._ref.toRangeRef(),i=o.topLeft.row,a=o.topLeft.col,s=o.bottomRight.row,l=o.bottomRight.col,c=this._sheet;if(void 0===e)return e=new Array(o.height()),c.forEach(o,(function(t,n,r){n-=a,(e[t-=i]||(e[t]=[]))[n]=r})),e;{let u;o=o.clone();let h=function(e){let t=u[e];o.topLeft.row=o.bottomRight.row=r,o.topLeft.col=o.bottomRight.col=n,"value"===e&&c._set(o,"formula",null),c._set(o,e,t)};for(n=a;n<=l;n++)if(t||!c.isHiddenColumn(n))for(r=i;r<=s;r++){if(!t&&c.isHiddenRow(r))continue;if(t&&c.isFilteredRow(r))continue;let o=e[r-i];o&&(u=o[n-a],u&&Object.keys(u).forEach(h))}return c.triggerChange({recalc:!0,ref:this._ref}),this}}clear(e){let t=(e=e||{}).clearAll||!Object.keys(e).length,n=this._sheet,r={recalc:t||e.contentsOnly,ref:this._ref};return n.batch(function(){r.recalc&&this.formula(null),t&&this.validation(null),(t||e.formatOnly)&&(Hr.forEach(function(t){e.keepBorders&&/^border/i.test(t)||this[t](null)}.bind(this)),this.fontSize(null),this.wrap(null),this.unmerge())}.bind(this),r),this}clearContent(){return this.clear({contentsOnly:!0})}clearFormat(){return this.clear({formatOnly:!0})}isSortable(){return!this.cantSort()}cantSort(){if(this._ref instanceof k)return{code:"cantSortMultipleSelection",message:"Unsupported for multiple ranges."};if(this._ref===b)return{code:"cantSortNullRef",message:"Unsupported for NULLREF."};let e=this._sheet._getMergedCells(this._ref.toRangeRef()),t=e.primary,n=e.secondary,r=null,o=null,i={};try{this._sheet.forEach(this,(function(a,s){let l=new w(a,s).print(),c=t[l];if(c){if(null===r)r=c.width(),o=c.height();else if(r!==c.width()||o!==c.height())throw i}else if(!n[l]&&e.hasMerged)throw i}))}catch(e){if(e!==i)throw e;return{code:"cantSortMixedCells",message:"Unsupported for range containing cells of different shapes."}}return!1}sort(e){let t=this.cantSort();if(t)throw new Error(t.message);return void 0===e&&(e={column:0}),e=e instanceof Array?e:[e],this._sheet._sortBy(this._ref.toRangeRef(),e.map((function(e,t){return"number"==typeof e&&(e={column:e}),{index:void 0===e.column?t:e.column,ascending:void 0===e.ascending||e.ascending}}))),this}isFilterable(){return!(this._ref instanceof k)}filter(e){if(this._ref instanceof k)throw new Error("Unsupported for multiple ranges.");return!1===e?this.clearFilters():(e=!0===e?[]:e instanceof Array?e:[e],this._sheet._filterBy(this._ref.toRangeRef(),e.map((function(e,t){return{index:void 0===e.column?void 0===e.index?t:e.index:e.column,filter:e.filter}})))),this}clearFilter(e){this._sheet.clearFilter(e)}clearFilters(){let e=this._sheet.filter(),t=[];if(e){for(let n=0;n<e.columns.length;n++)t.push(e.columns[n].index);this._sheet.batch((function(){this.clearFilter(t),this._filter=null}),{layout:!0,filter:!0})}}hasFilter(){let e=this._sheet.filter();return Boolean(e)}leftColumn(){return new e(this._ref.leftColumn(),this._sheet)}rightColumn(){return new e(this._ref.rightColumn(),this._sheet)}topRow(){return new e(this._ref.topRow(),this._sheet)}bottomRow(){return new e(this._ref.bottomRow(),this._sheet)}column(t){return new e(this._ref.toColumn(t),this._sheet)}row(t){return new e(this._ref.toRow(t),this._sheet)}forEachRow(t){this._ref.forEachRow(function(n){t(new e(n,this._sheet))}.bind(this))}forEachColumn(t){this._ref.forEachColumn(function(n){t(new e(n,this._sheet))}.bind(this))}sheet(){return this._sheet}topLeft(){return this._ref.toRangeRef().topLeft}intersectingMerged(){let e=this._sheet,t=[];return e._mergedCells.forEach(function(e){e.intersects(this._ref)&&t.push(e.toString())}.bind(this)),t}getState(e){let t,n=this._ref.first(),r={ref:n,data:[],origRef:this._ref,rows:this._sheet._rows.getState()};e?t="input"===e?["value","formula"]:"border"===e?["borderLeft","borderTop","borderRight","borderBottom"]:[e]:(t=Er,r.mergedCells=this.intersectingMerged());let o=r.data;return this.forEachCell((function(e,r,i){let a={},s=e-n.row,l=r-n.col;o[s]||(o[s]=[]),o[s][l]=a,t.forEach((function(e){let t=void 0===i[e]?null:i[e];(t instanceof re.runtime.Formula||t instanceof Or.Validation)&&(t=t.deepClone()),a[e]=t}))})),r}setState(e,t){let n=this._sheet,r=this._ref.first(),o=e.ref.row-r.row,i=e.ref.col-r.col,a=t&&!t.isExternal(),s=t&&!a;n.batch(function(){e.mergedCells&&this.unmerge(),t||this._sheet._rows.setState(e.rows);let l=r.row,c=this.hasFilter();e.data.forEach((function(o,i){if(c&&a&&n.isHiddenRow(e.ref.row+i))return;let u=r.col;o.forEach((function(o,h){if(c&&a&&n.isHiddenColumn(e.ref.col+h))return;let d=t?n.range(l,u):n.range(r.row+i,r.col+h);if(d.enable()){for(let e in o)"value"!==e&&(t&&"enable"===e||d._set(e,o[e]));if(!o.formula)if(s)try{null==o.value?d._set("value",null):d.input(o.value)}catch(e){d._set("value",o.value)}else d._set("value",o.value)}u++})),l++})),e.mergedCells&&e.mergedCells.forEach((function(e){e=n._ref(e).relative(o,i,3),n.range(e).merge()}),this)}.bind(this),{recalc:!0,ref:this._ref})}_adjustRowHeight(){let e=this,t=e._sheet,n=t._getMergedCells(e._ref.toRangeRef()),r=n.primary,o=n.secondary;t.batch((function(){e.forEachRow((function(e){let n=e._ref.topLeft.row,i=t.rowHeight(n);i&&(e.forEachCell((function(e,n,a){let s=new w(e,n).print();if(o[s])return;let l,c=r[s];l=c?t._columns.sum(c.topLeft.col,c.bottomRight.col):t.columnWidth(n);let u=a.value;a.format&&null!=u&&(u=Un.format(u,a.format));let h=function(e,t,n,r,o){return Rr(e,{baselineMarkerSize:0,width:!0===o?t+"px":"auto","font-size":(r||12)+"px","font-family":n||"Arial","white-space":!0===o?"pre-wrap":"pre","overflow-wrap":!0===o?"break-word":"normal","word-wrap":!0===o?"break-word":"normal"},{box:Dr,normalizeText:!1}).height}(u,l,a.fontFamily,a.fontSize,a.wrap);i=Math.max(i,h)})),t.rowHeight(n,i))}))}),{layout:!0})}forEachCell(e){this._ref.forEach(function(t){this._sheet.forEach(t.toRangeRef(),e.bind(this))}.bind(this))}hasValue(){let e=this._sheet._defaultCellStyle;return R((function(t){this.forEachCell((function(n,r,o){for(let n in o){let r=o[n];null!=r&&r!==e[n]&&t(!0)}}))}),this)}wrap(e){return void 0===e?Boolean(this._property("wrap")):(this._property("wrap",e),null!==e&&this._adjustRowHeight(),this)}fontSize(e){return void 0===e?this._property("fontSize"):(this._property("fontSize",e),null!==e&&this._adjustRowHeight(),this)}draw(e,t){this._sheet.draw(this,e,t)}insideBorders(e){return this.insideVerticalBorders(e).insideHorizontalBorders(e)}insideVerticalBorders(e){return this._ref.forEach((function(t){t instanceof x&&t.width()>1&&((t=t.clone()).topLeft.col++,this._sheet.range(t)._set("vBorders",e))}),this),this}insideHorizontalBorders(e){return this._ref.forEach((function(t){t instanceof x&&t.height()>1&&((t=t.clone()).topLeft.row++,this._sheet.range(t)._set("hBorders",e))}),this),this}};function Vr(e,t,n){for(;e<=t&&n(e);)e++;if(e>t)return[];for(let r=e+1;r<=t;++r)if(n(r))return[{begin:e,end:r-1}].concat(Vr(r+1,t,n));return[{begin:e,end:t}]}Hr.forEach((function(e){Fr.prototype[e]=function(t){return this._property(e,t)}}));const Dr=document.createElement("div");Dr.setAttribute("style","position: absolute !important; top: -4000px !important; height: auto !important;padding: 1px 3px !important; box-sizing: border-box; margin: 0 !important; border: 1px solid black !important;line-height: normal !important; visibility: hidden !important;white-space: pre-wrap;");var Br=re.runtime.Formula,Ar="incompatibleRanges",Nr=Fr.FillError=function(e){this.code=e};function Lr(e){for(var t=e.length,n=(t+1)/2,r=e.reduce((function(e,t){return e+t}),0)/t,o=0,i=0,a=0;a<t;a++){var s=a+1-n;o+=s*(e[a]-r),i+=s*s}if(!i)return function(t){return e[t%e.length]};var l=o/i,c=r-l*n;return function(e){return c+l*(e+1)}}function Pr(e){function t(e){return e.map((function(e){return e.number}))}var n=[],r=e.map((function(e){return e.formula||e.value}));return function(e,t){for(var n,r=null,o=0,i=[],a=0;a<e.length;++a)n=Tr(e[a]),i.push(n),null!=r&&n.type!==r.type&&(t(o,a,r.type,i.slice(o,a)),o=a),r=n;t(o,a,r.type,i.slice(o,a))}(r,(function(e,o,i,a){var s,l;if("number"==i)s=Lr(l=t(a));else if("string"==i||"formula"==i||"boolean"==i)s=function(e,t){return r[t]};else if(Array.isArray(i))if(1==a.length)s=function(e){return i[(a[0].number+e)%i.length]};else{var c=function(e){for(var t=e[1]-e[0],n=2;n<e.length;++n)if(e[n]-e[n-1]!=t)return null;return t}(t(a));s=null==c?function(e){return a[e%a.length].value}:function(e){var t=a[0].number+c*e;return i[t%i.length]}}else"null"!=i?(1==(l=t(a)).length&&l.push(l[0]+1),l=Lr(l),s=function(e,t){return r[t].replace(/^(.*[\D0]+)\d+/,"$1"+l(e,t))}):s=function(){return null};for(var u={f:s,begin:e,end:o,len:o-e},h=e;h<o;++h)n[h]=u})),function(t,o){var i,a,s=n[o],l=t/r.length|0,c=t%r.length,u=l*s.len+c-s.begin,h=s.f(u,o),d=(i=e[o],a={},Object.keys(i||{}).forEach((function(e){a[e]=i[e]})),a);return delete d.enable,h instanceof Br?d.formula=h:d.value=h,d}}function Tr(e){if("number"==typeof e)return{type:"number",number:e};if("string"==typeof e){var t=function(e){for(var t=e.toLowerCase(),n=function(){const e=K().calendar;return[e.days.format.abbreviated,e.days.format.wide,e.months.format.abbreviated,e.months.format.wide]}(),r=0;r<n.length;++r)for(var o=n[r],i=o.length;--i>=0;)if(o[i].toLowerCase()==t)return{type:o,number:i,value:e}}(e);if(t)return t;var n=/^(.*\D)(\d+)/.exec(e);return n?{type:e=e.replace(/^(.*\D)\d+/,"$1-######"),match:n,number:parseFloat(n[2])}:{type:"string"}}if("boolean"==typeof e)return{type:"boolean"};if(null==e)return{type:"null"};if(e instanceof Br)return{type:"formula"};throw window.console.error(e),new Error("Cannot fill data")}function jr(e){for(var t=e.length,n=e[0].length,r=[],o=0;o<n;++o){r[o]=[];for(var i=0;i<t;++i)r[o][i]=e[i][o]}return r}Fr.prototype._previewFillFrom=function(e,t){var n=this,r=n._sheet;"string"==typeof e&&(e=r.range(e));var o=e._ref.toRangeRef().clone().setSheet(r.name()),i=n._ref.toRangeRef().clone().setSheet(r.name());if(o.intersects(i)){if(o.eq(i))return null;if(i=i.clone(),o.topLeft.eq(i.topLeft))if(o.width()==i.width())i.topLeft.row+=o.height(),t=0;else{if(o.height()!=i.height())throw new Nr(Ar);i.topLeft.col+=o.width(),t=1}else{if(!o.bottomRight.eq(i.bottomRight))throw new Nr(Ar);if(o.width()==i.width())i.bottomRight.row-=o.height(),t=2;else{if(o.height()!=i.height())throw new Nr(Ar);i.bottomRight.col-=o.width(),t=3}}return r.range(i)._previewFillFrom(e,t)}if(null==t)if(o.topLeft.col==i.topLeft.col)t=o.topLeft.row<i.topLeft.row?0:2;else{if(o.topLeft.row!=i.topLeft.row)throw new Nr("noFillDirection");t=o.topLeft.col<i.topLeft.col?1:3}var a=1&t,s=2&t;if(a&&o.height()!=i.height()||!a&&o.width()!=i.width())throw new Nr(Ar);var l,c=e._properties();a?l=i.width():(c=jr(c),l=i.height());for(var u=new Array(c.length),h=null,d=0;d<c.length;++d)for(var p=c[d],f=Pr(p),m=u[d]=new Array(l),v=0;v<l;++v){var g=s?-v-1:p.length+v,b=s?p.length-v%p.length-1:v%p.length,y=m[s?l-v-1:v]=f(g,b);null!=y.value&&(h=y.value)}return a||(u=jr(u)),{props:u,direction:t,dest:n,hint:h}},Fr.prototype.fillFrom=function(e,t){var n=this._previewFillFrom(e,t);return n.dest._properties(n.props,!0),n.dest};const Ur="string",Kr="function";let Wr=function(){this._defaultPrevented=!0},qr=function(){return!0===this._defaultPrevented};class $r{constructor(){this._events={}}bind(e,t,n){let r,o,i,a,s,l=this,c=typeof e===Ur?[e]:e,u=typeof t===Kr;if(void 0===t){for(r in e)l.bind(r,e[r]);return l}for(r=0,o=c.length;r<o;r++)e=c[r],a=u?t:t[e],a&&(n&&(i=a,a=function(){l.unbind(e,a),i.apply(l,arguments)},a.original=i),s=l._events[e]=l._events[e]||[],s.push(a));return l}one(e,t){return this.bind(e,t,!0)}first(e,t){let n,r,o,i,a=this,s=typeof e===Ur?[e]:e,l=typeof t===Kr;for(n=0,r=s.length;n<r;n++)e=s[n],o=l?t:t[e],o&&(i=a._events[e]=a._events[e]||[],i.unshift(o));return a}trigger(e,t){let n,r,o=this,i=o._events[e];if(i){for((t=t||{}).sender=o,t._defaultPrevented=!1,t.preventDefault=Wr,t.isDefaultPrevented=qr,i=i.slice(),n=0,r=i.length;n<r;n++)i[n].call(o,t);return!0===t._defaultPrevented}return!1}unbind(e,t){let n,r=this,o=r._events[e];if(void 0===e)r._events={};else if(o)if(t)for(n=o.length-1;n>=0;n--)o[n]!==t&&o[n].original!==t||o.splice(n,1);else r._events[e]=[];return r}}class Gr extends $r{constructor(e,t){super(),this.element=e,this.events=[],this.options=t}setOptions(e){this._setEvents(e),V({},this.options,e)}_setEvents(e){let t,n=this,r=0,o=n.events.length;for(;r<o;r++)t=n.events[r],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)}resize(e){const t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))}getSize(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}}destroy(){this.unbind()}}class Yr extends $r{constructor(e){super(),this.events=["activate","deactivate","change","update"],this.view=e,this.formulaBar=e.formulaBar,this._active=!1,this.barInput=e.formulaBar.formulaInput,this.cellInput=e.formulaInput,this.barInput.syncWith(this.cellInput),this.cellInput.syncWith(this.barInput),this.barInput.bind("keyup",this._triggerUpdate.bind(this)),this.cellInput.bind("keyup",this._triggerUpdate.bind(this)),this.barInput.bind("blur",this._blur.bind(this)),this.cellInput.bind("blur",this._blur.bind(this))}_blur(){this.deactivate()}_triggerUpdate(){this.trigger("update",{value:this.value()})}activeEditor(){let e=null,t=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}}();return this.barElement()===t?e=this.barInput:this.cellElement()===t&&(e=this.cellInput),e}activate(e){let t,n,r,o=this.view.element;return this._active=!0,this._rect=e.rect,this._range=e.range,this.cellInput.position(e.rect),this.cellInput.resize(e.rect),this.cellInput.tooltip(e.tooltip),this.cellInput.activeCell=this.barInput.activeCell=this._range.topLeft(),this.cellInput.activeSheet=this.barInput.activeSheet=this._range._sheet,o&&(t=o.offsetWidth,n=o.querySelector(".k-spreadsheet-scroller"),r=n.offsetWidth-n.clientWidth,this.cellInput.element.style.maxWidth=t-r-parseFloat(this.cellInput.element.style.left)+"px"),this.trigger("activate"),this}deactivate(e){let t=this.cellInput;this._active&&(this._active=!1,e||t.value()===this._value||this.trigger("change",{value:t.value(),range:this._range}),this._rect=null,t.hide(),this.trigger("deactivate"))}enable(e){this.barInput.enable(e),this.cellInput.enable(e)}barElement(){return this.barInput.element}cellElement(){return this.cellInput.element}focus(e){"cell"===(e=e||"cell")?(this.cellInput.element.focus(),this.cellInput.end()):this.barInput.focus()}isActive(){return this._active}isFiltered(){return this.barInput.popup.visible()||this.cellInput.popup.visible()}canInsertRef(e){let t=this.activeEditor();return t&&t.canInsertRef(e)}highlightedRefs(){let e=this.activeEditor(),t=[];return e&&(t=e.highlightedRefs()),t}scale(){this.cellInput.scale()}toggleTooltip(e){var t,n;this.cellInput.toggleTooltip((n=e,(t=this._rect)&&(t.top!==n.top||t.left!==n.left)))}value(e,t){if(void 0===e)return this.barInput.value();null===e&&(e=""),this._value=e,this.barInput.value(e),this.cellInput.value(e),this.barInput.element.classList.toggle("k-spreadsheet-array-formula",Boolean(t))}insertNewline(){this.activeEditor().insertNewline(),this.scale()}select(){this.activeEditor().select()}}const Xr=/&/g,Zr=/</g,Jr=/"/g,Qr=/'/g,eo=/>/g;class to{constructor(e,t){this._value=t,this._count=e,this.values=new br(0,e-1,t),this._hidden=new br(0,e-1,0),this.scrollBarSize=N(),this._refresh()}_resize(e){e>this._count?(this.values.value(this._count,e-1,this._value),this._hidden.value(this._count,e-1,0)):e<this._count&&(this.values.value(e,this._count-1,0),this._hidden.value(e,this._count-1,0)),this._count=e,this._refresh()}adjust(e,t){t<0?(this.values.copy(e-t,this._count-1,e),this._hidden.copy(e-t,this._count-1,e)):(this.values.copy(e,this._count,e+t),this._hidden.copy(e,this._count,e+t),this.values.value(e,e+t-1,this._value),this._hidden.value(e,e+t-1,0)),this._refresh()}toJSON(e,t){let n=[],r=this.values.iterator(0,this._count-1);for(let o=0;o<this._count;o++){let i=r.at(o),a=this._hidden.value(o,o);if(i===this._value&&!a)continue;let s=t[o];if(void 0===s){s=n.length;let r={index:o};r[e]=i,a&&(r.hidden=a),n.push(r),t[o]=s}}return n}fromJSON(e,t){for(let n=0;n<t.length;n++){let r=t[n],o=r.index;void 0===o&&(o=n);let i=r[e];0===i?(this._hidden.value(o,o,r.hidden||this._value),this.value(o,o,0)):this.value(o,o,i)}}hide(e){if(!this.hidden(e)){let t=this.value(e,e);this._hidden.value(e,e,t),this.value(e,e,0)}}hidden(e){return 0!==this._hidden.value(e,e)}includesHidden(e,t){return this._hidden.intersecting(e,t).length>1}nextVisible(e){let t=this._count-1,n=e;for(;++n<=t;)if(!this.hidden(n))return n;return e}nextUntil(e,t){let n=this._count-1,r=e,o=!1;for(;++r<=n;){let e=t(r,o,this.hidden(r));if("number"==typeof e)return e;if(e)break;o=!0}return r-1}nextPage(e,t){return this.index(this.sum(0,e-1)+t)}prevPage(e,t){return this.index(this.sum(0,e)-t)}firstVisible(){let e=this._hidden.first();return 0===e.value?0:e.end+1}lastVisible(){let e=this._hidden.last();return 0===e.value?this._count-1:e.start-1}prevVisible(e){let t=e;for(;--t>=0;)if(!this.hidden(t))return t;return e}prevUntil(e,t){let n=e,r=!1;for(;--n>=0;){let e=t(n,r,this.hidden(n));if("number"==typeof e)return e;if(e)break;r=!0}return n+1}unhide(e){if(this.hidden(e)){let t=this._hidden.value(e,e);this._hidden.value(e,e,0),this.value(e,e,t)}}value(e,t,n){if(void 0===n)return this.values.iterator(e,t).at(0);this.values.value(e,t,n),this._refresh()}sum(e,t){let n=this.values.iterator(e,t),r=0;for(let o=e;o<=t;o++)r+=n.at(o);return r}locate(e,t,n){let r=this.values.iterator(e,t),o=0;for(let i=e;i<=t;i++)if(o+=r.at(i),n(o))return i;return null}visible(e,t){let n=null,r=null,o=!1;t>=this.total+this.scrollBarSize&&(o=!0);let i=this._pixelValues.intersecting(e,t);if(n=i[0],r=i[i.length-1],!n)return{values:this.values.iterator(0,0),offset:0};let a=e-n.start,s=(a/n.value.value>>0)+n.value.start,l=a-(s-n.value.start)*n.value.value,c=t-r.start,u=(c/r.value.value>>0)+r.value.start;return u>r.value.end&&(u=r.value.end),o&&(l+=r.value.value-(c-(u-r.value.start)*r.value.value)),l=Math.min(-l,0),{values:this.values.iterator(s,u),offset:l}}index(e){let t=0,n=this.values.iterator(0,this._count-1),r=n.at(0);for(;r<e&&t<this._count-1;)r+=n.at(++t);return t}indexVisible(e){let t=this.index(e);return this.hidden(t)&&(t=this.prevVisible(t)),t}_refresh(){let e=0;this._pixelValues=this.values.map((function(t){let n=e;return e+=(t.end-t.start+1)*t.value,new dr(n,e-1,t)})),this.total=e}getState(){return{values:this.values.getState(),hidden:this._hidden.getState(),count:this._count}}setState(e){this.values.setState(e.values),this._hidden.setState(e.hidden);let t=this._count;t>e.count?(this._count=e.count,this._resize(t)):this._refresh()}}class no{constructor(e,t,n,r){this._axis=e,this._start=t,this._count=n,this.hasHeader=0===t,this.headerSize=r,this.defaultValue=e._value,this.frozen=n>0}viewSize(e){this._viewSize=e}sum(e,t){return this._axis.sum(e,t-1)}start(){return this.sum(0,this._start)}size(){return this.sum(this._start,this._start+this._count)}index(e,t){return this._axis.index(e+(this.frozen?0:t)-this.headerSize)}indexVisible(e,t){return this._axis.indexVisible(e+(this.frozen?0:t)-this.headerSize)}paneSegment(){let e,t=this.start();return this.hasHeader||(t+=this.headerSize),this.frozen?(e=this.size(),this.hasHeader?e+=this.headerSize:e-=this.headerSize):e=this._viewSize-t,{offset:t,length:e}}visible(e){let t,n=this.start();this.frozen?(t=this.size(),this.hasHeader||(t-=this.headerSize)):(t=this._viewSize-n-this.headerSize,n+=e);let r=this._axis.visible(n,n+t-1);return this.frozen&&(r.offset=0),r.start=n,this.hasHeader&&(r.offset+=this.headerSize,r.start-=this.headerSize),r}contains(e,t){return this.frozen?!(e>this._start+this._count||t<this._start):t>=this._start}}class ro{constructor(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r,this.right=this.left+this.width,this.bottom=this.top+this.height}offset(e,t){return new ro(this.left+e,this.top+t,this.width,this.height)}resize(e,t){return new ro(this.left,this.top,this.width+e,this.height+t)}intersects(e,t){return e instanceof ro?this.intersectsRect(e):this.left<e&&e<this.left+this.width&&this.top<t&&t<this.top+this.height}intersectsRect(e){let t=this;return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}toDiv(e){return ne.element("div",{className:e,style:{width:this.width+"px",height:this.height+"px",top:this.top+"px",left:this.left+"px"}})}}class oo{constructor(e,t,n,r,o,i){this.rowCount=n,this.columnCount=r,this._columns=t,this._rows=e,this._headerHeight=o,this._headerWidth=i}_resize(e,t){this.rowCount=e,this.columnCount=t}isAxis(e){let t=(e=e.toRangeRef()).topLeft,n=e.bottomRight;return 0===t.row&&n.row===this.rowCount-1||0===t.col&&n.col===this.columnCount-1}width(e,t){return this._columns.sum(e,t)}height(e,t){return this._rows.sum(e,t)}totalHeight(){return this._rows.total+this._headerHeight}totalWidth(){return this._columns.total+this._headerWidth}index(e,t){return t*this.rowCount+e}cellRef(e){return new w(e%this.rowCount,e/this.rowCount>>0)}rowRef(e){return new x(new w(e,0),new w(e,this.columnCount-1))}colRef(e){return new x(new w(0,e),new w(this.rowCount-1,e))}cellRefIndex(e){return this.index(e.row,e.col)}normalize(e){return e instanceof x?new x(this.normalize(e.topLeft),this.normalize(e.bottomRight)).setSheet(e.sheet,e.hasSheet()):e instanceof k?e.map((function(e){return this.normalize(e)}),this):(e instanceof w&&((e=e.clone()).col=Math.max(0,Math.min(this.columnCount-1,e.col)),e.row=Math.max(0,Math.min(this.rowCount-1,e.row))),e)}rectangle(e){let t=this.normalize(e.topLeft),n=this.normalize(e.bottomRight);return new ro(this.width(0,t.col-1),this.height(0,t.row-1),this.width(t.col,n.col),this.height(t.row,n.row))}pane(e){return new io(new no(this._rows,e.row,e.rowCount,this._headerHeight),new no(this._columns,e.column,e.columnCount,this._headerWidth),this)}rangeDimensions(e){return{rows:this._rows.values.iterator(e.topLeft.row,e.bottomRight.row),columns:this._columns.values.iterator(e.topLeft.col,e.bottomRight.col)}}forEach(e,t){let n=this.normalize(e.topLeft),r=this.normalize(e.bottomRight);for(let e=n.col;e<=r.col;e++)for(let o=n.row;o<=r.row;o++)t(new w(o,e))}trim(e,t){let n=this.normalize(e.topLeft),r=this.normalize(e.bottomRight),o=n.row,i=n.col;for(let e=n.col;e<=r.col;e++){let a=this.index(n.row,e),s=this.index(r.row,e),l=t.tree.intersecting(a,s);if(l.length){let t=this.cellRef(l[l.length-1].end);o=Math.max(o,t.row),i=e}}return new x(e.topLeft,new w(Math.min(o,e.bottomRight.row),i))}}class io{constructor(e,t,n){this.rows=e,this.columns=t,this._grid=n,this.headerHeight=e.headerSize,this.headerWidth=t.headerSize,this.hasRowHeader=t.hasHeader,this.hasColumnHeader=e.hasHeader}refresh(e,t){this.columns.viewSize(e),this.rows.viewSize(t);let n=this.columns.paneSegment(),r=this.rows.paneSegment();this.left=n.offset,this.top=r.offset,this.right=n.offset+n.length,this.bottom=r.offset+r.length,this.style={top:r.offset+"px",left:n.offset+"px",height:r.length+"px",width:n.length+"px"}}view(e,t){let n=this.rows.visible(t),r=this.columns.visible(e);return{rows:n,columns:r,rowOffset:n.offset,columnOffset:r.offset,mergedCellLeft:r.start,mergedCellTop:n.start,ref:new x(new w(n.values.start,r.values.start),new w(n.values.end,r.values.end))}}contains(e){return this.rows.contains(e.topLeft.row,e.bottomRight.row)&&this.columns.contains(e.topLeft.col,e.bottomRight.col)}index(e,t){return this._grid.index(e,t)}boundingRectangle(e){return this._grid.rectangle(e)}cellRefIndex(e){return this._grid.cellRefIndex(e)}scrollBoundaries(e){let t=this.boundingRectangle(e),n={top:Math.max(0,t.top-this.top+(this.hasColumnHeader?0:this.headerHeight)),left:Math.max(0,t.left-this.left+(this.hasRowHeader?0:this.headerWidth)),right:t.right-this.columns._viewSize+this.headerWidth,bottom:t.bottom-this.rows._viewSize+this.headerHeight},r=this.columns.defaultValue/2,o=this.rows.defaultValue/2;return n.scrollTop=n.top-o,n.scrollBottom=n.bottom+o,n.scrollLeft=n.left-r,n.scrollRight=n.right+r,n}}class ao{constructor(e,t){this._grid=e,this._lists=t}indices(e,t,n,r){let o=ao.ascendingComparer;return!1===n&&(o=ao.descendingComparer),t.sortedIndices(this._grid.cellRefIndex(e.topLeft),this._grid.cellRefIndex(e.bottomRight),o,r)}sortBy(e,t,n,r,o){let i=this.indices(e.toColumn(t),n,r,o);for(let t=e.topLeft.col;t<=e.bottomRight.col;t++){let n=this._grid.index(e.topLeft.row,t),r=this._grid.index(e.bottomRight.row,t);for(let e=0;e<this._lists.length;e++)n<this._lists[e].lastRangeStart()&&this._lists[e].sort(n,r,i)}return i}}ao.ascendingComparer=function(e,t){if(null===e&&null===t)return 0;if(null===e)return 1;if(null===t)return-1;let n=typeof e,r=typeof t;if("number"===n)return"number"===r?e-t:-1;if("string"===n)switch(r){case"number":return 1;case"string":return e.localeCompare(t);default:return-1}if("boolean"===n)switch(r){case"number":case"string":return 1;case"boolean":return e-t;default:return-1}if(e instanceof T)return t instanceof T?0:1;throw new Error("Cannot compare "+e+" and "+t)},ao.descendingComparer=function(e,t){return null===e&&null===t?0:null===e?1:null===t?-1:ao.ascendingComparer(t,e)};class so{constructor(e){this._sheet=e}forEachSelectedColumn(e){let t=this._sheet;t.batch((function(){t.select().forEachColumnIndex((function(n,r){e(t,n,r)}))}),{layout:!0,recalc:!0})}forEachSelectedRow(e){let t=this._sheet;t.batch((function(){t.select().forEachRowIndex((function(n,r){e(t,n,r)}))}),{layout:!0,recalc:!0})}includesHiddenColumns(e){return this._sheet._grid._columns.includesHidden(e.topLeft.col,e.bottomRight.col)}includesHiddenRows(e){return this._sheet._grid._rows.includesHidden(e.topLeft.row,e.bottomRight.row)}selectionIncludesHiddenColumns(){return this.includesHiddenColumns(this._sheet.select())}selectionIncludesHiddenRows(){return this.includesHiddenRows(this._sheet.select())}deleteSelectedColumns(){let e=[],t=0;return this.forEachSelectedColumn((function(n,r){if(r-=t,n.isHiddenColumn(r))return;t++;let o=[];e.unshift({index:r,formulas:o,width:n.columnWidth(r)}),n._saveModifiedFormulas(o,(function(){n.deleteColumn(r)}))})),e}deleteSelectedRows(){let e=[],t=0;return this.forEachSelectedRow((function(n,r){if(r-=t,n.isHiddenRow(r))return;t++;let o=[];e.unshift({index:r,formulas:o,height:n.rowHeight(r)}),n._saveModifiedFormulas(o,(function(){n.deleteRow(r)}))})),e}hideSelectedColumns(){this.forEachSelectedColumn((function(e,t){e.hideColumn(t)}));let e=this._sheet,t=e.select().toRangeRef(),n=t.topLeft.col,r=t.bottomRight.col,o=null;for(;;){let t=r<e._columns._count,i=n>=0;if(!i&&!t)break;if(t&&!e.isHiddenColumn(r)){o=r;break}if(i&&!e.isHiddenColumn(n)){o=n;break}n--,r++}null!==o&&(t=new x(new w(0,o),new w(e._rows._count-1,o)),e.range(t).select())}hideSelectedRows(){this.forEachSelectedRow((function(e,t){e.hideRow(t)}));let e=this._sheet,t=e.select().toRangeRef(),n=t.topLeft.row,r=t.bottomRight.row,o=null;for(;;){let t=r<e._rows._count,i=n>=0;if(!i&&!t)break;if(t&&!e.isHiddenRow(r)){o=r;break}if(i&&!e.isHiddenRow(n)){o=n;break}n--,r++}null!==o&&(t=new x(new w(o,0),new w(o,e._columns._count-1)),e.range(t).select())}unhideSelectedColumns(){this.forEachSelectedColumn((function(e,t){e.unhideColumn(t)}))}unhideSelectedRows(){this.forEachSelectedRow((function(e,t){e.unhideRow(t)}))}addColumnLeft(){let e,t=this._sheet,n=0;return t.batch((function(){t.select().forEachColumnIndex((function(r){e||(e=r),t.insertColumn(e),++n}))}),{recalc:!0,layout:!0}),{base:e,count:n}}addColumnRight(){let e,t=this._sheet,n=0;return t.batch((function(){t.select().forEachColumnIndex((function(t){e=t+1,++n}));for(let r=0;r<n;++r)t.insertColumn(e)}),{recalc:!0,layout:!0}),{base:e,count:n}}addRowAbove(){let e,t=this._sheet,n=0,r=t.select();return t.batch((function(){r.forEachRowIndex((function(r){e||(e=r),t.insertRow(e),++n}))}),{recalc:!0,layout:!0}),{base:e,count:n}}addRowBelow(){let e,t=this._sheet,n=0;return t.batch((function(){t.select().forEachRowIndex((function(t){e=t+1,++n}));for(let r=0;r<n;++r)t.insertRow(e)}),{recalc:!0,layout:!0}),{base:e,count:n}}}class lo{constructor(e){this._grid=e}rectIsVertical(e,t,n,r){let o=this._grid.rectangle(e.toRangeRef()),i=this._grid.rectangle(t.toRangeRef());return Math.abs(i[r]-o[r])>Math.abs(o[n]-i[n])}autoFillDest(e,t){let n,r,o,i,a,s=e.topLeft,l=e.bottomRight,c=t.row>=s.row,u=t.col>=s.col;if(n=c?u?4:3:u?2:1,4===n)r=s,o=l,a=t.row>o.row||t.col>o.col,a&&(t=new w(Math.max(t.row,o.row),Math.max(t.col,o.col))),i=this.rectIsVertical(o,t,"right","bottom")?new w(t.row,o.col):new w(o.row,t.col);else if(3===n){let e=new w(s.col,l.row);t.row>l.row&&this.rectIsVertical(e,t,"left","bottom")?(r=s,i=new w(t.row,l.col)):(r=l,i=new w(s.row,t.col))}else if(2===n){let e=new w(s.row,l.col);t.col>l.col&&!this.rectIsVertical(e,t,"right","top")?(r=s,i=new w(l.row,t.col)):(r=l,i=new w(t.row,s.col))}else r=l,i=this.rectIsVertical(s,t,"left","top")?new w(t.row,s.col):new w(s.row,t.col);return this._grid.normalize(new x(r,i))}}class co{constructor(e,t,n,r){this.rangeGetter=n,this.prevLeft=function(n){var o=r(this.range(n)),i=this.range(t.prevVisible(o.topLeft[e]));return r(i).topLeft[e]},this.nextRight=function(n){var o=r(this.range(n)),i=this.range(t.nextVisible(o.bottomRight[e]));return r(i).bottomRight[e]},this.nextLeft=function(n){var o=r(this.range(n));return t.nextVisible(o.bottomRight[e])},this.prevRight=function(n){var o=r(this.range(n));return t.prevVisible(o.topLeft[e])}}boundary(e,t){this.top=e,this.bottom=t}range(e){return this.rangeGetter(e,this.top,this.bottom)}}class uo{constructor(e){this._sheet=e,this.autoFillCalculator=new lo(e._grid),this.colEdge=new co("col",this._sheet._grid._columns,this.columnRange.bind(this),this.union.bind(this)),this.rowEdge=new co("row",this._sheet._grid._rows,this.rowRange.bind(this),this.union.bind(this))}height(e){this._viewPortHeight=e}union(e){return this._sheet.unionWithMerged(e)}columnRange(e,t,n){return this._sheet._ref(t,e,n-t,1)}rowRange(e,t,n){return this._sheet._ref(e,t,1,n-t)}selectionIncludesMergedCells(){return this._sheet.select().contains(this._sheet._mergedCells)}setSelectionValue(e){var t=this._sheet.selection();setTimeout((function(){t.value(e())}))}selectAll(){this._sheet.select(this._sheet._sheetRef)}select(e,t,n){e=this.refForMode(e,t),n&&(e=this._sheet.select().concat(e)),this._sheet.select(e)}refForMode(e,t){var n=this._sheet._grid;switch(t){case"range":e=n.normalize(e);break;case"row":e=n.rowRef(e.row);break;case"column":e=n.colRef(e.col);break;case"sheet":e=this._sheet._sheetRef}return e}startSelection(e,t,n,r,o){if("autofill"===t)this._sheet.startAutoFill();else if(r&&"range"===t){var i=new x(this._sheet.activeCell().first(),e);this._sheet.select(i,!1,!1),this._sheet.startSelection(o)}else this._sheet.startSelection(o),this.select(e,t,n)}completeSelection(){this._sheet.completeSelection()}selectForContextMenu(e,t){var n=this._sheet;n._activeDrawing=null,n.select().contains(this.refForMode(e,t))||this.select(e,t)}selectDrawingForContextMenu(e){var t=this._sheet;t._activeDrawing=e,t.triggerChange({selection:!0})}modifySelection(e){var t,n=this.determineDirection(e),r=this._sheet,o=this._viewPortHeight,i=r._grid._rows,a=r._grid._columns,s=r.currentOriginalSelectionRange(),l=r.select().toRangeRef(),c=r.activeCell(),u=s.topLeft.clone(),h=s.bottomRight.clone(),d=new w(h.row,u.col);switch(this.colEdge.boundary(l.topLeft.row,l.bottomRight.row),this.rowEdge.boundary(l.topLeft.col,l.bottomRight.col),n){case"expand-left":u.col=this.colEdge.prevLeft(u.col),t=u;break;case"shrink-right":u.col=this.colEdge.nextLeft(u.col),t=u;break;case"expand-right":h.col=this.colEdge.nextRight(h.col),t=h;break;case"shrink-left":h.col=this.colEdge.prevRight(h.col),t=h;break;case"expand-up":u.row=this.rowEdge.prevLeft(u.row),t=u;break;case"shrink-down":u.row=this.rowEdge.nextLeft(u.row),t=u;break;case"expand-down":h.row=this.rowEdge.nextRight(h.row),t=h;break;case"shrink-up":h.row=this.rowEdge.prevRight(h.row),t=h;break;case"expand-page-up":u.row=i.prevPage(u.row,o);break;case"shrink-page-up":h.row=i.prevPage(h.row,o);break;case"expand-page-down":h.row=i.nextPage(h.row,o);break;case"shrink-page-down":u.row=i.nextPage(u.row,o);break;case"first-col":u.col=a.firstVisible(),h.col=c.bottomRight.col,t=u;break;case"last-col":h.col=a.lastVisible(),u.col=c.topLeft.col,t=h;break;case"first-row":u.row=i.firstVisible(),h.row=c.bottomRight.row,t=u;break;case"last-row":h.row=i.lastVisible(),u.row=c.topLeft.row,t=h;break;case"last":h.row=i.lastVisible(),h.col=a.lastVisible(),u=c.topLeft,t=h;break;case"first":u.row=i.firstVisible(),u.col=a.firstVisible(),h=c.bottomRight,t=u;break;case"expand-word-right":h.col=a.nextUntil(h.col,ho(r,h,!0)),t=h;break;case"shrink-word-right":u.col=a.nextUntil(d.col,ho(r,d,!0)),t=u;break;case"expand-word-left":u.col=a.prevUntil(d.col,ho(r,d,!0)),t=u;break;case"shrink-word-left":h.col=a.prevUntil(h.col,ho(r,h,!0)),t=h;break;case"expand-word-up":u.row=i.prevUntil(u.row,ho(r,u,!1)),t=u;break;case"shrink-word-up":h.row=i.prevUntil(h.row,ho(r,h,!1)),t=h;break;case"expand-word-down":h.row=i.nextUntil(h.row,ho(r,h,!1)),t=h;break;case"shrink-word-down":u.row=i.nextUntil(u.row,ho(r,u,!1)),t=u}var p=new x(u,h);this.union(p).intersects(c)?(t&&r.focus(t),this.updateCurrentSelectionRange(p)):this.modifySelection(n.replace("shrink","expand"))}moveActiveCell(e){var t=this._sheet,n=t.activeCell(),r=n.topLeft,o=n.bottomRight,i=t.originalActiveCell(),a=t._grid._rows,s=t._grid._columns,l=i.row,c=i.col;switch(e){case"left":c=s.prevVisible(r.col);break;case"up":l=a.prevVisible(r.row);break;case"right":c=s.nextVisible(o.col);break;case"down":l=a.nextVisible(o.row);break;case"first-col":c=s.firstVisible();break;case"last-col":c=s.lastVisible();break;case"first-row":l=a.firstVisible();break;case"last-row":l=a.lastVisible();break;case"last":l=a.lastVisible(),c=s.lastVisible();break;case"first":l=a.firstVisible(),c=s.firstVisible();break;case"next-page":l=a.nextPage(o.row,this._viewPortHeight);break;case"prev-page":l=a.prevPage(o.row,this._viewPortHeight);break;case"word-right":c=s.nextUntil(c,ho(t,o,!0));break;case"word-left":c=s.prevUntil(c,ho(t,o,!0));break;case"word-up":l=a.prevUntil(l,ho(t,o,!1));break;case"word-down":l=a.nextUntil(l,ho(t,o,!1))}t.select(new w(l,c))}navigateInSelection(e){var t,n,r,o=this._sheet,i=o.activeCell().topLeft,a=o.originalActiveCell(),s=o._grid._rows,l=o._grid._columns,c=a.row,u=a.col,h=!1,d=!1,p=i.col,f=i.row;function m(e){t=e.topLeft,n=e.bottomRight}m(o.currentNavigationRange());for(var v=!1,g=!1;!v&&!g;){var b=new w(c,u);switch(o.singleCellSelection()&&(h=t.eq(b)&&o._sheetRef.topLeft.eq(b),d=n.eq(b)&&o._sheetRef.bottomRight.eq(b),h||(h=l.firstVisible()===u&&s.firstVisible()===c),d||(d=l.lastVisible()===u&&s.lastVisible()===c)),e){case"next":d?g=!0:n.eq(b)?(m(o.nextNavigationRange()),c=t.row,u=t.col):((u=l.nextVisible(p))===p||u>n.col)&&(u=t.col,c=(r=s.nextVisible(c))===c||r>n.row?t.row:r);break;case"previous":h?(g=!0,this._sheet._workbook._view.element.querySelector(".k-spreadsheet-name-editor .k-input-inner").focus()):t.eq(b)?(m(o.previousNavigationRange()),c=n.row,u=n.col):((u=l.prevVisible(p))===p||u<t.col)&&(u=n.col,c=(r=s.prevVisible(c))===c||r<t.row?n.row:r);break;case"lower":n.eq(b)?(m(o.nextNavigationRange()),c=t.row,u=t.col):((c=s.nextVisible(f))===f||c>n.row)&&(c=t.row,u=(r=l.nextVisible(u))===u||r>n.col?t.col:r);break;case"upper":t.eq(b)?(m(o.previousNavigationRange()),c=n.row,u=n.col):((c=s.prevVisible(f))===f||c<t.row)&&(c=n.row,u=(r=l.prevVisible(u))===u||r<t.col?n.col:r);break;default:throw new Error("Unknown entry navigation: "+e)}v=!this.shouldSkip(c,u),p=u,f=c}v&&(o.singleCellSelection()?o.select(new w(c,u)):o.activeCell(new w(c,u)))}extendSelection(e,t){var n=this._sheet,r=n._grid;if("autofill"!==t){"range"===t?e=r.normalize(e):"row"===t?e=r.rowRef(e.row).bottomRight:"column"===t&&(e=r.colRef(e.col).bottomRight);var o=n.originalActiveCell().toRangeRef();this.updateCurrentSelectionRange(new x(o.topLeft,e))}else this.resizeAutoFill(e)}shouldSkip(e,t){if(this._sheet.isHiddenRow(e)||this._sheet.isHiddenColumn(t))return!0;var n=new w(e,t),r=!1;return this._sheet.forEachMergedCell((function(e){e.intersects(n)&&!e.collapse().eq(n)&&(r=!0)})),r}resizeAutoFill(e){var t,n,r=this._sheet,o=r.select(),i=r._autoFillOrigin,a=this.autoFillCalculator.autoFillDest(o,e),s=this.punch(o,a);if(!s){var l=r.range(a)._previewFillFrom(r.range(i));l&&(n=l.direction,t=l.hint)}r.updateAutoFill(a,s,t,n)}determineDirection(e){var t=this._sheet.currentSelectionRange(),n=this._sheet.activeCell(),r=n.topLeft.col===t.topLeft.col,o=n.bottomRight.col===t.bottomRight.col,i=n.topLeft.row===t.topLeft.row,a=n.bottomRight.row===t.bottomRight.row;switch(e){case"left":e=o?"expand-left":"shrink-left";break;case"right":e=r?"expand-right":"shrink-right";break;case"up":e=a?"expand-up":"shrink-up";break;case"down":e=i?"expand-down":"shrink-down";break;case"prev-page":e=a?"expand-page-up":"shrink-page-up";break;case"next-page":e=i?"expand-page-down":"shrink-page-down";break;case"word-left":e=o?"expand-word-left":"shrink-word-left";break;case"word-right":e=r?"expand-word-right":"shrink-word-right";break;case"word-up":e=a?"expand-word-up":"shrink-word-up";break;case"word-down":e=i?"expand-word-down":"shrink-word-down"}return e}updateCurrentSelectionRange(e){var t=this._sheet;t.select(t.originalSelect().replaceAt(t.selectionRangeIndex(),e),!1)}punch(e,t){var n;if(t.topLeft.eq(e.topLeft))if(t.bottomRight.row<e.bottomRight.row){var r=this.rowEdge.nextRight(t.bottomRight.row);n=new x(new w(r,e.topLeft.col),e.bottomRight)}else if(t.bottomRight.col<e.bottomRight.col){var o=this.colEdge.nextRight(t.bottomRight.col);n=new x(new w(e.topLeft.row,o),e.bottomRight)}return n}}function ho(e,t,n){var r=e.range(t).value();return function(o,i,a){if(a)return!0;var s=(n?e.range(t.row,o):e.range(o,t.col)).value();return null===r?null!==s&&o:i||null!==s?null===s:(r=null,!1)}}function po(e){return null==e?null:Se(e)}var fo=function(e){return e};class mo{constructor(e){this.options=Object.assign({columns:[]},this.options,e),this.columns=this._normalizeColumns(this.options.columns),this._sheet(),this._dataSource(),this._header(),this._boundRowsCount=0,this.dataSource.fetch()}_sheet(){this.sheet=this.options.sheet,this._sheetChangeHandler=this._sheetChange.bind(this),this._sheetDeleteRowHandler=this._sheetDeleteRow.bind(this),this._sheetInsertRowHandler=this._sheetInsertRow.bind(this),this.sheet.bind("change",this._sheetChangeHandler).bind("afterDeleteRow",this._sheetDeleteRowHandler).bind("afterInsertRow",this._sheetInsertRowHandler)}_sheetInsertRow(e){void 0!==e.index&&this.dataSource.insert(Math.max(e.index-1,0),{})}_sheetDeleteRow(e){if(void 0!==e.index){var t=this.dataSource,n=t.view()[e.index-1];n&&t.remove(n)}}_header(){this.sheet.batch(function(){this.columns.forEach(function(e,t){this.sheet.range(0,t).value(e.title)}.bind(this))}.bind(this))}_sheetChange(e){if(!e.insertRow&&!e.deleteRow&&e.recalc&&e.ref&&e.isValue){var t,n,r,o,i,a=this.dataSource,s=a.view(),l=this.columns,c=[],u=this.sheet,h=function(e){for(var t,r=0,i=(e=e.toRangeRef()).topLeft.row;i<=e.bottomRight.row;i++){(t=s[i-1])||(t=a.insert(i-1,{}),s=a.view());for(var u=0,h=e.topLeft.col;h<=e.bottomRight.col&&h<l.length;h++){var d=c[o][r][u++];t.set(l[h].field,n[h](d))}r++}};for(a.reader.model&&(t=a.reader.model.fields),!l.length&&s.length&&(l=Object.keys(s[0].toJSON())),n=l.map((function(e){var n=e.field;return n&&t&&t[n]&&"date"===t[n].type?po:fo})),this._skipRebind=!0,(r=u._grid.normalize(e.ref))instanceof k||(r=new k([r])),(i=r.refs).forEach((function(e){c.push(u.range(e).values())})),o=0;o<i.length;o++)i[o].forEach(h);this._boundRowsCount=a.view().length,this._skipRebind=!1}}_normalizeColumns(e){return e.map((function(e){var t=e.field||e;return{field:t,title:e.title||t}}))}_dataSource(){var e=this.options.dataSource;this.dataSource={data:e}}_error(){this._progress(!1)}_requestStart(){this._progress(!0)}_progress(e){this.sheet.trigger("progress",{toggle:e})}_change(){if(!this._skipRebind&&!this.sheet.trigger("dataBinding")){var e=this.dataSource.view(),t=this.columns;!t.length&&e.length&&(this.columns=t=this._normalizeColumns(Object.keys(e[0].toJSON())),this._header());var n=t.map((function(e){return function(e,t){let n=e+t;return H[n]=H[n]||new Function("d","return "+F(e,t)),H[n]}(e.field)}));this.sheet.batch(function(){for(var t=Math.max(e.length,this._boundRowsCount,this.sheet._grid.rowCount-1),r=0;r<t;r++)for(var o=0;o<n.length;o++){var i=e[r]?n[o](e[r]):null;this.sheet.range(r+1,o).value(i)}}.bind(this)),this._boundRowsCount=e.length,this._progress(!1),this.sheet.trigger("dataBound")}}destroy(){this.dataSource.unbind("change",this._changeHandler).unbind("progress",this._progressHandler).unbind("error",this._errorHandler),this.sheet.unbind("change",this._sheetChangeHandler).unbind("deleteRow",this._sheetDeleteRowHandler).unbind("insertRow",this._sheetInsertRowHandler)}}const vo=function(){function e(){return(0,o.getDate)(new Date)}return{dayOfWeek:o.dayOfWeek,getDate:o.getDate,isToday:function(t){return(0,o.getDate)(t).getTime()===e().getTime()},addDays:o.addDays,today:e,firstDayOfMonth:o.firstDayOfMonth}}(),go=/^\/Date\((.*?)\)\/$/;var bo=function(){function e(e){return"string"==typeof e&&(e=e.replace(/[\r\n]+/g,"")),JSON.stringify(e)}function t(t){return function(n,r,o,i){return r+="",o&&(n="("+n+" + '').toString()"+(i?".toLocaleLowerCase('"+i+"')":".toLowerCase()"),r=i?r.toLocaleLowerCase(i):r.toLowerCase()),t(n,e(r),o)}}function n(t,n,r,o,i){if(null!=r){if("string"==typeof r){var a=go.exec(r);a?r=new Date(+a[1]):o?(r=e(i?r.toLocaleLowerCase(i):r.toLowerCase()),n="(("+n+" || '')+'')"+(i?".toLocaleLowerCase('"+i+"')":".toLowerCase()")):r=e(r)}r.getTime&&(n="("+n+"&&"+n+".getTime?"+n+".getTime():"+n+")",r=r.getTime())}return n+" "+t+" "+r}function r(e){for(var t="/^",n=!1,r=0;r<e.length;++r){var o=e.charAt(r);if(n)t+="\\"+o;else{if("~"===o){n=!0;continue}"*"===o?t+=".*":"?"===o?t+=".":".+^$()[]{}|\\/\n\r\u2028\u2029 ".indexOf(o)>=0?t+="\\"+o:t+=o}n=!1}return t+"$/"}return{quote:function(t){return t&&t.getTime?"new Date("+t.getTime()+")":e(t)},eq:function(e,t,r,o){return n("==",e,t,r,o)},neq:function(e,t,r,o){return n("!=",e,t,r,o)},gt:function(e,t,r){return n(">",e,t,r)},gte:function(e,t,r){return n(">=",e,t,r)},lt:function(e,t,r){return n("<",e,t,r)},lte:function(e,t,r){return n("<=",e,t,r)},startswith:t((function(e,t){return e+".lastIndexOf("+t+", 0) == 0"})),doesnotstartwith:t((function(e,t){return e+".lastIndexOf("+t+", 0) == -1"})),endswith:t((function(e,t){return e+".indexOf("+t+", "+e+".length - "+(t?t.length-2:0)+") >= 0"})),doesnotendwith:t((function(e,t){return e+".indexOf("+t+", "+e+".length - "+(t?t.length-2:0)+") < 0"})),contains:t((function(e,t){return e+".indexOf("+t+") >= 0"})),doesnotcontain:t((function(e,t){return e+".indexOf("+t+") == -1"})),matches:t((function(e,t){return r(t=t.substring(1,t.length-1))+".test("+e+")"})),doesnotmatch:t((function(e,t){return"!"+r(t=t.substring(1,t.length-1))+".test("+e+")"})),isempty:function(e){return e+" === ''"},isnotempty:function(e){return e+" !== ''"},isnull:function(e){return"("+e+" == null)"},isnotnull:function(e){return"("+e+" != null)"},isnullorempty:function(e){return"("+e+" === null) || ("+e+" === '')"},isnotnullorempty:function(e){return"("+e+" !== null) && ("+e+" !== '')"}}}();const yo=function(e){var t,n,r,o,i,a,s=[],l=[],c=[],u=e.filters;for(t=0,n=u.length;t<n;t++)i=(r=u[t]).field,a=r.operator,r.filters?(r=(o=yo(r)).expression.replace(/__o\[(\d+)\]/g,(function(e,t){return t=+t,"__o["+(c.length+t)+"]"})).replace(/__f\[(\d+)\]/g,(function(e,t){return t=+t,"__f["+(l.length+t)+"]"})),c.push.apply(c,o.operators),l.push.apply(l,o.fields)):("function"==typeof i?(o="__f["+l.length+"](d)",l.push(i)):o=F(i),"function"==typeof a?(r="__o["+c.length+"]("+o+", "+bo.quote(r.value)+")",c.push(a)):r=bo[(a||"eq").toLowerCase()](o,r.value,void 0===r.ignoreCase||r.ignoreCase,e.accentFoldingFiltering)),s.push(r);return{expression:"("+s.join({and:" && ",or:" || "}[e.logic])+")",fields:l,operators:c}};let wo={};class xo{prepare(){}value(e){return e.value}matches(){throw new Error("The 'matches' method is not implemented.")}toJSON(){throw new Error("The 'toJSON' method is not implemented.")}}xo.create=function(e){var t=e.filter;if(!t)throw new Error("Filter type not specified.");var n=wo[t.charAt(0).toUpperCase()+t.substring(1)+"Filter"];if(!n)throw new Error("Filter type not recognized.");return new n(e)};class ko extends xo{constructor(e){super(e),this._values=[],this._dates=[],this._blanks=!1,void 0!==e.values&&(this._values=e.values),void 0!==e.blanks&&(this._blanks=e.blanks),void 0!==e.dates&&(this._dates=e.dates)}value(e){var t=e.value;return this._dates.length>0&&e.format&&"number"==typeof t&&"date"===Un.type(t,e.format)&&(t=Se(t)),t}matches(e){return null==e?this._blanks:e instanceof Date?this._dates.some((function(t){return!(t.year!==e.getFullYear()||void 0!==t.month&&t.month!==e.getMonth()||void 0!==t.day&&t.day!==e.getDate()||void 0!==t.hours&&t.hours!==e.getHours()||void 0!==t.minutes&&t.minutes!==e.getMinutes()||void 0!==t.seconds&&t.seconds!==e.getSeconds())})):this._values.indexOf(e)>=0}toJSON(){return{filter:"value",blanks:this._blanks,values:this._values.slice(0)}}}class zo extends xo{constructor(e){if(super(e),this._logic="and",void 0!==e.logic&&(this._logic=e.logic),void 0===e.criteria)throw new Error("Must specify criteria.");this._criteria=e.criteria;var t=yo({logic:this._logic,filters:this._criteria,accentFoldingFiltering:K().name}).expression;this._matches=new Function("d","return "+t)}matches(e){return null!==e&&this._matches(e)}value(e){var t=e.value,n=this._criteria[0].value,r=n instanceof Date?"date":typeof n,o=typeof t;return e.format&&(o=Un.type(t,e.format)),o!=r?"string"==r&&(e.format&&(t=Un.text(t,e.format)),t+=""):"date"==o&&(t=Se(t)),t}toJSON(){return{filter:"custom",logic:this._logic,criteria:this._criteria}}}class Co extends xo{constructor(e){super(e),this._type=e.type,this._value=e.value,this._values=[]}prepare(e){var t=e.map(this.value).sort().filter((function(e,t,n){return 0===t||e!==n[t-1]}));"topNumber"===this._type||"topPercent"==this._type?t.sort((function(e,t){return t-e})):t.sort((function(e,t){return e-t}));var n=this._value;"topPercent"!==this._type&&"bottomPercent"!==this._type||(n=t.length*n/100>>0),this._values=t.slice(0,n)}matches(e){return this._values.indexOf(e)>=0}toJSON(){return{filter:"top",type:this._type,value:this._value}}}class _o extends xo{constructor(e){if(super(e),this._type=e.type,this._predicate=this[e.type],"function"!=typeof this._predicate)throw new Error("DynamicFilter type '"+e.type+"' not recognized.")}value(e){var t=e.value;return e.format&&"date"===Un.type(t,e.format)&&(t=Se(t)),t}prepare(e){for(var t=0,n=0,r=0;r<e.length;r++){var o=this.value(e[r]);"number"==typeof o&&(t+=o,n++)}this._average=n>0?t/n:0}matches(e){return this._predicate(e)}aboveAverage(e){return e instanceof Date&&(e=Oe(e)),"number"==typeof e&&e>this._average}belowAverage(e){return e instanceof Date&&(e=Oe(e)),"number"==typeof e&&e<this._average}tomorrow(e){if(e instanceof Date){var t=vo.addDays(vo.today(),1);return vo.getDate(e).getTime()===t.getTime()}return!1}today(e){return e instanceof Date&&vo.isToday(e)}yesterday(e){if(e instanceof Date){var t=vo.addDays(vo.today(),-1);return vo.getDate(e).getTime()===t.getTime()}return!1}nextWeek(e){return Mo(vo.addDays(vo.today(),7),e)}thisWeek(e){return Mo(vo.today(),e)}lastWeek(e){return Mo(vo.addDays(vo.today(),-7),e)}nextMonth(e){return So(e,1)}thisMonth(e){return So(e,0)}lastMonth(e){return So(e,-1)}nextQuarter(e){if(e instanceof Date){var t=vo.today(),n=Io(e)-Io(t);return 1===n&&t.getFullYear()===e.getFullYear()||-3==n&&t.getFullYear()+1===e.getFullYear()}return!1}thisQuarter(e){if(e instanceof Date){var t=vo.today();return 0==Io(e)-Io(t)&&t.getFullYear()===e.getFullYear()}return!1}lastQuarter(e){if(e instanceof Date){var t=vo.today(),n=Io(t)-Io(e);return 1===n&&t.getFullYear()===e.getFullYear()||-3==n&&t.getFullYear()-1===e.getFullYear()}return!1}nextYear(e){return Eo(e,1)}thisYear(e){return Eo(e,0)}lastYear(e){return Eo(e,-1)}yearToDate(e){if(e instanceof Date){var t=vo.today();return e.getFullYear()===t.getFullYear()&&e<=t}return!1}toJSON(){return{filter:"dynamic",type:this._type}}}function Io(e){var t=e.getMonth()+1;return t>=1&&t<=3?1:t>=4&&t<=6?2:t>=7&&t<=9?3:4}function Eo(e,t){if(e instanceof Date){var n=vo.today();return n.setFullYear(n.getFullYear()+t),n.getFullYear()===e.getFullYear()}return!1}function So(e,t){if(e instanceof Date){var n=vo.firstDayOfMonth(vo.today());return n.setMonth(n.getMonth()+t,1),n.getTime()===vo.firstDayOfMonth(e).getTime()}return!1}function Mo(e,t){if(t instanceof Date){var n=vo.dayOfWeek(vo.getDate(e),1),r=vo.dayOfWeek(vo.getDate(t),1);return n.getTime()===r.getTime()}return!1}var Oo;wo={Filter:xo,ValueFilter:ko,CustomFilter:zo,TopFilter:Co},[1,2,3,4].forEach((function(e){_o.prototype["quarter"+e]=function(t){return t instanceof Date&&Io(t)===e}}));class Ro{constructor(e){this._sheet=e,this.selection=z.toRangeRef(),this.originalSelection=z.toRangeRef(),this._activeCell=z.toRangeRef(),this.originalActiveCell=z}currentSelectionRange(){return this.selection.rangeAt(this.selectionRangeIndex).toRangeRef()}currentOriginalNavigationRange(){return this.originalSelection.rangeAt(this.selectionRangeIndex).toRangeRef()}currentNavigationRange(){return this.singleCellSelection()?this._sheet._sheetRef:this.selection.rangeAt(this.selectionRangeIndex).toRangeRef()}nextNavigationRange(){return this.singleCellSelection()||(this.selectionRangeIndex=this.selection.nextRangeIndex(this.selectionRangeIndex)),this.currentNavigationRange()}previousNavigationRange(){return this.singleCellSelection()||(this.selectionRangeIndex=this.selection.previousRangeIndex(this.selectionRangeIndex)),this.currentNavigationRange()}activeCell(e){return e&&(this.originalActiveCell=e.first(),this._activeCell=this._sheet.unionWithMerged(e.toRangeRef()),this._sheet.focus(e),this._sheet.triggerChange({activeCell:!0,selection:!0})),this._activeCell}select(e,t,n,r){if(e){if(e.eq(this.originalSelection))return;if(this._sheet.triggerSelect(new Fr(e,this._sheet)),this.originalSelection=e,this.selection=t,!1!==n){if(e.isCell())this._sheet.forEachMergedCell(e,(function(t){e=t.topLeft})),this.activeCell(e);else{if(e=this.selection.lastRange(),r&&r._sheet===this._sheet&&r.panes[0]){var o,i,a,s,l,c,u=r.panes;for(o=0;o<u.length&&(!(i=u[o])._currentView||(a=i._currentView.rows.values,s=i._currentView.columns.values,l=new x(new w(a.start,s.start),new w(a.end,s.end)),(c=e.intersect(l))===b));o++);c&&c!==b&&(e=c)}this.activeCell(e.first())}this.selectionRangeIndex=this.selection.size()-1}else this._sheet.triggerChange({selection:!0})}return this.selection}singleCellSelection(){return this._activeCell.eq(this.selection)}}class Ho extends $r{constructor(){super(),this.events=["changing","commandRequest","afterInsertRow","afterDeleteRow","insertRow","insertColumn","deleteRow","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","dataBinding","dataBound","progress"],this._reinit.apply(this,arguments)}activeCellCustomEditor(){}_reinit(e,t,n,r,o,i,a){a=a||{},this._defaultCellStyle={background:a.background,color:a.color,fontFamily:a.fontFamily,fontSize:a.fontSize,italic:a.italic,bold:a.bold,underline:a.underline,wrap:a.wrap,verticalAlign:a.verticalAlign,textAlign:a.textAlign},this._rows=new to(e,n),this._columns=new to(t,r),this._filteredRows=new br(0,e-1,!1),this._mergedCells=[],this._frozenRows=0,this._frozenColumns=0,this._suspendChanges=!1,this._filter=null,this._showGridLines=!0,this._gridLinesColor=null,this._grid=new oo(this._rows,this._columns,e,t,o,i),this._sheetRef=this._grid.normalize(C),this._properties=new Cr(e,t,this._defaultCellStyle),this._sorter=new ao(this._grid,this._properties.sortable()),this._viewSelection=new Ro(this),this._editSelection=new Ro(this),this._formulaSelections=[],this._drawings=[]}resize(e,t){e=Math.max(e,1),t=Math.max(t,1);var n=this._rows._count,r=this._columns._count;e<n&&this.range(e,0,n-e,r).clear(),t<r&&this.range(0,t,n,r-t).clear(),this._rows._resize(e),this._columns._resize(t),this._grid._resize(e,t),this._properties._resize(e,t),this._sheetRef=this._grid.normalize(C),e>n&&(this.range(n,0,e-n,t).clear(),this._filteredRows.value(n,e-1,!1)),t>r&&this.range(0,r,e,t-r).clear(),this.triggerChange({layout:!0})}_resizeAddRow(e){this.resize(this._rows._count+(e||1),this._columns._count)}_resizeAddColumn(e){this.resize(this._rows._count,this._columns._count+(e||1))}_resizeDeleteRow(e){this._resizeAddRow(-(e||1))}_resizeDeleteColumn(e){this._resizeAddColumn(-(e||1))}_resizeForJSON(e){for(var t=e.length,n=0,r=0;r<e.length;++r){var o=e[r];if(null!=o.index&&(t=Math.max(t,o.index+1)),o.cells){n=Math.max(n,o.cells.length);for(var i=0;i<o.cells.length;++i){var a=o.cells[i];null!=a.index&&(n=Math.max(n,a.index+1))}}}this.resize(Math.max(t,this._rows._count),Math.max(n,this._columns._count))}_selectionState(){return this._inEdit?this._editSelection:this._viewSelection}navigator(){return this._navigator||(this._navigator=new uo(this)),this._navigator}axisManager(){return this._axisManager||(this._axisManager=new so(this)),this._axisManager}_name(e){return e?(this._sheetName=e,this):this._sheetName}name(){return this._name()}_property(e,t,n){return void 0===t?e():(e(t),this.triggerChange(n))}_field(e,t,n){return void 0===t?this[e]:(this[e]=t,this.triggerChange(n))}suspendChanges(e){return void 0===e?this._suspendChanges:(this._suspendChanges=e,this)}triggerChange(e){return this._suspendChanges?e&&e.isValue&&(this._valueChanged=!0):this.trigger("change",e),this}triggerSelect(e){this.trigger("select",{range:e})}setDataSource(e,t){this.dataSourceBinder&&this.dataSourceBinder.destroy(),this.dataSourceBinder=new mo({dataSource:e,sheet:this,columns:t}),this.dataSource=this.dataSourceBinder.dataSource}hideColumn(e){if(!this.trigger("hideColumn",{index:e}))return this._property(this._columns.hide.bind(this._columns),e,{layout:!0})}unhideColumn(e){if(!this.trigger("unhideColumn",{index:e}))return this._property(this._columns.unhide.bind(this._columns),e,{layout:!0})}isHiddenColumn(e){return this._grid._columns.hidden(e)}_copyRange(e,t){var n=this._grid,r=n.rowCount,o=n.normalize(e.topLeft),i=n.normalize(e.bottomRight),a=o.col*r+o.row,s=i.col*r+i.row,l=t.col*r+t.row;this._properties.copy(a,s,l)}_saveModifiedFormulas(e,t){var n=Oo;Oo=e;var r=t();return Oo=n,r}_restoreModifiedFormulas(e){var t=this._workbook;e.forEach((function(e){var n,r=t.sheetByName(e.sheet);e instanceof re.runtime.Formula&&(n=r._grid.cellRefIndex(e),r._properties.set("formula",n,n,e)),e instanceof Or.Validation&&(n=r._grid.cellRefIndex(e),r._properties.set("validation",n,n,e))}))}_adjustReferences(e,t,n,r){if(this._mergedCells=r.reduce((function(r,o){return(o=o.adjust(null,null,null,null,"row"===e,t,n))instanceof x&&r.push(o),r}),[]),this._workbook){var o=this._name();this._workbook._sheets.forEach((function(r){r._forFormulas((function(r){var i=r.adjust(o,e,t,n);i&&Oo&&Oo.push(i)})),r._forValidations((function(r){var i=r.adjust(o,e,t,n);i&&Oo&&Oo.push(i)}))})),this._workbook.adjustNames(o,"row"===e,t,n)}var i=this.select();(i=i.adjust(null,null,null,null,"row"===e,t,n))!==b&&this.select(i),("col"===e?this._columns:this._rows).adjust(t,n),"row"===e&&(n<0?this._filteredRows.copy(t-n,this._rows._count-1,t):(this._filteredRows.copy(t,this._rows._count,t+n),this._filteredRows.value(t,t+n-1,!1))),this._drawings.forEach((function(r){r.topLeftCell&&(r.topLeftCell=r.topLeftCell.adjust(null,null,null,null,"row"===e,t,n))}))}_forFormulas(e){var t=this._properties.get("formula").values(),n=t.length;t.forEach((function(t,r){e.call(this,t.value,r,n)}),this)}_forValidations(e){this._properties.get("validation").values().forEach((function(t){e.call(this,t.value)}),this)}insertRow(e,t){if(!this.trigger("insertRow",{index:e}))return this.batch((function(){this._resizeAddRow();var t=this._grid,n=t.columnCount,r=t.rowCount;if(e+1!==r){var o=this.frozenRows();e<o&&this.frozenRows(o+1);for(var i=this._mergedCells.slice(),a=0;a<n;a++){var s=new x(new w(e,a),new w(e,a)),l=t.normalize(s.topLeft),c=t.normalize(s.bottomRight),u=new x(new w(l.row,l.col),new w(r-2,c.col));this._copyRange(u,new w(l.row+1,l.col)),new Fr(s,this).clear({clearAll:!0,keepBorders:!0})}this._adjustReferences("row",e,1,i)}}),{recalc:!0,layout:!0,insertRow:{index:e},ref:new x(new w(e,0),new w(1/0,1/0))}),t||this.trigger("afterInsertRow",{index:e}),this}isEnabledRow(e){var t=new x(new w(e,0),new w(e,this._grid.columnCount));return new Fr(t,this).enable()}deleteRow(e,t){return this.isEnabledRow(e)?this.trigger("deleteRow",{index:e})?void 0:(this.batch((function(){var t=this._grid,n=t.columnCount,r=this.frozenRows();e<r&&this.frozenRows(r-1);for(var o=this._mergedCells.slice(),i=0;i<n;i++){var a=new x(new w(e,i),new w(e,i));new Fr(a,this).clear({clearAll:!0,keepBorders:!0});var s=t.normalize(a.topLeft),l=t.normalize(a.bottomRight),c=new x(new w(s.row+1,s.col),new w(1/0,l.col));this._copyRange(c,s);var u=t.normalize(c.bottomRight);new Fr(new x(u,u),this).clear()}this._adjustReferences("row",e,-1,o),this._resizeDeleteRow()}),{recalc:!0,layout:!0,deleteRow:{index:e},ref:new x(new w(e,0),new w(1/0,1/0))}),t||this.trigger("afterDeleteRow",{index:e}),this):this}insertColumn(e){if(!this.trigger("insertColumn",{index:e}))return this.batch((function(){this._resizeAddColumn();var t=this._grid,n=t.columnCount;if(e+1!==n){var r=this.frozenColumns();e<r&&this.frozenColumns(r+1);for(var o=this._mergedCells.slice(),i=n;i>=e;i--){var a=new x(new w(0,i),new w(1/0,i));if(new Fr(a,this).clear({clearAll:!0,keepBorders:!0}),i===e)break;var s=t.normalize(a.topLeft),l=t.normalize(a.bottomRight),c=new x(new w(s.row,s.col-1),new w(l.row,l.col-1));this._copyRange(c,s)}this._adjustReferences("col",e,1,o)}}),{recalc:!0,layout:!0,insertColumn:{index:e},ref:new x(new w(0,e),new w(1/0,1/0))}),this}isEnabledColumn(e){var t=new x(new w(0,e),new w(1/0,e));return new Fr(t,this).enable()}deleteColumn(e){return this.isEnabledColumn(e)?this.trigger("deleteColumn",{index:e})?void 0:(this.batch((function(){var t=this._grid,n=t.columnCount,r=this.frozenColumns();e<r&&this.frozenColumns(r-1);for(var o=this._mergedCells.slice(),i=e;i<n;i++){var a=new x(new w(0,i),new w(1/0,i));if(new Fr(a,this).clear({clearAll:!0,keepBorders:!0}),i===n-1)break;var s=t.normalize(a.topLeft),l=t.normalize(a.bottomRight),c=new x(new w(s.row,s.col+1),new w(l.row,l.col+1));this._copyRange(c,s)}this._adjustReferences("col",e,-1,o),this._resizeDeleteColumn()}),{recalc:!0,layout:!0,deleteColumn:{index:e},ref:new x(new w(0,e),new w(1/0,1/0))}),this):this}_filterRow(e){this._rows.hide(e),this._filteredRows.value(e,e,!0),this.triggerChange({layout:!0})}hideRow(e){if(!this.trigger("hideRow",{index:e}))return this._property(this._rows.hide.bind(this._rows),e,{layout:!0})}unhideRow(e){if(!this.trigger("unhideRow",{index:e}))return this._property(this._rows.unhide.bind(this._rows),e,{layout:!0})}isHiddenRow(e){return this._grid._rows.hidden(e)}isFilteredRow(e){return this._filteredRows.value(e)}columnWidth(e,t){return this._property(this._columns.value.bind(this._columns,e,e),t,{layout:!0})}rowHeight(e,t){return this._property(this._rows.value.bind(this._rows,e,e),t,{layout:!0})}frozenRows(e){return this._field("_frozenRows",e,{layout:!0})}frozenColumns(e){return this._field("_frozenColumns",e,{layout:!0})}showGridLines(e){return this._field("_showGridLines",e,{layout:!0})}gridLinesColor(e){return this._field("_gridLinesColor",e,{layout:!0})}_ref(e,t,n,r){var o=null;return e instanceof g?e:e instanceof Fr?e._ref.toRangeRef():("string"==typeof e?o=re.parseReference(e):(n||(n=1),r||(r=1),o=new x(new w(e,t),new w(e+n-1,t+r-1))),o)}range(e,t,n,r){return new Fr(this._ref(e,t,n,r),this)}_getMergedCells(e){var t=this._grid,n={},r={},o=!1;return this.forEachMergedCell(e,(function(i){var a=i.topLeft;t.forEach(i,(function(t){a.eq(t)?(n[t.print()]=i,o=!0):e.contains(t)&&(r[t.print()]=a,o=!0)}))})),{primary:n,secondary:r,hasMerged:o}}forEachMergedCell(e,t){var n=!1;void 0===t&&(t=e,n=!0),this._mergedCells.forEach((function(r){(n||r.intersects(e))&&t(r)}))}forEachFilterHeader(e,t){var n=!1;if(void 0===t&&(t=e,n=!0),this._filter){var r=[];this._filter.ref.forEachColumn((function(t){(n||t.intersects(e))&&r.push(t.topLeft)})),this._mergedCells.forEach((function(e){r=r.map((function(t){return e.intersects(t)?e:t}))})),r.reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]).forEach(t)}}forEach(e,t){var n=this;function r(e){e instanceof x||(e=e.toRangeRef());var r,o,i=n._grid.normalize(e.topLeft),a=n._grid.normalize(e.bottomRight);function s(e){t(o++,r,e)}for(r=i.col;r<=a.col;r++){o=i.row;var l=n._grid.index(o,r),c=n._grid.index(a.row,r);n._properties.forEach(l,c,s)}}e instanceof x||(e=n._ref(e)),e instanceof k?e.forEach(r):r(e)}startResizing(e){this._initialPosition=e,this._resizeInProgress=!0}startAutoFill(){this._autoFillInProgress=!0;var e=this.select();this._autoFillOrigin=e,this._autoFillDest=e,this.triggerChange({selection:!0})}updateAutoFill(e,t,n,r){this._autoFillDest=e,this._autoFillPunch=t,this._autoFillHint=n,this._autoFillDirection=r,this.triggerChange({selection:!0})}autoFillRef(){return this._autoFillDest}autoFillPunch(){return this._autoFillPunch}autoFillInProgress(){return this._autoFillInProgress}resizingInProgress(){return this._resizeInProgress}draggingInProgress(){return this._draggingInProgress}completeResizing(){if(this._resizeInProgress){this._resizeInProgress=!1;var e=this.resizeHintPosition();if(this._initialPosition&&e){var t=this.resizeHandlePosition();t.col!==-1/0?this.trigger("commandRequest",{command:"ColumnWidthCommand",options:{target:t.col,value:this.columnWidth(t.col)-(this._initialPosition.x-e.x)}}):this.trigger("commandRequest",{command:"RowHeightCommand",options:{target:t.row,value:this.rowHeight(t.row)-(this._initialPosition.y-e.y)}})}else this.trigger("change",{resize:!0})}}_visualRange(e){for(var t=this._mergedCells,n=t.length;--n>=0;)if(t[n].intersects(e))return this.range(t[n]);return this.range(e)}_renderComment(e){var t=null;if(e){var n=this._visualRange(e);t=n.comment(),e=n._ref.toRangeRef().topLeft}t?this._commentRef&&e.eq(this._commentRef)||(this._commentRef=e,this.trigger("change",{comment:!0})):this._commentRef&&(this._commentRef=null,this.trigger("change",{comment:!0}))}resizeHandlePosition(){return this._resizeHandlePosition}resizeHintPosition(e){return void 0!==e&&(this._resizeHintPosition=e,this.trigger("change",{resize:!0})),this._resizeHintPosition}removeResizeHandle(){this._resizeHandlePosition&&(this._resizeHintPosition=void 0,this._resizeHandlePosition=void 0,this._initialPosition=void 0,this.trigger("change",{resize:!0}))}positionResizeHandle(e){this._resizeHandlePosition=e,this.trigger("change",{resize:!0})}startDragging(e){this._draggingInProgress=e}completeDragging(){var e=this._draggingInProgress;if(e){this._draggingInProgress=null;var t=e.drawing;if(t.eq(e.copy))return;if(t.topLeftCell){var n=this.drawingBoundingBox(t),r=this._rows.indexVisible(n.top),o=this._columns.indexVisible(n.left),i=new w(r,o),a=this.refBoundingBox(i);t.offsetX=n.left-a.left,t.offsetY=n.top-a.top,t.topLeftCell=i,this.triggerChange({dragging:!0})}this.trigger("commandRequest",{command:"DrawingUpdateCommand",options:{sheet:this,drawing:t,previous:e.copy}})}}startSelection(e){this.frozenRows()||this.frozenColumns()?this._currentView=null:e&&e._sheet===this&&(this._currentView=e),this._selectionInProgress=!0}completeSelection(){if(this._selectionInProgress&&(this._selectionInProgress=!1,this._resizeHintPosition=void 0,this.trigger("change",{selection:!0})),this._autoFillInProgress){this._autoFillInProgress=!1;var e=this._autoFillDest,t=this._autoFillOrigin;this._autoFillPunch?this.trigger("commandRequest",{command:"ClearContentCommand",options:{operatingRange:this.range(this._autoFillPunch)}}):e.eq(t)?this.triggerChange({selection:!0}):this.trigger("commandRequest",{command:"AutoFillCommand",options:{operatingRange:this.range(e),origin:this.range(t)}}),this._autoFillDest=null,this._autoFillPunch=null,this._autoFillOrigin=null,this.select(e)}}selectionInProgress(){return this._selectionInProgress}select(e,t){var n,r=this._selectionState();return e&&(e=this._ref(e),e=this._grid.normalize(e),n=this._grid.isAxis(e)?e:this.unionWithMerged(e)),r.select(e,n,t,this._currentView)}originalSelect(){return this._selectionState().originalSelection}currentSelectionRange(){return this._selectionState().currentSelectionRange()}currentOriginalSelectionRange(){return this._selectionState().currentOriginalNavigationRange()}currentNavigationRange(){return this._selectionState().currentNavigationRange()}nextNavigationRange(){return this._selectionState().nextNavigationRange()}previousNavigationRange(){return this._selectionState().previousNavigationRange()}selectionRangeIndex(){return this._selectionState().selectionRangeIndex}activeCell(e){return this._selectionState().activeCell(e)}originalActiveCell(){return this._selectionState().originalActiveCell}singleCellSelection(){return this._selectionState().singleCellSelection()}unionWithMerged(e){var t=this._mergedCells;return e.map((function(e){return e.toRangeRef().union(t)}))}trim(e){var t=[],n=this._grid;return this._properties.forEachProperty((function(r){t.push(n.trim(e,r.list))})),this.unionWithMerged(e.topLeft.toRangeRef().union(t))}focus(e){if(!e){var t=this._focus;return this._focus=null,t}this._focus=e.toRangeRef()}activeCellSelection(){return new Fr(this._grid.normalize(this.activeCell()),this)}selection(){return new Fr(this._grid.normalize(this._selectionState().selection),this)}selectedHeaders(){var e=this.select(),t={},n={},r=!1,o=!1,i=this._grid.rowCount-1,a=this._grid.columnCount-1;return e.forEach((function(e){var s,l="partial",c="partial",u=(e=e.toRangeRef()).bottomRight,h=e.topLeft,d=h.col<=0&&u.col>=a,p=h.row<=0&&u.row>=i;if(p&&(o=!0,c="full"),d&&(r=!0,l="full"),!p)for(s=h.row;s<=u.row;s++)"full"!==t[s]&&(t[s]=l);if(!d)for(s=h.col;s<=u.col;s++)"full"!==n[s]&&(n[s]=c)})),{rows:t,cols:n,allRows:o,allCols:r,all:o&&r}}isInEditMode(e){if(void 0===e)return this._inEdit;this._inEdit=e,e&&(this._editSelection.selection=this._viewSelection.selection.clone(),this._editSelection.originalSelection=this._viewSelection.originalSelection.clone(),this._editSelection._activeCell=this._viewSelection._activeCell.clone(),this._editSelection.originalActiveCell=this._viewSelection.originalActiveCell.clone())}_setFormulaSelections(e){this._formulaSelections=(e||[]).slice(),this.triggerChange({selection:!0})}_viewActiveCell(){return this._viewSelection._activeCell.toRangeRef()}toJSON(){var e={},t=this._rows.toJSON("height",e),n=this._columns.toJSON("width",{}),o=this._viewSelection,i=[],a=this._defaultCellStyle||{};this.forEach(C,(function(n,o,s){if(function(e){Object.keys(a).forEach((function(t){e[t]===a[t]&&delete e[t]}))}(s),0!==Object.keys(s).length){s.link&&i.push({ref:g.display(null,n,o),target:s.link});var l=e[n];void 0===l&&(l=t.length,t.push({index:n}),e[n]=l),n=t[l],s.index=o,void 0===n.cells&&(n.cells=[]),s.formula&&(s.formula.arrayFormulaRange?s.formula={src:s.formula.toString(),ref:s.formula.arrayFormulaRange.toString()}:s.formula=s.formula.toString()),s.validation&&(s.validation=s.validation.toJSON()),s.color&&(s.color=(0,r.parseColor)(s.color).toCss()),s.background&&(s.background=(0,r.parseColor)(s.background).toCss()),s.borderTop&&s.borderTop.color&&(s.borderTop.color=(0,r.parseColor)(s.borderTop.color).toCss()),s.borderBottom&&s.borderBottom.color&&(s.borderBottom.color=(0,r.parseColor)(s.borderBottom.color).toCss()),s.borderRight&&s.borderRight.color&&(s.borderRight.color=(0,r.parseColor)(s.borderRight.color).toCss()),s.borderLeft&&s.borderLeft.color&&(s.borderLeft.color=(0,r.parseColor)(s.borderLeft.color).toCss()),n.cells.push(s)}}));var s={name:this._name(),rows:t,columns:n,selection:o.selection.toString(),activeCell:o.activeCell().toString(),frozenRows:this.frozenRows(),frozenColumns:this.frozenColumns(),showGridLines:this.showGridLines(),gridLinesColor:this.gridLinesColor(),mergedCells:this._mergedCells.map((function(e){return e.toString()})),hyperlinks:i,defaultCellStyle:a,drawings:this._drawings.map((function(e){return e.toJSON()}))};return this._sort&&(s.sort={ref:this._sort.ref.toString(),columns:this._sort.columns.map((function(e){return{index:e.index,ascending:e.ascending}}))}),this._filter&&(s.filter={ref:this._filter.ref.toString(),columns:this._filter.columns.map((function(e){var t=e.filter.toJSON();return t.index=e.index,t}))}),s}fromJSON(e){this.batch((function(){if(void 0!==e.name&&this._name(e.name),void 0!==e.frozenColumns&&this.frozenColumns(e.frozenColumns),void 0!==e.frozenRows&&this.frozenRows(e.frozenRows),void 0!==e.columns&&this._columns.fromJSON("width",e.columns),void 0!==e.rows){this._resizeForJSON(e.rows),this._rows.fromJSON("height",e.rows);for(var t=0;t<e.rows.length;t++){var n=e.rows[t],r=n.index;if(void 0===r&&(r=t),n.cells)for(var o=0;o<n.cells.length;o++){var i=n.cells[o],a=i.index;if(void 0===a&&(a=o),i.formula){var s="string"!=typeof i.formula,l=s?i.formula.src:i.formula,c=this._compileFormula(r,a,l);s&&c.setArrayFormulaRange(re.parseReference(i.formula.ref)),i.formula=c}i.validation&&(i.validation=this._compileValidation(r,a,i.validation)),this._properties.fromJSON(this._grid.index(r,a),i)}}}if(e.drawings&&(this._drawings=e.drawings.map(Fo.fromJSON)),e.selection&&(this._viewSelection.selection=this._viewSelection.originalSelection=this._ref(e.selection)),e.activeCell){var u=this._ref(e.activeCell);this._viewSelection._activeCell=u.toRangeRef(),this._viewSelection.originalActiveCell=u.first()}if(e.mergedCells&&e.mergedCells.forEach((function(e){this.range(e).merge()}),this),e.filter){var h=e.filter.ref,d=void 0===e.filter.columns?[]:e.filter.columns;h&&(this._filter={ref:this._ref(h),columns:d.map((function(e){return{index:e.index,filter:xo.create(e)}}))},this._refreshFilter())}void 0!==e.showGridLines&&(this._showGridLines=e.showGridLines),this._gridLinesColor=e.gridLinesColor,e.sort&&this._sortBy(this._ref(e.sort.ref),e.sort.columns.slice(0))})),this._rows._refresh(),this._columns._refresh()}formula(e){return this._properties.get("formula",this._grid.cellRefIndex(e))}validation(e){return this._properties.get("validation",this._grid.cellRefIndex(e))}resetFormulas(){this._forFormulas((function(e){e.reset()}))}resetValidations(){this._forValidations((function(e){e.reset()}))}recalc(e,t){var n=this._properties.get("formula").values(),r=n.length,o=0,i=0;if(!r&&t)return t();function a(){o--,i!==r||o||t()}for(;i<r;)o++,n[i++].value.exec(e,t?a:null)}revalidate(e){var t=this;this._forValidations((function(n){var r=new w(n.row,n.col),o=new x(r,r);n.exec(e,t._get(o,"value"),t._get(o,"format"))}))}_value(e,t,n){var r=this._grid.index(e,t);if(void 0===n)return this._properties.get("value",r);this._properties.set("value",r,r,n)}_validation(e,t){var n=this._grid.index(e,t);return this._properties.get("validation",n)}_compileValidation(e,t,n){return n instanceof Or.Validation?n.clone(this._name(),e,t):(null!=n.from&&(n.from=(n.from+"").replace(/^=/,"")),null!=n.to&&(n.to=(n.to+"").replace(/^=/,"")),Or.compile(this._name(),e,t,n))}_compileFormula(e,t,n){return n=n.replace(/^=/,""),n=re.parseFormula(this._name(),e,t,n),re.compile(n)}_copyValuesInRange(e,t,n,r){var o,i,a;for(o=e.col;o<=t.col;o++){i=this._grid.index(e.row,o),a=this._grid.index(t.row,o);for(var s=i,l=e.row;s<=a;++s,++l)n=n.clone(this._name(),l,o),this._properties.set(r,s,s,n)}return n}_set(e,t,n){var r,o,i,a=this._grid.normalize(e.topLeft),s=this._grid.normalize(e.bottomRight);if("number"==typeof n&&(n=re.runtime.limitPrecision(n)),n&&"formula"===t)"string"==typeof n&&(n=this._compileFormula(a.row,a.col,n)),n=this._copyValuesInRange(a,s,n,"formula");else if(n&&"validation"===t)n=this._compileValidation(a.row,a.col,n),n=this._copyValuesInRange(a,s,n,"validation");else for(r=a.col;r<=s.col;r++)o=this._grid.index(a.row,r),i=this._grid.index(s.row,r),this._properties.set(t,o,i,n),"formula"===t&&this._properties.set("value",o,i,null)}_get(e,t){var n=this._grid.normalize(e.topLeft),r=this._grid.index(n.row,n.col);return this._properties.get(t,r)}batch(e,t){var n=this.suspendChanges();return this.suspendChanges(!0),this._valueChanged=!1,e.call(this),t||(t={recalc:!0}),this._valueChanged&&(t.isValue=!0),this.suspendChanges(n).triggerChange(t)}_sortBy(e,t){var n=null;t.forEach((function(t){n=this._sorter.sortBy(e,t.index,this._properties.get("value"),t.ascending,n)}),this),this._sort={ref:e,columns:t},this._refreshFilter(),this.forEach(e,function(e,t,n){var r=n.formula;if(r){var o=e-r.row;if(0!==o){var i=o>0?r.row:r.row+o;r.adjust(this.name(),"row",i,o)}}}.bind(this)),this.triggerChange({recalc:!0})}_refreshFilter(){this._filter&&this._filterBy(this._filter.ref,this._filter.columns)}_filterBy(e,t){this.batch((function(){for(var n=e.topLeft.row;n<=e.bottomRight.row;n++)this.isFilteredRow(n)&&(this._filteredRows.value(n,n,!1),this._rows.unhide(n));t.forEach((function(t){var n=e.resize({top:1}).toColumn(t.index),r=[];if(n!==b){this.forEach(n,(function(e,t,n){n.row=e,r.push(n)})),t.filter.prepare(r);for(var o=0;o<r.length;o++){var i=r[o],a=t.filter.value(i);!1===t.filter.matches(a)&&this._filterRow(i.row)}}}),this),this._filter={ref:e,columns:t}}),{recalc:!0,layout:!0,filter:!0})}filterColumn(e){var t=this.filter().ref;return e.toRangeRef().topLeft.col-t.topLeft.col}filter(){return this._filter}clearFilter(e){this._clearFilter(e instanceof Array?e:[e])}_clearFilter(e){this._filter&&this.batch((function(){this._filter.columns=this._filter.columns.filter((function(t){return e.indexOf(t.index)<0})),this._refreshFilter()}),{recalc:!0,layout:!0,filter:!0})}getAxisState(){return{rows:this._rows.getState(),columns:this._columns.getState()}}setAxisState(e){this._rows.setState(e.rows),this._columns.setState(e.columns),this.triggerChange({layout:!0})}getState(){return{rows:this._rows.getState(),columns:this._columns.getState(),mergedCells:this._mergedCells.map((function(e){return e.clone()})),properties:this._properties.getState()}}setState(e){this._rows.setState(e.rows),this._columns.setState(e.columns),this._mergedCells=e.mergedCells,this._properties.setState(e.properties),this.triggerChange(E)}_merge(e){var t,n=this._mergedCells,r=this;return this.batch((function(){t=e.map((function(e){if(e instanceof w)return e;var t=e.toRangeRef().union(n,(function(e){n.splice(n.indexOf(e),1)})),o=new Fr(t,r),i=o._get("formula"),a=o.value(),s=o.format(),l=o.background();o.value(null),o.format(null),o.background(null);var c=new Fr(t.collapse(),r);return i?c._set("formula",i):c.value(a),c.format(s),c.background(l),n.push(t),t}));var o=r._viewSelection;o.selection=r.unionWithMerged(o.originalSelection),o._activeCell=r.unionWithMerged(o.originalActiveCell)}),{activeCell:!0,selection:!0}),t}_useCultureDecimals(){return this._workbook&&this._workbook.options.useCultureDecimals}withCultureDecimals(e){var t=".";return this._useCultureDecimals()&&(t=K().numbers.symbols.decimal),re.withDecimalSeparator(t,e)}drawingBoundingBox(e){var t=e.offsetX,n=e.offsetY;return e.topLeftCell&&(t+=this._columns.sum(0,e.topLeftCell.col-1),n+=this._rows.sum(0,e.topLeftCell.row-1)),new ro(t,n,e.width,e.height)}refBoundingBox(e){return this._grid.rectangle(e.toRangeRef())}addDrawing(e,t){return e instanceof Fo||(e=new Fo(e)),this._drawings.push(e),t&&(this._activeDrawing=e),this.triggerChange({layout:!0}),e}removeDrawing(e){var t=this._drawings.indexOf(e);t>=0&&(this._drawings.splice(t,1),this.triggerChange({layout:!0}))}usesImage(e){for(var t=this._drawings.length;--t>=0;)if(this._drawings[t].image===e)return!0;return!1}isMerged(e){for(var t=this._mergedCells,n=t.length;--n>=0;)if(t[n].eq(e))return!0;return!1}}class Fo{constructor(e){this.reset(e)}toJSON(){return{topLeftCell:this.topLeftCell.toString(),offsetX:this.offsetX,offsetY:this.offsetY,width:this.width,height:this.height,image:this.image,opacity:this.opacity}}clone(){return new Fo(this)}reset(e){var t=e.topLeftCell;"string"==typeof t&&(t=re.parseReference(t)),this.topLeftCell=t,this.offsetX=e.offsetX||0,this.offsetY=e.offsetY||0,this.width=e.width,this.height=e.height,this.image=e.image,this.opacity=null!=e.opacity?e.opacity:1}eq(e){return(!this.topLeftCell&&!e.topLeftCell||this.topLeftCell&&e.topLeftCell&&this.topLeftCell.eq(e.topLeftCell))&&this.offsetX===e.offsetX&&this.offsetY===e.offsetY&&this.width===e.width&&this.height===e.height&&this.image===e.image&&this.opacity===e.opacity}}Fo.fromJSON=function(e){return new Fo(e)};let Vo={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],executive:[521.86,756],folio:[612,936],legal:[612,1008],letter:[612,792],tabloid:[792,1224]};function Do(e){return e*(72/25.4)}function Bo(e){return Do(10*e)}function Ao(e){return 72*e}function No(e,t){if("number"==typeof e)return e;if("string"==typeof e){let t;if(t=/^\s*([0-9.]+)\s*(mm|cm|in|pt)\s*$/.exec(e),t){let e=parseFloat(t[1]);if(!isNaN(e))return"pt"===t[2]?e:{mm:Do,cm:Bo,in:Ao}[t[2]](e)}}if(null!=t)return t;throw new Error("Can't parse unit: "+e)}let Lo,Po=.8;function To(e,t,n,r,o){let i=0,a=[],s=t,l=0;return t&&n&&(n*=t),e.forEach((function(e,c){null!=r&&c<r&&(l+=e),t&&i+e>s&&(s-i<n&&(i=t*Math.ceil(i/t)+l,l>0&&o.push(i-l)),s+=t*Math.ceil(e/t)),a.push(i),i+=e})),a.push(i),a}function jo(e,t,n){let r=e._grid;t=r.normalize(t);let o=r.rectangle(t),i=[];e._drawings.forEach((function(t){let n=e.drawingBoundingBox(t);n.intersects(o)&&i.push({drawing:t,box:n.offset(-o.left,-o.top)})}));let a=[],s=[],l=[],c=e._getMergedCells(t),u=-1,h=-1;e.forEach(t,(function(r,o,d){let p=r-t.topLeft.row,f=o-t.topLeft.col,m=e.rowHeight(r),v=e.columnWidth(o);n.forScreen||(d.drawings=i.filter((function(t){let n=t.drawing.topLeftCell;if(n&&n.row==r&&n.col==o)return u=Math.max(u,e._rows.index(t.box.bottom)),h=Math.max(h,e._columns.index(t.box.right)),!0}))),f||s.push(m),p||l.push(v);let g=new w(r,o).print();if(c.secondary[g])return;d.row=p,d.col=f;let b=c.primary[g];if(b?(delete c.primary[g],d.merged=!0,d.rowspan=b.height(),d.colspan=b.width(),n.forScreen&&(d.width=e._columns.sum(b.topLeft.col,b.bottomRight.col),d.height=e._rows.sum(b.topLeft.row,b.bottomRight.row))):(d.rowspan=1,d.colspan=1),!e._grid._columns.sum(o,o+d.colspan-1)||!e._grid._rows.sum(r,r+d.rowspan-1))return;let y=n.forScreen||function(e){return null!=e.value||e.merged||null!=e.background||null!=e.borderRight||null!=e.borderBottom||null!=e.dBorders||null!=e.validation&&!e.validation.value||e.drawings&&e.drawings.length}(d);(n.emptyCells||y)&&(y?(u=Math.max(u,p+d.rowspan-1),h=Math.max(h,f+d.colspan-1)):d.empty=!0,a.push(d))})),n.forScreen||(s=s.slice(0,u+1),l=l.slice(0,h+1));let d=n.pageWidth,p=n.pageHeight,f=n.scale||1;if(n.fitWidth){let e=l.reduce(Ko,0);e>d&&(f=d/e)}d=Math.ceil(d/f),p=Math.ceil(p/f);let m=[],v=To(s,p||0,n.maxEmpty,n.headerRows,m),g=To(l,d||0,n.maxEmpty),b=0,y=0,x=[];return a=a.filter((function(e){return!(e.empty&&(e.row>u||e.col>h)||(n.headerRows&&e.row<n.headerRows&&x.push(e),e.left=g[e.col],e.top=v[e.row],e.merged?n.forScreen?(e.right=e.left+e.width,e.bottom=e.top+e.height):(e.right=Wo(g,e.col+e.colspan),e.bottom=Wo(v,e.row+e.rowspan),e.width=e.right-e.left,e.height=e.bottom-e.top):(e.width=l[e.col],e.height=s[e.row],e.bottom=e.top+e.height,e.right=e.left+e.width),n.forScreen||e.drawings.forEach((function(t){let n=t.box;n.left=e.left+t.drawing.offsetX,n.top=e.top+t.drawing.offsetY,n.right=n.left+n.width,n.bottom=n.top+n.height})),b=Math.max(b,e.right),y=Math.max(y,e.bottom),0))})),Object.keys(c.primary).forEach((function(n){let r=c.primary[n];e.forEach(r.topLeft.toRangeRef(),(function(n,o,i){let s=n-t.topLeft.row,l=o-t.topLeft.col;i.merged=!0,i.colspan=r.width(),i.rowspan=r.height(),i.top=s<0?-e._rows.sum(n,n-s-1):v[s],i.left=l<0?-e._columns.sum(o,o-l-1):g[l],i.height=e._rows.sum(r.topLeft.row,r.bottomRight.row),i.width=e._columns.sum(r.topLeft.col,r.bottomRight.col),i.height>0&&i.width>0&&(i.right=i.left+i.width,i.bottom=i.top+i.height,i.row=s,i.col=l,a.push(i))}))})),n.headerRows&&(m.forEach((function(e){x.forEach((function(t){var n,r;(n=t,r||(r={}),t=Object.assign?Object.assign(r,n):Object.keys(n).reduce((function(e,t){return e[t]=n[t],e}),r)).top+=e,t.bottom=t.top+t.height,a.push(t)})),v.push(e)})),v.sort($o)),{width:b,height:y,cells:a.sort(qo),scale:f,xCoords:g,yCoords:v,drawings:i}}function Uo(e,t){return e.size===t.size&&e.color===t.color}function Ko(e,t){return e+t}function Wo(e,t){return t<e.length?e[t]:e[e.length-1]}function qo(e,t){return e.top<t.top?-1:e.top==t.top?e.left<t.left?-1:e.left==t.left?0:1:1}function $o(e,t){return e<t?-1:e>t?1:0}function Go(e,t){if(e.indent){let n=1.4*e.indent;switch(t.textAlign){case null:case"left":t.paddingLeft=n+"ch";break;case"right":t.paddingRight=n+"ch";break;case"center":t.paddingLeft=n/2+"ch",t.paddingRight=n/2+"ch"}}}function Yo(e,t,n,o){null==n&&null==o&&(o=t,n={},t=C),null==o&&(o=n,t instanceof Range||t instanceof g||"string"==typeof t?n={}:(n=t,t=C)),n=Object.assign({},{paperSize:"A4",landscape:!0,margin:"1cm",guidelines:!0,guideColor:"#aaa",emptyCells:!0,fitWidth:!1,center:!1,headerRows:null,maxEmpty:.2,scale:1},n);let i=new r.drawing.Group,a=function(e){if("function"!=typeof e){let t=e;e=function(e,n){return e in t?t[e]:n}}let t=e("paperSize",Vo.a4);if(!t)return{};if("string"==typeof t&&(t=Vo[t.toLowerCase()],null==t))throw new Error("Unknown paper size");t[0]=No(t[0]),t[1]=No(t[1]),e("landscape",!1)&&(t=[Math.max(t[0],t[1]),Math.min(t[0],t[1])]);let n=e("margin");return n&&("string"==typeof n||"number"==typeof n?(n=No(n,0),n={left:n,top:n,right:n,bottom:n}):n={left:No(n.left,0),top:No(n.top,0),right:No(n.right,0),bottom:No(n.bottom,0)},e("addMargin")&&(t[0]+=n.left+n.right,t[1]+=n.top+n.bottom)),{paperSize:t,margin:n}}(n);i.options.set("pdf",{author:n.author,creator:n.creator,date:n.date,keywords:n.keywords,margin:a.margin,multiPage:!0,paperSize:a.paperSize,subject:n.subject,title:n.title,autoPrint:n.autoPrint});let s=a.paperSize[0],l=a.paperSize[1];a.margin&&(s-=a.margin.left+a.margin.right+1,l-=a.margin.top+a.margin.bottom+1),n.pageWidth=s,n.pageHeight=l;let c=jo(e,e._ref(t),n);(function(e,t,n,o){let i=Math.ceil(t.width/o.pageWidth),a=Math.ceil(t.height/o.pageHeight),s=Math.ceil(o.pageWidth/t.scale),l=Math.ceil(o.pageHeight/t.scale);for(let e=0;e<a;++e)for(let t=0;t<i;++t)c(e,t);function c(i,a){let c=a*s,u=c+s,h=i*l,d=h+l,p=0,f=0;function m(e){return!(e.right<=c||e.left>=u||e.bottom<=h||e.top>=d||(p=Math.max(e.bottom,p),f=Math.max(e.right,f),0))}let v=t.cells.filter(m),g=t.drawings.filter((function(e){return m(e.box)}));if(p=Math.min(p,d),f=Math.min(f,u),v.length||g.length){let i=new r.drawing.Group;n.append(i);let a=new r.drawing.Group;i.append(a),a.clip(r.drawing.Path.fromRect(new r.geometry.Rect([c-1,h-1],[f+1,p+1])));let s=r.geometry.Matrix.scale(t.scale,t.scale).multiplyCopy(r.geometry.Matrix.translate(-c,-h));if((o.hCenter||o.vCenter)&&(s=s.multiplyCopy(r.geometry.Matrix.translate(o.hCenter?(u-f)/2:0,o.vCenter?(d-p)/2:0))),a.transform(s),o.guidelines){let e=null;t.xCoords.forEach((function(t){(t=Math.min(t,f))!==e&&t>=c&&t<=u&&(e=t,a.append((new r.drawing.Path).moveTo(t,h).lineTo(t,p).close().stroke(o.guideColor,Po)))})),e=null,t.yCoords.forEach((function(t){(t=Math.min(t,p))!==e&&t>=h&&t<=d&&(e=t,a.append((new r.drawing.Path).moveTo(c,t).lineTo(f,t).close().stroke(o.guideColor,Po)))}))}let l=Zo();v.forEach((function(t){!function(e,t,n){let o=new r.drawing.Group;t.append(o);let i=new r.geometry.Rect([e.left,e.top],[e.width,e.height]);if(e.background||e.merged){let t=i;n.guidelines&&(t=i.clone(),t.origin.x+=Po/2+.1,t.origin.y+=Po/2+.1,t.size.width-=Po+.2,t.size.height-=Po+.2),o.append(new r.drawing.Rect(t).fill(e.background||"#fff").stroke(null))}e.dBorders&&(2&e.dBorders.type&&o.append((new r.drawing.Path).moveTo(e.left,e.bottom).lineTo(e.right,e.top).stroke(e.dBorders.color,e.dBorders.size)),1&e.dBorders.type&&o.append((new r.drawing.Path).moveTo(e.left,e.top).lineTo(e.right,e.bottom).stroke(e.dBorders.color,e.dBorders.size)));let a=e.value;if(null!=a){let t="number"==typeof a?"number":null,n=new r.drawing.Group;n.clip(r.drawing.Path.fromRect(i)),o.append(n);let s,l=e.format;if(l||"number"!=t||a==Math.floor(a)||(l="0.##############"),l?(s=Un.textAndColor(a,l),a=s.text,s.type&&(t=s.type)):a+="",!e.textAlign)switch(t){case"number":case"date":case"percent":case"currency":e.textAlign="right";break;case"boolean":e.textAlign="center"}!function(e,t,n,o){Lo||(Lo=document.createElement("div"),Lo.style.position="fixed",Lo.style.left="0px",Lo.style.top="0px",Lo.style.visibility="hidden",Lo.style.overflow="hidden",Lo.style.boxSizing="border-box",Lo.style.lineHeight="normal",document.body.appendChild(Lo)),Lo.firstChild&&Lo.removeChild(Lo.firstChild),Lo.style.padding="2px 4px",Lo.style.color=t,Lo.style.font=function(e){let t=[];return e.italic&&t.push("italic"),e.bold&&t.push("bold"),t.push((e.fontSize||12)+"px"),t.push(e.fontFamily||"Arial"),t.join(" ")}(n),Lo.style.width=n.width+"px",Lo.style.textAlign=n.textAlign||"left",Lo.style.textDecoration=n.underline?"underline":"none",Go(n,Lo.style),n.wrap?(Lo.style.whiteSpace="pre-wrap",Lo.style.overflowWrap=Lo.style.wordWrap="break-word"):(Lo.style.whiteSpace="pre",Lo.style.overflowWrap=Lo.style.wordWrap="normal"),Lo.appendChild(document.createTextNode(e));let i=0;switch(n.verticalAlign){case"center":i=n.height-Lo.offsetHeight>>1;break;case void 0:case null:case"bottom":i=n.height-Lo.offsetHeight}i<0&&(i=0);let a=r.drawDOM.drawText(Lo);a.transform(r.geometry.Matrix.translate(n.left,n.top+i)),o.append(a)}(a,s&&s.color||e.color||"#000",e,n)}}(t,a,o),l.add(t,e)}));let m=new r.drawing.Group;l.vert.forEach((function(e){e.forEach((function(e){e.rendered||(e.rendered=!0,m.append((new r.drawing.Path).moveTo(e.x,e.top).lineTo(e.x,e.bottom).close().stroke(e.color,e.size)))}))})),l.horiz.forEach((function(e){e.forEach((function(e){e.rendered||(e.rendered=!0,m.append((new r.drawing.Path).moveTo(e.left,e.y).lineTo(e.right,e.y).close().stroke(e.color,e.size)))}))})),a.append(m),g.forEach((function(t){let n=t.drawing,o=n.image;if(null!=o){let i=t.box,s=e._workbook.imageUrl(o);a.append(new n.Image(s,new r.geometry.Rect([i.left,i.top],[i.width,i.height])).opacity(n.opacity))}}))}}})(e,c,i,n),o(i)}function Xo(){}function Zo(){let e=new Xo,t=new Xo;function n(e,n,r,o,i,a){let s=t[n]||(t[n]=new Xo),l=e>0&&s[e-1];l&&Uo(l,r)?(s[e]=l,l.bottom=a):s[e]={size:r.size,color:r.color||"#000",x:o,top:i,bottom:a}}function r(t,n,r,o,i,a){let s=e[t]||(e[t]=new Xo),l=n>0&&s[n-1];l&&Uo(l,r)?(s[n]=l,l.right=a):s[n]={size:r.size,color:r.color||"#000",y:o,left:i,right:a}}return{add:function(e,t){if(t){let n=t._properties,r=t._grid;e.borderLeft=n.get("vBorders",r.index(e.row,e.col)),e.borderRight=n.get("vBorders",r.index(e.row,e.col+e.colspan)),e.borderTop=n.get("hBorders",r.index(e.row,e.col)),e.borderBottom=n.get("hBorders",r.index(e.row+e.rowspan,e.col))}e.borderLeft&&n(e.row,e.col,e.borderLeft,e.left,e.top,e.bottom),e.borderRight&&n(e.row,e.col+e.colspan,e.borderRight,e.right,e.top,e.bottom),e.borderTop&&r(e.row,e.col,e.borderTop,e.top,e.left,e.right),e.borderBottom&&r(e.row+e.rowspan,e.col,e.borderBottom,e.bottom,e.left,e.right)},horiz:e,vert:t}}Ho.prototype.draw=function(e,t,n){let r=this;r._workbook?r.recalc(r._workbook._context,(function(){Yo(r,e,t,n)})):Yo(r,e,t,n)},Xo.prototype={forEach:function(e){Object.keys(this).forEach((function(t){e(this[t],t,this)}),this)}};const Jo={Borders:Zo,doLayout:jo,applyIndent:Go},Qo=".",ei={view:"k-spreadsheet-view",fixedContainer:"k-spreadsheet-fixed-container",editContainer:"k-spreadsheet-edit-container",scroller:"k-spreadsheet-scroller",viewSize:"k-spreadsheet-view-size",clipboard:"k-spreadsheet-clipboard",cellEditor:"k-spreadsheet-cell-editor",barEditor:"k-spreadsheet-editor",topCorner:"k-spreadsheet-top-corner",filterHeadersWrapper:"k-filter-wrapper",filterRange:"k-filter-range",filterButton:"k-spreadsheet-filter",filterButtonSelected:"k-selected",horizontalResize:"k-horizontal-resize",verticalResize:"k-vertical-resize",icon:"k-icon",iconFilterDefault:"k-i-arrow-60-down",sheetsBar:"k-spreadsheet-sheets-bar",sheetsBarActive:"k-spreadsheet-sheets-bar-active",sheetsBarInactive:"k-spreadsheet-sheets-bar-inactive",cellContextMenu:"k-spreadsheet-cell-context-menu",rowHeaderContextMenu:"k-spreadsheet-row-header-context-menu",colHeaderContextMenu:"k-spreadsheet-col-header-context-menu",drawingContextMenu:"k-spreadsheet-drawing-context-menu"},ti={cell:"k-spreadsheet-cell",vaxis:"k-spreadsheet-vaxis",haxis:"k-spreadsheet-haxis",vborder:"k-spreadsheet-vborder",hborder:"k-spreadsheet-hborder",rowHeader:"k-spreadsheet-row-header",columnHeader:"k-spreadsheet-column-header",pane:"k-spreadsheet-pane",data:"k-spreadsheet-data",mergedCell:"k-spreadsheet-merged-cell",mergedCellsWrapper:"k-merged-cells-wrapper",activeCell:"k-spreadsheet-active-cell",selection:"k-spreadsheet-selection",selectionWrapper:"k-selection-wrapper",autoFillWrapper:"k-auto-fill-wrapper",single:"k-single",top:"k-top",right:"k-right",bottom:"k-bottom",left:"k-left",resizeHandle:"k-resize-handle",columnResizeHandle:"k-column-resize-handle",rowResizeHandle:"k-row-resize-handle",resizeHint:"k-resize-hint",resizeHintHandle:"k-resize-hint-handle",resizeHintMarker:"k-resize-hint-marker",resizeHintVertical:"k-resize-hint-vertical",selectionHighlight:"k-spreadsheet-selection-highlight",series:["k-series-a","k-series-b","k-series-c","k-series-d","k-series-e","k-series-f"]};function ni(e){return(e.size||1)+"px solid "+(e.color||"#000")}function ri(e){return/:\/\//.test(e)||(e="http://"+e),e}class oi{constructor(e,t){this._sheet=e,this._grid=t}refresh(e,t){this._grid.refresh(e,t)}isVisible(e,t,n){return this._grid.view(e,t).ref.intersects(n)}render(e){let t=e.scroller,n=t.scrollLeft,r=t.scrollTop;r<0&&(r=0),n<0&&(n=0);let o=oi.classNames,i=this._sheet,a=this._grid,s=a.view(n,r);this._currentView=s,this._currentRect=this._rectangle(s.ref),this._selectedHeaders=i.selectedHeaders();let l=[];if(l.push(this.renderData(e)),i._activeDrawing||l.push(this.renderSelection(t)),l.push(this.renderAutoFill()),l.push(this.renderEditorSelection()),l.push(this.renderFilterHeaders()),a.hasRowHeader){let e=ne.element("div",{className:o.rowHeader,style:{width:a.headerWidth+"px",top:s.rowOffset+"px"}});l.push(e),i.forEach(s.ref.leftColumn(),function(t){if(!i.isHiddenRow(t)){let n=t+1,r=i.rowHeight(t);e.children.push(ne.element("div",{className:this.headerClassName(t,"row"),style:{width:a.headerWidth+"px",height:r+"px"}},[ne.element("div",{className:"k-vertical-align-center"},[ne.text(n+"")])]))}}.bind(this))}if(a.hasColumnHeader){let e=ne.element("div",{className:o.columnHeader,style:{top:"0px",left:s.columnOffset+"px",width:this._currentRect.width+"px",height:a.headerHeight+"px"}});l.push(e);let t=0;i.forEach(s.ref.topRow(),function(n,r){if(!i.isHiddenColumn(r)){let n=g.display(null,1/0,r),o=i.columnWidth(r);e.children.push(ne.element("div",{className:this.headerClassName(r,"col"),style:{position:"absolute",left:t+"px",width:o+"px",height:a.headerHeight+"px"}},[ne.element("div",{className:"k-vertical-align-center"},[ne.text(n+"")])])),t+=o}}.bind(this))}i.resizeHandlePosition()&&(a.hasColumnHeader||a.hasRowHeader)&&(i.resizeHintPosition()||this.renderResizeHandle(l));let c=[o.pane];return a.hasColumnHeader&&c.push(o.top),a.hasRowHeader&&c.push(o.left),ne.element("div",{style:a.style,className:c.join(" ")},l)}headerClassName(e,t){let n,r,o=this._selectedHeaders;"row"===t?(n=o.rows[e],r=o.allRows):(n=o.cols[e],r=o.allCols);let i=n||(o.all?"full":r?"partial":"none");return i&&(i="k-selection-"+i),i}renderData(e){let t,n=this._sheet,o=this._currentView,i=ne.element("div",{className:oi.classNames.data,style:{position:"relative",left:o.columnOffset+"px",top:o.rowOffset+"px"}}),a=this._currentRect,s=Jo.doLayout(n,o.ref,{forScreen:!0}),l=this._grid,c=n._showGridLines;c&&(t=null,s.xCoords.forEach((function(e){e!==t&&(t=e,i.children.push(ne.element("div",{className:ti.vaxis,style:{left:e+"px",height:a.height+"px",borderColor:n.gridLinesColor()}})))})),t=null,s.yCoords.forEach((function(e){e!==t&&(t=e,i.children.push(ne.element("div",{className:ti.haxis,style:{top:e+"px",width:a.width+"px",borderColor:n.gridLinesColor()}})))})));let u=Jo.Borders(),h=n.activeCell().toRangeRef(),d=h.topLeft;return s.cells.forEach((function(t){let a=null,s=t.row+o.ref.topLeft.row,p=t.col+o.ref.topLeft.col;if(n._activeDrawing){let e=n._activeDrawing.topLeftCell;e&&e.row===s&&e.col===p&&(a="k-spreadsheet-drawing-anchor-cell")}else s===d.row&&p===d.col&&(a=[oi.classNames.activeCell].concat(this._activeFormulaColor(),this._directionClasses(h)),n.singleCellSelection()&&a.push(oi.classNames.single),a=a.join(" "));if(u.add(t),function(e,t,n,o){function i(e){let n=t.link;if(n||"object"==typeof t.value&&(n=t.value.link),n){let r={textDecoration:"none"};return t.color&&(r.color=t.color),t.underline&&(r.textDecoration="underline"),ne.element("a",{href:ri(n),style:r,target:"_blank"},e?[e]:[])}return e}let a=null!=t.value||null!=t.validation&&!t.validation.value||t.background||t.merged||t.comment||t.dBorders;if(!n&&!a)return;let s={background:[]},l=t.background;if(l){let e=l;o&&(e=(0,r.parseColor)(e).toHSV(),e.v*=.9,e=e.toCssRgba()),e=ni({color:e}),s.outline=e}t.dBorders&&(2&t.dBorders.type&&s.background.push("linear-gradient(to top left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) calc(50% - "+t.dBorders.size+"px), "+t.dBorders.color+" 50%, rgba(0, 0, 0, 0) calc(50% + "+t.dBorders.size+"px), rgba(0, 0, 0, 0) 100%)"),1&t.dBorders.type&&s.background.push("linear-gradient(to top right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) calc(50% - "+t.dBorders.size+"px), "+t.dBorders.color+" 50%, rgba(0, 0, 0, 0) calc(50% + "+t.dBorders.size+"px), rgba(0, 0, 0, 0) 100%)")),l&&s.background.push(l),t.color&&(s.color=t.color),t.fontFamily&&(s.fontFamily=t.fontFamily),t.underline&&(s.textDecoration="underline"),t.italic&&(s.fontStyle="italic"),t.textAlign&&(s.textAlign=t.textAlign),t.bold&&(s.fontWeight="bold"),t.fontSize&&(s.fontSize=t.fontSize+"px"),!0===t.wrap?(s.whiteSpace="pre-wrap",s.overflowWrap="break-word",s.wordWrap="break-word"):(s.whiteSpace="pre",s.overflowWrap="normal",s.wordWrap="normal"),s.left=t.left+1+"px",s.top=t.top+1+"px",s.width=t.width-1+"px",s.height=t.height-1+"px";let c=t.value,u=typeof c,h=t.format;if(h||"number"!==u||c===Math.floor(c)||(h="0.##############"),h&&null!=c?(c=Un.format(c,h),c.__dataType&&(u=c.__dataType)):null!=c&&(c=t.html?ne.html(c):ne.text(c)),!s.textAlign)switch(u){case"number":case"date":case"percent":case"currency":s.textAlign="right";break;case"boolean":s.textAlign="center"}Jo.applyIndent(t,s);let d=[ti.cell];n&&d.push(n),!1===t.enable&&d.push("k-disabled"),t.merged&&d.push("k-spreadsheet-merged-cell"),t.comment&&d.push("k-spreadsheet-has-comment");let p=t.verticalAlign||"bottom";c=p&&c?ne.element("div",{className:"k-vertical-align-"+p},[i(c)]):i(c),s.background.length?s.background=s.background.join(","):delete s.background;let f=c?[c]:[],m={style:s},v=t.validation;v&&!v.value&&(f.push(ne.element("span",{className:"k-dirty"})),d.push("k-dirty-cell"),m.title=v.message),m.className=d.join(" ");let g=ne.element("div",m,f);e.push(g)}(i.children,t,a,c),t.comment&&n._commentRef&&s===n._commentRef.row&&p===n._commentRef.col){let n=4,r=t.right+l.left+o.columnOffset+n,i={top:t.top+l.top+o.rowOffset+"px"};r+200>e.contentWidth?i.right=e.contentWidth-l.left-t.left-o.columnOffset+n+"px":i.left=r+"px";let a=ne.element("div",{className:"k-tooltip k-spreadsheet-cell-comment",style:i},[ne.text(t.comment)]);e.toplevelElements.push(a)}}),this),u.vert.forEach((function(e){e.forEach((function(e){if(!e.rendered){e.rendered=!0;let t={left:e.x+"px",top:e.top+"px",height:e.bottom-e.top+1+"px",borderWidth:e.size+"px",borderColor:e.color};1!==e.size&&(t.transform="translateX(-"+(e.size-1)/2+"px)"),i.children.push(ne.element("div",{className:ti.vborder,style:t}))}}))})),u.horiz.forEach((function(e){e.forEach((function(e){if(!e.rendered){e.rendered=!0;let t={top:e.y+"px",left:e.left+"px",width:e.right-e.left+"px",borderWidth:e.size+"px",borderColor:e.color};1!==e.size&&(t.transform="translateY(-"+(e.size-1)/2+"px)"),i.children.push(ne.element("div",{className:ti.hborder,style:t}))}}))})),this.renderDrawings(s,i.children),i}renderDrawings(e,t){let n=this._sheet,r=n._workbook;e.drawings.forEach((function(e){let o=e.drawing,i=e.box.toDiv("k-spreadsheet-drawing");o.image&&i.children.push(ne.element("div",{className:"k-spreadsheet-drawing-image",style:{backgroundImage:"url('"+r.imageUrl(o.image)+"')",opacity:o.opacity}})),o===n._activeDrawing&&(i.attr.className+=" k-spreadsheet-active-drawing",function(e){["N","NE","E","SE","S","SW","W","NW"].forEach((function(t){e.push(ne.element("div",{className:"k-spreadsheet-drawing-handle "+t,"data-direction":t}))}))}(i.children)),t.push(i)}))}renderResizeHandle(e){let t,n=this._sheet.resizeHandlePosition(),r=this._rectangle(n),o=[oi.classNames.resizeHandle];if(n.col!==-1/0){if(this._grid.rows._start>0)return;t={height:this._grid.headerHeight+"px",width:"7px",left:r.right-3.5+"px",top:"0px"},o.push(ei.horizontalResize)}else{if(this._grid.columns._start>0)return;t={height:"7px",width:this._grid.headerWidth+"px",top:r.bottom-3.5+"px",left:"0px"},o.push(ei.verticalResize)}e.push(ne.element("div",{className:o.join(" "),style:t}))}filterIconRect(e){return new ro(e.right-16-3,e.top+3,16,16)}renderFilterHeaders(){let e=this._sheet,t=[],n=ei,r=e.filter();function o(e){return ne.element("span",{className:n.icon+" "+e})}return r&&this._addDiv(t,r.ref,n.filterRange),e.forEachFilterHeader(this._currentView.ref,function(e){let i=this._rectangle(e),a=this.filterIconRect(i),s=this._sheet.filterColumn(e),l=function(e,t,n){let i={left:t.left+"px",top:t.top+"px"},a=r&&r.columns.some((function(e){return e.index===n})),s=e.filterButton;return a&&(s+=" "+e.filterButtonSelected),ne.element("span",{className:s,style:i},[o(e.iconFilterDefault)])}(n,a,s);t.push(l)}.bind(this)),ne.element("div",{className:n.filterHeadersWrapper},t)}renderEditorSelection(){let e=oi.classNames,t=this._sheet,n=[];return t._formulaSelections.forEach(function(t){let r=t.ref;r!==b&&this._addDiv(n,r,e.selectionHighlight+" "+t.colorClass)}.bind(this)),ne.element("div",{className:e.selectionWrapper},n)}renderSelection(e){let t=oi.classNames,n=[],r=[t.selection],o=this._sheet,i=o.activeCell().toRangeRef(),a=o.select();return r=r.concat(this._activeFormulaColor()),1===a.size()&&r.push("k-single-selection"),this._sheet.autoFillPunch()&&r.push("k-dim-auto-fill-handle"),a.forEach(function(e){e!==b&&this._addDiv(n,e,r.join(" "))}.bind(this)),this._renderCustomEditorButton(n,i,e),ne.element("div",{className:t.selectionWrapper},n)}renderAutoFill(){let e=[];if(this._sheet.autoFillInProgress()){let t=this._sheet.autoFillRef(),n=this._sheet.autoFillPunch(),r=this._sheet._autoFillDirection;if(this._addDiv(e,t,"k-auto-fill"),n)this._addDiv(e,n,"k-auto-fill-punch");else if(void 0!==r){let n,o;switch(r){case 0:case 1:n=t.bottomRight,o="k-auto-fill-br-hint";break;case 2:n=new w(t.topLeft.row,t.bottomRight.col),o="k-auto-fill-tr-hint";break;case 3:n=new w(t.bottomRight.row,t.topLeft.col),o="k-auto-fill-bl-hint"}let i=this._addDiv(e,n,o);if(i){let e=ne.element("span",{className:"k-tooltip"},[ne.text(this._sheet._autoFillHint)]);i.children.push(e)}}}return ne.element("div",{className:oi.classNames.autoFillWrapper},e)}_addDiv(e,t,n){let r;return this._currentView.ref.intersects(t)&&(r=this._rectangle(t).resize(1,1).toDiv(n),e.push(r)),r}_renderCustomEditorButton(e,t,n){let r=this,o=r._sheet,i=r._currentView,a=r._grid.columns._axis._count,s=o.activeCellCustomEditor();if(s&&i.ref.intersects(t)){let i=r._rectangle(t);o.forEach(t.collapse(),(function(t,o,l){l.left=i.left,l.top=i.top,l.width=i.width,l.height=i.height;let c="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-spreadsheet-editor-button",u=o===a-1||r._buttonOutOfVisiblePane(t,o,n);u&&(c+=" k-spreadsheet-last-column"),r._editorInLastColumn=u;let h=ne.element("div",{className:c,style:{left:l.left+(u?0:l.width)+"px",top:l.top+"px",height:l.height+"px"}});s.icon&&h.children.push(ne.element("span",{className:"k-icon "+s.icon})),e.push(h)}))}}_activeFormulaColor(){let e,t=[];return this._sheet.isInEditMode()&&(e=this._sheet._formulaSelections.filter((function(e){return e.active&&"ref"===e.type}))[0],e&&t.push(e.colorClass)),t}_directionClasses(e){let t=[],n=oi.classNames,r=this._currentView.ref;return e.move(0,-1).intersects(r)||t.push(n.left),e.move(-1,0).intersects(r)||t.push(n.top),e.move(0,1).intersects(r)||t.push(n.right),e.move(1,0).intersects(r)||t.push(n.bottom),t}_rectangle(e){return this._grid.boundingRectangle(e.toRangeRef()).offset(-this._currentView.mergedCellLeft,-this._currentView.mergedCellTop)}_buttonOutOfVisiblePane(e,t,n){let r=this._grid,o=this._sheet,i=o.range(e,t)._ref,a=r.scrollBoundaries(i),s=r.columns.frozen?0:n.scrollLeft;if(a.right+20>s||t+1===o.frozenColumns())return!0}}oi.classNames=ti;let ii=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","text-transform","line-height"],ai={27:"esc",37:"left",39:"right",35:"end",36:"home",32:"spacebar"},si=/(^_|[^a-z0-9]$)/i;class li extends Gr{constructor(e,t){const n=Object.assign({},{name:"FormulaInput",autoScale:!1,filterOperator:"startswith",scalePadding:30,minLength:1,formulaBarWidth:null},t);super(e,n),this.events=["keyup","focus"],this.input=t.input,e&&(this.bind(this.events,this.options),e.classList.add(li.classNames.wrapper),n&&n.formulaBarWidth,this._highlightedRefs=[],this._formulaSource(),this._formulaList(),this._tooltip(),this._sync=this._sync.bind(this),this.scale=this.scale.bind(this),this._keydown=this._keydown.bind(this),this._keyup=this._keyup.bind(this),this._blur=this._blur.bind(this),this._input=this._input.bind(this),this._focus=this._focus.bind(this),this._paste=this._paste.bind(this),this.options.autoScale&&e.addEventListener("input",this.scale),e.addEventListener("keydown",this._keydown),e.addEventListener("keyup",this._keyup),e.addEventListener("blur",this._blur),e.addEventListener("input",this._input),e.addEventListener("click",this._input),e.addEventListener("focus",this._focus),e.addEventListener("paste",this._paste))}enable(e){if(void 0===e)return"true"===this.element.getAttribute("contenteditable");e?this.element.setAttribute("contenteditable",e):this.element.removeAttribute("contenteditable"),this.element.classList.toggle("k-disabled",!e)}getPos(){let e=this.element,t=window.getSelection(),n=o(t.focusNode,t.focusOffset),r=o(t.anchorNode,t.anchorOffset);if(null!=n&&null!=r){if(n>r){let e=n;n=r,r=e}return{begin:n,end:r,collapsed:n===r}}function o(t,n){try{!function e(r){if(r===t)throw n;if(1===r.nodeType)for(let t=r.firstChild;t;t=t.nextSibling)e(t);else 3===r.nodeType&&(n+=r.nodeValue.length)}(e)}catch(e){return e}}}setPos(e,t){let n=this.element;if(e=i(n,e),t=null!=t?i(n,t):e,e&&t){let n=document.createRange();n.setStart(e.node,e.pos),n.setEnd(t.node,t.pos);let i=window.getSelection();o=i.getRangeAt(0),((r=n).startOffset!==o.startOffset||r.endOffset!==o.endOffset||r.startContainer!==o.endContainer||r.endContainer!==o.endContainer)&&(i.removeAllRanges(),i.addRange(n))}var r,o;function i(e,t){try{!function e(n){if(3===n.nodeType){let e=n.nodeValue.length;if(e>=t)throw n;t-=e}else if(1===n.nodeType)for(let t=n.firstChild;t;t=t.nextSibling)e(t)}(e)}catch(e){return{node:e,pos:t}}}}end(){this.setPos(this.length())}home(){this.setPos(0)}select(){this.setPos(0,this.length())}length(){return this.value().length}_formulaSource(){let e,t=[];for(let n in re.runtime.FUNCS)si.test(n)||(e=n.toUpperCase(),t.push({value:e,text:e}));this.formulaSource=t}get list(){return this.input.current.list}get popup(){return this.input.current.popup}_formulaList(){this.list.data(this.formulaSource),this.list.itemClick((e=>{this._formulaListChange(e)}))}_formulaListChange(e){let t=this._tokenContext();if(!t||this._mute)return;let n=t.token,r=e,o={replace:!0,token:n,end:n.end};t.nextToken&&"("===t.nextToken.value||(r+="("),this._replaceAt(o,r),this.popup.close()}_blur(){this.popup.close(),clearTimeout(this._focusId),this.trigger("blur")}_isFormula(){return/^=/.test(this.value())}_keydown(e){let t=e.keyCode,n=this;ai[t]?(n.popup.close(),n._navigated=!0):n._move(t)&&(n._navigated=!0,e.preventDefault()),n._keyDownTimeout=setTimeout(n._syntaxHighlight.bind(n))}_keyup(){let e,t=this.popup;if(this._isFormula()&&!this._navigated){e=((this._tokenContext()||{}).token||{}).value;const n=this.filter(e);e&&n.length?(t[t.visible()?"position":"open"](),setTimeout((()=>{this.list.focusFirst()}),0)):t.close()}this._navigated=!1,this._syntaxHighlight(),this.trigger("keyup")}_input(){this._syntaxHighlight()}_focus(){setTimeout(this._sync.bind(this)),this._focusTimeout=setTimeout(this._syntaxHighlight.bind(this)),this.trigger("focus")}_paste(e){e.preventDefault();let t,n=this.getPos();t=e.clipboardData.getData("text/plain");let r=this.value();r=r.substr(0,n.begin)+t+r.substr(n.end),this.value(r),this.setPos(n.begin+t.length),this.scale()}_move(e){let t=this.list,n=this.popup;if(n.visible()){if(e===S.DOWN)return t.focusNext(),!0;if(e===S.UP)return t.focusPrev(),!0;if(e===S.ENTER||e===S.TAB)return t.data()[t.focus()]&&this._formulaListChange(t.data()[t.focus()].value),n.close(),!0;if(e===S.PAGEUP)return t.focusFirst(),!0;if(e===S.PAGEDOWN)return t.focusLast(),!0}return!1}_tokenContext(){let e=this.getPos(),t=this.value();if(!t||!e||!e.collapsed)return null;let n,r=re.tokenize(t,this.row(),this.col());for(let t=0;t<r.length;++t)if(n=r[t],ui(n,e)&&/^(?:str|sym|func)$/.test(n.type))return{token:n,nextToken:r[t+1]};return null}_sync(){this._editorToSync&&this.isActive()&&this._editorToSync.value(this.value())}_textContainer(){let e=function(e,t){let n,r={};return document.defaultView&&document.defaultView.getComputedStyle?(n=document.defaultView.getComputedStyle(e,""),t&&t.forEach((function(e){r[e]=n.getPropertyValue(e)}))):(n=e.currentStyle,t&&t.forEach((function(e){var t;r[e]=n[(t=e,t.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()})))]}))),function(e){let t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!==t&&n++;return n}(r)||(r=n),r}(this.element,ii);e.position="absolute",e.visibility="hidden",e.whiteSpace="pre",e.top=-3333,e.left=-3333,this._span=document.createElement("span"),this._span.style.whiteSpace="pre";for(const t in e)Object.hasOwnProperty.call(e,t)&&(this._span.style[t]=e[t]);P(this._span,this.element)}_tooltip(){this._cellTooltip=document.createElement("div"),this._cellTooltip.className="k-widget k-tooltip",this._cellTooltip.style.position="absolute",this._cellTooltip.style.display="none",this._cellTooltip.appendChild(document.createTextNode("A1")),P(this._cellTooltip,this.element)}tooltip(e){for(;this._cellTooltip.firstChild;)this._cellTooltip.removeChild(this._cellTooltip.firstChild);this._cellTooltip.appendChild(document.createTextNode(e))}toggleTooltip(e){this._cellTooltip.style.display=e?"":"none"}isActive(){return this.element===function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}}()}filter(e){if(!e||e.length<this.options.minLength)return;const t=this.formulaSource.filter((t=>String(t.value).startsWith(e.toLowerCase())));return this.list.data(t),t}hide(){this.enable(!1),this.element.style.display="none",this._cellTooltip.style.display="none"}show(){this.enable(!0),this.element.style.display="block"}row(){if(this.activeCell)return this.activeCell.row}col(){if(this.activeCell)return this.activeCell.col}position(e){e&&(this.show(),this.element.style.top=e.top+1+"px",this.element.style.left=e.left+1+"px",this._cellTooltip.style.top=e.top-this._cellTooltip.offsetHeight-10+"px",this._cellTooltip.style.left=e.left+"px")}resize(e){e&&(this.element.style.width=e.width-1+"px",this.element.style.height=e.height-1+"px")}canInsertRef(e){return this._canInsertRef(e)}_canInsertRef(e){if(this.popup.visible())return null;let t,n,r,o=e,i=this.getPos();if(i&&this._isFormula()){if(0===i.begin)return null;for(t=re.tokenize(this.value(),this.row(),this.col()),r=0;r<t.length;++r){if(n=t[r],ui(n,i))return s(n);if(a(n))return l(t[r-1],n)}return l(n,null)}return null;function a(e){return e.begin>i.begin}function s(e){if(e){if(/^(?:num|str|bool|sym|ref)$/.test(e.type))return{replace:!0,token:e,end:e.end};if(/^(?:op|punc|startexp)$/.test(e.type))return e.end===i.end?l(e,t[r+1]):l(t[r-1],e)}}function l(e,t){if(null==e)return null;if(null==t)return/^(?:op|startexp)$/.test(e.type)||ci(e.value)?{token:e,end:i.end}:null;if(o){if("op"===e.type&&/^(?:punc|op)$/.test(t.type))return{token:e,end:i.end}}else{if("startexp"===e.type)return{token:e,end:i.end};if(/^(?:op|punc)$/.test(e.type)&&/^[,;({]$/.test(e.value))return{token:e,end:i.end};if(/^(?:ref|sym)/.test(e.type))return{token:e,replace:!0,end:e.end};if(/^(?:ref|sym)/.test(t.type))return{token:t,replace:!0,end:t.end}}return!1}}refAtPoint(e){let t=this._canInsertRef();if(t){let n=e.selection()._ref.simplify().clone().relative(0,0,3);e.isMerged(n)&&(n=n.topLeft),e!==this.activeSheet&&(n=n.setSheet(e.name(),!0)),this._replaceAt(t,n.print(0,0))}}_replaceAt(e,t){let n=this.value(),r=e.token,o=n.substr(e.end);n=n.substr(0,e.replace?r.begin:e.end)+t;let i=n.length;n+=o,this._value(n),this.setPos(i),this.scale(),this._syntaxHighlight()}syncWith(e){this._editorToSync=e,this.element&&(this.element.removeEventListener("input",this._sync),this.element.addEventListener("input",this._sync))}scale(){let e,t,n=this.element;this._span||this._textContainer(),this._span.innerHTML=n.innerHTML,e=this._span.offsetWidth+this.options.scalePadding,t=this._span.offsetHeight,e>n.offsetWidth&&(n.style.width=e+"px"),t>n.offsetHeight&&(n.style.height=t+"px"),this._sync()}_value(e){if((this.element.innerText||this.element.textContent).replace(/\n$/,"")!==e){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(document.createTextNode(e))}}value(e){let t=(this.element.innerText||this.element.textContent).replace(/\n$/,"");if(void 0===e)return t;t!==e&&(this._value(e),this._syntaxHighlight())}highlightedRefs(){return this._highlightedRefs.slice()}_syntaxHighlight(){let e=this.getPos(),t=this.value(),n=oi.classNames.series,r=[],o=0,i=[],a=[];e&&!e.collapsed||(/^=/.test(t)?(a=re.tokenize(t,this.row(),this.col()),a.forEach((function(t){if(t.active=!1,t.cls=["k-syntax-"+t.type],"ref"===t.type&&(t.colorClass=n[o++%n.length],t.cls.push(t.colorClass),r.push(t)),e&&"punc"===t.type)if(ci(t.value))i.unshift(t);else if(")"===(a=t.value)||"]"===a||"}"===a){let n=i.shift();n?function(e,t){return"("===t?")"===e:"["===t?"]"===e:"{"===t&&"}"===e}(t.value,n.value)?(ui(t,e)||ui(n,e))&&(t.cls.push("k-syntax-paren-match"),n.cls.push("k-syntax-paren-match")):(t.cls.push("k-syntax-error"),n.cls.push("k-syntax-error")):t.cls.push("k-syntax-error")}var a;e&&ui(t,e)&&(t.cls.push("k-syntax-at-point"),t.active=!0),"func"!==t.type||function(e){return re.runtime.FUNCS[e.toLowerCase()]}(t.value)||e&&ui(t,e)||t.cls.push("k-syntax-error")})),a.reverse().forEach((function(e){let n=e.begin,r=e.end,o=function(e){return String(e).replace(Xr,"&").replace(Zr,"<").replace(eo,">").replace(Jr,""").replace(Qr,"'")}(t.substring(n,r));t=t.substr(0,n)+"<span class='"+e.cls.join(" ")+"'>"+o+"</span>"+t.substr(r)})),this.element.innerHTML=t,e&&this.setPos(e.begin,e.end),this._highlightedRefs=r):this._highlightedRefs.length&&(this._highlightedRefs=[],this._value(t)))}destroy(){this._editorToSync=null,this.element.removeEventListener("input",this.scale),this.element.removeEventListener("keydown",this._keydown),this.element.removeEventListener("keyup",this._keyup),this.element.removeEventListener("blur",this._blur),this.element.removeEventListener("input",this._input),this.element.removeEventListener("click",this._input),this.element.removeEventListener("focus",this._focus),this.element.removeEventListener("paste",this._paste),clearTimeout(this._focusTimeout),clearTimeout(this._keyDownTimeout),this._cellTooltip=null,this._span=null,super.destroy()}insertNewline(){let e=this.value(),t=this.getPos(),n=t.end===e.length;e=e.substr(0,t.begin)+(n?"\n\n":"\n"+e.substr(t.end)),this.value(e),this.setPos(t.begin+1)}}function ci(e){return"("===e||"["===e||"{"===e}function ui(e,t){return e.begin<=t.begin&&e.end>=t.end}li.classNames={wrapper:"k-spreadsheet-formula-input",listWrapper:"k-spreadsheet-formula-list"};class hi extends Gr{constructor(e,t){super(e,t);const n=e&&e.querySelector(".k-spreadsheet-formula-input:not(.k-spreadsheet-cell-editor)");this.formulaInput=new li(n,this.options)}destroy(){this.formulaInput&&this.formulaInput.destroy(),this.formulaInput=null}}class di extends Gr{readData(){const e=[];return this._workbook.forEachName((function(t){!t.hidden&&t.value instanceof g&&e.push({name:t.name})})),e}value(e){if(this.options.combobox.current)return this.options.combobox.current.value(e)}}class pi extends Gr{constructor(e,t){super(e,Object.assign({},{name:"SheetsBar"},t)),this.events=["select","reorder","rename"]}onSheetReorderEnd(e){this.trigger("reorder",{oldIndex:e.oldIndex,newIndex:e.newIndex})}onSheetRemove(e){this.trigger("remove",{name:e,confirmation:!0})}onSheetSelect(e){this.trigger("select",{name:e,isAddButton:!1})}onSheetRename(e,t){this.trigger("rename",{name:e,sheetIndex:t})}onAddSelect(){this.trigger("select",{isAddButton:!0})}destroy(){super.destroy()}}class fi{constructor(){this.cols=[],this.trs=[],this._height=0,this._width=0}addColumn(e){this._width+=e;let t=ne.element("col",{style:{width:e+"px"}});t.visible=e>0,this.cols.push(t)}addRow(e){let t=null;t={style:{height:e+"px"}},this._height+=e;let n=ne.element("tr",t);n.visible=e>0,this.trs.push(n)}addCell(e,t,n,r,o){null==t&&(t=""),t instanceof ne.Node||(t=ne.text(t));let i=[t],a={style:n};o&&!o.value&&(i.push(ne.element("span",{className:"k-dirty"})),r=(r||"")+(r?" ":"")+"k-dirty-cell",a.title=o.message),r&&(a.className=r);let s=ne.element("td",a,i);return this.trs[e].children.push(s),s}toDomTree(e,t,n){this.trs=this.trs.filter((function(e){return e.visible}));let r=0;return this.cols=this.cols.filter((function(e,t){return e.visible||(this.trs.forEach((function(e){e.children.splice(t-r,1)})),r++),e.visible}),this),ne.element("table",{style:{left:e+"px",top:t+"px",height:this._height+"px",width:this._width+"px"},className:n,role:"presentation"},[ne.element("colgroup",null,this.cols),ne.element("tbody",null,this.trs)])}}function mi(e,t,n){return e>=t&&e<=n}class vi extends $r{constructor(e,t){super();let n=vi.classNames;this.element=e,this.options=V({},{messages:_.view},this.options,t),this.events=["update"],this._chrome(),this._dialogs=[],this._formulaInput(),this.wrapper=e.querySelector(Qo+n.view),this.container=e.querySelector(Qo+n.fixedContainer),this.scroller=e.querySelector(Qo+n.scroller),this.clipboard=e.querySelector(Qo+n.clipboard),this.viewSize=this.scroller&&this.scroller.firstChild,this.tree=new ne.Tree(this.container),this.clipboardContents=new ne.Tree(this.clipboard),this.editor=new Yr(this),this._sheetsbar()}enableClipboard(e){this.isClipboardDeactivated=!e,e?this.clipboard.setAttribute("contenteditable",e):this.clipboard.removeAttribute("contenteditable")}_resize(){}_chrome(){let e=this.element.querySelector(".k-spreadsheet-name-editor");this.nameEditor=new di(e,{combobox:this.options.nameBoxRef});let t=this.element.querySelector(".k-spreadsheet-formula-bar");this.formulaBar=new hi(t,{input:this.options.formulaBarInputRef})}_formulaInput(){let e=this.element.querySelector(Qo+vi.classNames.cellEditor);this.formulaInput=new li(e,{autoScale:!0,input:this.options.formulaCellInputRef})}_sheetsbar(){this.options.sheetsbar&&(this.sheetsbar=new pi(this.element.querySelector(Qo+vi.classNames.sheetsBar),this.options.sheetsbar))}_tabstrip(){}_executeCommand(e){this._sheet.trigger("commandRequest",e)}workbook(e){this._workbook=e,e._view=this,this.nameEditor._workbook=e}sheet(e){this._sheet=e}activeCellRectangle(){return this.cellRectangle(this._sheet._viewActiveCell())}_rectangle(e,t){return e._grid.boundingRectangle(t.toRangeRef())}isColumnResizer(e,t,n){return e-=this._sheet._grid._headerWidth,t._grid.columns.frozen||(e+=this.scroller.scrollLeft),null===(n=this._sheet._grid._columns.locate(0,n,(function(t){return Math.abs(e-t)<=3.5})))||this._sheet.isHiddenColumn(n)?null:n}isRowResizer(e,t,n){return e-=this._sheet._grid._headerHeight,t._grid.rows.frozen||(e+=this.scroller.scrollTop),null===(n=this._sheet._grid._rows.locate(0,n,(function(t){return Math.abs(e-t)<=3.5})))||this._sheet.isHiddenRow(n)?null:n}isFilterIcon(e,t,n,r){let o=this,i=n._grid,a=i.rows.frozen?0:o.scroller.scrollTop,s=i.columns.frozen?0:o.scroller.scrollLeft;return e-=o._sheet._grid._headerWidth-s,t-=o._sheet._grid._headerHeight-a,R((function(i){o._sheet.forEachFilterHeader(r,(function(r){let a=o._rectangle(n,r);n.filterIconRect(a).intersects(e,t)&&i(!0)}))}))}isAutoFill(e,t,n){let r=this._sheet.select();if(r.size>1)return!1;e-=this._sheet._grid._headerWidth,t-=this._sheet._grid._headerHeight,n._grid.columns.frozen||(e+=this.scroller.scrollLeft),n._grid.rows.frozen||(t+=this.scroller.scrollTop);let o=this._rectangle(n,r);return Math.abs(o.right-e)<8&&Math.abs(o.bottom-t)<8}isEditButton(e,t,n){if(this._sheet.activeCellCustomEditor()){let r=this.activeCellRectangle();if(t>=r.top&&t<=r.bottom)return n._editorInLastColumn?e<r.left&&e>=r.left-20:e>r.right&&e<=r.right+20}}drawingAt(e,t,n){e-=this._sheet._grid._headerWidth,t-=this._sheet._grid._headerHeight,n._grid.columns.frozen||(e+=this.scroller.scrollLeft),n._grid.rows.frozen||(t+=this.scroller.scrollTop);let r=this._sheet,o=this._sheet._drawings;for(let n=o.length;--n>=0;){let i=o[n],a=r.drawingBoundingBox(i);if(a.intersects(e,t))return{drawing:i,drx:a.left-e,dry:a.top-t}}}objectAt(e,t,n){let r,o,i=this._sheet._grid;if(e<0||t<0||e>this.scroller.clientWidth||t>this.scroller.clientHeight)r={type:"outside"};else if(e<i._headerWidth&&t<i._headerHeight)r={type:"topcorner"};else if(o=this.paneAt(e,t),o){if(!n){let n=this.drawingAt(e,t,o);if(n)return{type:"drawing",drawing:n.drawing,drx:n.drx,dry:n.dry,pane:o,startX:e,startY:t}}let a=o._grid.rows.indexVisible(t,this.scroller.scrollTop),s=o._grid.columns.indexVisible(e,this.scroller.scrollLeft),l="cell",c=new w(a,s),u=this._sheet.selectionInProgress();this.isAutoFill(e,t,o)?l="autofill":this.isFilterIcon(e,t,o,c)?l="filtericon":!u&&e<i._headerWidth?(l="rowheader",null!==(a=this.isRowResizer(t,o,a))&&(c=new w(a,-1/0),l="rowresizehandle")):!u&&t<i._headerHeight?(l="columnheader",null!==(s=this.isColumnResizer(e,o,s))&&(c=new w(-1/0,s),l="columnresizehandle")):this.isEditButton(e,t,o)&&(l="editor"),r={type:l,ref:c}}else r={type:"outside"};return r.pane=o,r.x=e,r.y=t,r}paneAt(e,t){return this.panes.filter((function(n){let r=n._grid;return mi(t,r.top,r.bottom)&&mi(e,r.left,r.right)}))[0]}containingPane(e){return this.panes.filter((function(t){return!!t._grid.contains(e)}))[0]}cellRectangle(e){let t=this.containingPane(e)._grid;return this._sheet._grid.rectangle(e).offset(t.headerWidth-(t.columns.frozen?0:this.scroller.scrollLeft),t.headerHeight-(t.rows.frozen?0:this.scroller.scrollTop))}refresh(e){let t=this._sheet;if(this.trigger("update",{reason:e,range:t.range(t.activeCell())}),this._resize(),this.viewSize.style.height=t._grid.totalHeight()+"px",this.viewSize.style.width=t._grid.totalWidth()+"px",e.layout){let e=t.frozenColumns(),n=t.frozenRows();this.panes=[this._pane(n,e)],e>0&&this.panes.push(this._pane(n,0,null,e)),n>0&&this.panes.push(this._pane(0,e,n,null)),n>0&&e>0&&this.panes.push(this._pane(0,0,n,e))}e.filter&&this._destroyFilterMenu(),e.activeCell&&(this._focus=t.activeCell().toRangeRef())}createFilterMenu(){}selectClipboardContents(){this.isClipboardDeactivated||(this.clipboard.focus(),function(e){let t=window.getSelection();t.removeAllRanges();let n=document.createRange();n.selectNodeContents(e),t.addRange(n)}(this.clipboard))}scrollIntoView(e){let t=!1,n=this.containingPane(e)._grid,r=n.scrollBoundaries(e),o=this.scroller,i=n.rows.frozen?0:o.scrollTop,a=n.columns.frozen?0:o.scrollLeft;return r.top<i&&(t=!0,o.scrollTop=r.scrollTop),r.bottom>i&&(t=!0,o.scrollTop=r.scrollBottom),r.left<a&&(t=!0,o.scrollLeft=r.scrollLeft),r.right>a&&(t=!0,o.scrollLeft=r.scrollRight),t}_destroyDialog(){this._dialogs.pop()}openCustomEditor(){let e=this,t=e._sheet.activeCell().first(),n=e._sheet.activeCellCustomEditor(),r=e._sheet.range(t);n.edit({range:r,rect:e.activeCellRectangle(),view:this,validation:this._sheet.validation(t),callback:function(t,n){e._executeCommand({command:"EditCommand",options:{operatingRange:r,editRange:r,property:n?"input":"value",value:t}})}})}openDialog(){}showError(){}destroy(){this.unbind(),[this.tree,this.clipboardContents].forEach((e=>{for(;e&&e.root&&e.root.lastChild;)e.root.removeChild(e.root.lastChild)})),this.tree=this.clipboardContents=null}_destroyFilterMenu(){this._filterMenu&&(this._filterMenu.destroy(),this._filterMenu=void 0,this._filterMenuColumn=void 0)}render(e){let t=this._sheet,n=t.focus(),r=N(),o=this.wrapper.clientWidth-r,i=this.wrapper.clientHeight-r;if(n&&this.scrollIntoView(n))return;let a=t.resizingInProgress()?t.resizeHandlePosition().col===-1/0?"column":"row":"none";this.wrapper.classList.toggle(ei.editContainer,this.editor.isActive()),this.wrapper.classList.toggle(ei.horizontalResize,"row"===a),this.wrapper.classList.toggle(ei.verticalResize,"column"===a);let s=t._grid,l=[],c={scroller:this.scroller,toplevelElements:l,contentWidth:o,contentHeight:i};this.panes.forEach((function(e){l.push(e.render(c))}));let u=ne.element("div",{style:{width:s._headerWidth+"px",height:s._headerHeight+"px"},className:vi.classNames.topCorner});l.push(u),t.resizeHandlePosition()&&t.resizeHintPosition()&&l.push(this.renderResizeHint()),this.tree.render(l),this.container.style.width=o+"px",this.container.style.height=i+"px",this.editor.isActive()?this.editor.toggleTooltip(this.activeCellRectangle()):e.resize||e.comment||t.selectionInProgress()||t.resizingInProgress()||t.draggingInProgress()||t.isInEditMode()||this.renderClipboardContents()}renderResizeHint(){let e,t=this._sheet,n=t.resizeHandlePosition().col!==-1/0;e=n?{height:this.scroller.clientHeight+"px",width:"7px",left:t.resizeHintPosition().x+"px",top:"0px"}:{height:"7px",width:this.scroller.clientWidth+"px",top:t.resizeHintPosition().y+"px",left:"0px"};let r=oi.classNames;return ne.element("div",{className:r.resizeHint+(n?"":" "+r.resizeHintVertical),style:e},[ne.element("div",{className:r.resizeHintHandle}),ne.element("div",{className:r.resizeHintMarker})])}renderClipboardContents(){let e=this._sheet,t=e._grid,n=t.normalize(e.select().toRangeRef()),r=this._workbook.clipboard().canCopy();if(!1===r.canCopy&&r.multiSelection)return this.clipboardContents.render([]),void this.selectClipboardContents();n=e.trim(n);let o=new fi,i=t.rangeDimensions(n);i.rows.forEach((function(e){o.addRow(e)})),i.columns.forEach((function(e){o.addColumn(e)}));let a=e._getMergedCells(n),s=a.primary,l=a.secondary;e.forEach(n,(function(e,t,r){let i=new w(e,t).print();if(!l[i]){let t=function(e,t,n){let r={};n.background&&(r.backgroundColor=n.background),n.color&&(r.color=n.color),n.fontFamily&&(r.fontFamily=n.fontFamily),n.underline&&(r.textDecoration="underline"),n.italic&&(r.fontStyle="italic"),n.textAlign&&(r.textAlign=n.textAlign),n.verticalAlign&&(r.verticalAlign="center"===n.verticalAlign?"middle":n.verticalAlign),n.bold&&(r.fontWeight="bold"),n.fontSize&&(r.fontSize=n.fontSize+"px"),!0===n.wrap&&(r.whiteSpace="pre-wrap"),n.borderRight?r.borderRight=ni(n.borderRight):n.background&&(r.borderRightColor=n.background),n.borderBottom?r.borderBottom=ni(n.borderBottom):n.background&&(r.borderBottomColor=n.background);let o=n.value,i=typeof o,a=n.format;if(a||"number"!==i||o===Math.floor(o)||(a="0.##############"),a&&null!=o&&(o=Un.format(o,a),o.__dataType&&(i=o.__dataType)),!r.textAlign)switch(i){case"number":case"date":case"percent":case"currency":r.textAlign="right";break;case"boolean":r.textAlign="center"}let s=null;!1===n.enable&&(s="k-disabled");let l,c,u=e.addCell(t,o,r,s,n.validation);return n.borderLeft?(c=function(e,t){let n=e.trs[t].children;return n[n.length-2]}(e,t),l=ni(n.borderLeft),c&&l&&(c.attr.style.borderRight=l)):n.background&&(r.borderLeftColor=n.background),n.borderTop?(c=function(e,t){let n=e.trs[t-1],r=e.trs[t].children.length-1;if(n&&r>=0)return n.children[r]}(e,t),l=ni(n.borderTop),c&&l&&(c.attr.style.borderBottom=l)):n.background&&(r.borderTopColor=n.background),u}(o,e-n.topLeft.row,r),a=s[i];a&&(t.attr.colspan=a.width(),t.attr.rowspan=a.height())}})),this.clipboardContents.render([o.toDomTree(0,0,"kendo-clipboard-"+this._workbook.clipboard()._uid)]),this.selectClipboardContents()}_pane(e,t,n,r){let o=new oi(this._sheet,this._sheet._grid.pane({row:e,column:t,rowCount:n,columnCount:r}));return o.refresh(this.scroller.clientWidth,this.scroller.clientHeight),o}}vi.classNames=ei;class gi{constructor(e){this._content={},this._externalContent={},this._internalContent={},this.workbook=e,this.origin=b,this.iframe=document.createElement("iframe"),this.iframe.className="k-spreadsheet-clipboard-paste",this.iframe.setAttribute("title","Spreadsheet clipboard iframe"),this.menuInvoked=!1,this._uid=function(){let e,t,n="";for(n+="abcdef"[Math.floor(Math.random()*Math.floor(6))],e=1;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n}(),document.body.appendChild(this.iframe)}destroy(){this.iframe&&this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe)}canCopy(){let e={canCopy:!0},t=this.workbook.activeSheet().select();return t===b&&(e.canCopy=!1),t instanceof k&&(e.canCopy=!1,e.multiSelection=!0),this.menuInvoked&&(e.canCopy=!1,e.menuInvoked=!0),e}canPaste(){let e=this.workbook.activeSheet(),t=this.pasteRef(),n={canPaste:!0,pasteOnMerged:!1,pasteOnDisabled:!1};return e.range(t).enable()||(n.canPaste=!1,n.pasteOnDisabled=!0),t.eq(e.unionWithMerged(t))||(n.canPaste=!1,n.pasteOnMerged=!0),this.menuInvoked&&(n.canPaste=!1,n.menuInvoked=!0),n}intersectsMerged(){let e=this.workbook.activeSheet();this.parse(),this.origin=this._content.origRef;let t=this.pasteRef();return!t.eq(e.unionWithMerged(t))}copy(){let e=this.workbook.activeSheet();this.origin=e.select(),this._internalContent=e.selection().getState(),delete this._externalContent.html,delete this._externalContent.plain}cut(){let e=this.workbook.activeSheet();this.copy(),e.range(e.select()).clear()}pasteRef(){let e=this.workbook.activeSheet();if(this.origin===b)return e.select();let t=e.activeCell().first(),n=this.origin.first(),r=n.row-t.row,o=n.col-t.col;return this.origin.relative(r,o,3)}paste(){let e=this.workbook.activeSheet(),t=this.pasteRef();(t.bottomRight.row>=e._rows._count||t.bottomRight.col>=e._columns._count)&&e.resize(Math.max(t.bottomRight.row+1,e._rows._count),Math.max(t.bottomRight.col+1,e._columns._count)),e.range(t).setState(this._content,this),e.triggerChange({recalc:!0,ref:t})}external(e){if(!e||!e.html&&!e.plain)return this._externalContent;this._externalContent=e}isExternal(){return!this._isInternal()}parse(){let e;if(this._isInternal())e=this._internalContent;else{let t=this._externalContent;if(e=t.plain?function(e){let t=bi();if(-1===e.indexOf("\t")&&-1===e.indexOf("\n"))yi(t,0,0,{value:e});else{let n=e.split("\n");for(let e=0;e<n.length;e++){let r=n[e].split("\t");for(let n=0;n<r.length;n++)yi(t,e,n,{value:r[n]})}}return t}(t.plain):bi(),t.html){let n=this.iframe.contentWindow.document;n.open(),n.write(t.html),n.close();let r=n.querySelector("table");if(r){let t=function(e){let t=bi(),n=[],r=0,o=0;for(let t=0;t<e.rows.length;++t)n.push([]);let i=new re.runtime.Matrix,a=new re.runtime.Matrix;for(let s=0;s<e.rows.length;++s,++r){let l=e.rows[s];o=0;for(let e=0;e<l.cells.length;++e){let s=l.cells[e],c=s.rowSpan,u=s.colSpan;for(;n[r][o];)o++;let h=s.getAttribute("style"),d=/mso-ignore:colspan/.test(h);yi(t,r,o,xi(r,o,s,i,a)),(c>1||u>1&&!d)&&t.mergedCells.push(new x(new w(r,o),new w(r+c-1,o+u-1)).toString());for(let e=r+c;--e>=r;)for(let i=o+u;--i>=o;)e<n.length&&(n[e][i]=!0,e===r&&i===o||yi(t,e,i,{}))}}return t}(r);t.data.forEach((function(t,n){t.forEach((function(t,r){/^\s*#+\s*$/.test(t.value)&&(t.value=e.data[n][r].value)}))})),e=t}}this.origin=e.origRef}this._content=e}_isInternal(){if(void 0===this._externalContent.html)return!0;let e=Boolean(L(this._externalContent.html).querySelector("table.kendo-clipboard-"+this._uid)),t=Boolean(L(this._externalContent.plain).querySelector("table.kendo-clipboard-"+this._uid));return e||t}}function bi(){let e=new w(0,0,0);return{ref:e,mergedCells:[],data:[],foreign:!0,origRef:e.toRangeRef()}}function yi(e,t,n,r){let o=e.data||(e.data=[]);o[t]||(o[t]=[]),o[t][n]=r;let i=e.origRef.bottomRight;i.row=Math.max(i.row,t),i.col=Math.max(i.col,n)}function wi(e){return e.replace(/^-(?:ms|moz|webkit)-/,"")}function xi(e,t,n,r,o){let i=window.getComputedStyle(n),a=(n.innerText||n.textContent).replace(/\t$/,""),s=function(e){let t={};return["borderBottom","borderRight","borderLeft","borderTop"].forEach((function(n){t[n]="none"===e[n+"Style"]?null:{size:1,color:e[n+"Color"]}})),t}(i),l={value:""===a?null:a,borderTop:s.borderTop||r.get(e,t)||null,borderBottom:s.borderBottom||r.get(e+1,t)||null,borderLeft:s.borderLeft||o.get(e,t)||null,borderRight:s.borderRight||o.get(e,t+1)||null,fontSize:parseInt(i["font-size"],10)};return r.set(e,t,l.borderTop),r.set(e+1,t,l.borderBottom),o.set(e,t,l.borderLeft),o.set(e,t+1,l.borderRight),"rgb(0, 0, 0)"!==i["background-color"]&&"rgba(0, 0, 0, 0)"!==i["background-color"]&&(l.background=i["background-color"]),"rgb(0, 0, 0)"!==i.color&&"rgba(0, 0, 0, 0)"!==i.color&&(l.color=i.color),"underline"===i["text-decoration"]&&(l.underline=!0),"italic"===i["font-style"]&&(l.italic=!0),"bold"===i["font-weight"]&&(l.bold=!0),"right"!==wi(i["text-align"])&&(l.textAlign=wi(i["text-align"])),"middle"!==i["vertical-align"]&&(l.verticalAlign=i["vertical-align"]),"normal"!==i["word-wrap"]&&(l.wrap=!0),l}let ki="autoFill",zi="clear",Ci="edit",_i="paste",Ii="validation";const Ei=()=>{};class Si{constructor(e){this.options=e,this._workbook=e.workbook,this._property=e&&e.property,this._state={}}range(e){return void 0!==e&&this._setRange(e),this._range}_setRange(e){this._range=e}redo(){this.range().select(),this.exec()}undo(){this.setState(this._state)}getState(){this._state=this.range().getState(this._property)}setState(e){this.range().setState(e)}rejectState(e){return this.undo(),{title:e.title,body:e.message,reason:"error",type:"validationError"}}_forEachCell(e){let t=this.range();t._ref.forEach(function(n){t.sheet().forEach(n.toRangeRef(),e.bind(this))}.bind(this))}usesImage(){return!1}}class Mi extends Si{constructor(e){super(e),this._drawing=e.drawing}usesImage(e){return this._drawing.image===e}}class Oi extends Mi{exec(){let e=this.range().sheet();this._origIndex=e._drawings.indexOf(this._drawing),e._drawings.splice(this._origIndex,1),this._newIndex=this._reorder(),e._drawings.splice(this._newIndex,0,this._drawing),e.triggerChange({drawings:!0})}undo(){let e=this.range().sheet();e._drawings.splice(this._newIndex,1),e._drawings.splice(this._origIndex,0,this._drawing),e.triggerChange({drawings:!0})}}class Ri extends Si{constructor(e){super(e),this._target=e.target,this._value=e.value}exec(){this.getState(),this.setState(this._value)}}class Hi extends Si{_setRange(e){Si.prototype._setRange.call(this,e.skipHiddenCells())}constructor(e){super(e),this._value=e.value}exec(){let e=this.range();e.enable()&&(this.getState(),"format"===this.options.property&&this._workbook.trigger("changeFormat",{range:e}),e[this._property](this._value))}}class Fi extends Si{constructor(e){super(e),this._eventType="cut",this._clipboard=e.workbook.clipboard(),this._event=e.event}exec(){let e,t,n=this._clipboard.canCopy(),r=[];if(!n.canCopy)return n.menuInvoked?{reason:"error",type:"useKeyboard"}:n.multiSelection?{reason:"error",type:"unsupportedSelection"}:void 0;let o=this._workbook.activeSheet().selection();if("cut"===this._eventType){if(!o.enable())return this._event.preventDefault(),{reason:"error",type:"cannotModifyDisabled"};this.getState()}if(this._workbook.trigger(this._eventType,{range:o}))this._event.preventDefault();else if("cut"===this._eventType){if(e=o.values(),e.forEach((function(e){t=[],e.forEach((function(){t.push({})})),r.push(t)})),o.sheet().trigger("changing",{data:r,range:o,changeType:"cut"}))return;this._clipboard.cut()}else this._clipboard.copy()}undo(){let e=this.range();e.sheet().trigger("changing",{data:this._state.data,range:e,changeType:"cut"})||this.setState(this._state)}}class Vi extends Si{column(){return this.options.column||0}undo(){this.range().sheet().clearFilter(this.column()),this._state.length&&this.range().filter(this._state)}getState(){let e=this.range().sheet().filter();e&&(this._state=e.columns.filter(function(e){return e.index===this.column()}.bind(this)))}exec(){let e,t,n=this.range(),r=this.column(),o=n.sheet().filter(),i=!1;this.options.valueFilter?t={column:r,filter:new ko(this.options.valueFilter)}:this.options.customFilter&&(t={column:r,filter:new zo(this.options.customFilter)}),this.getState(),o&&o.ref.eq(n._ref)&&o.columns.length?(o.columns.forEach((function(e){e.index===r&&(i=!0)})),e=o.columns.map((function(e){return e.index===r?t:{column:e.index,filter:e.filter}})),i||e.push(t)):e=t,n.filter(e)}}class Di extends Si{constructor(e){super(e),this.axis=e.axis}undo(){this.range().sheet().setAxisState(this._state)}exec(){let e=this.range().sheet();this._state=e.getAxisState(),"row"===this.axis?e.axisManager().hideSelectedRows():e.axisManager().hideSelectedColumns()}}class Bi extends Si{exec(){this._expandedRange=this._expand(this.range()),this._state=this._expandedRange.getState(),this._indexes=this._exec(this._expandedRange.sheet())}undo(){let e=this,t=e._expandedRange,n=t.sheet();n.batch((function(){e._indexes.forEach((function(t){e._undoOne(n,t),n._restoreModifiedFormulas(t.formulas)})),t.setState(e._state)}),{layout:!0,recalc:!0,ref:t._ref,isValue:!0})}}class Ai extends Si{constructor(e){super(e),this._value=e.value}undo(){let e=this,t=e.range().sheet();t.batch((function(){for(let n=e._pos.count;--n>=0;)e._undoOne(t,e._pos.base)}),{layout:!0,recalc:!0})}}class Ni extends Si{constructor(e){super(e),this._name=e.name,this._value=e.value}getState(){this._state=this._workbook.nameDefinition(this._name)}setState(){this._workbook.nameDefinition(this._name,this._state),this._workbook.trigger("change",{recalc:!0})}}var Li=Object.freeze({__proto__:null,AddColumnCommand:class extends Ai{exec(){let e=this._value,t=this.range().sheet();this._pos="left"===e?t.axisManager().addColumnLeft():t.axisManager().addColumnRight()}_undoOne(e,t){e.deleteColumn(t)}},AddCommand:Ai,AddRowCommand:class extends Ai{exec(){let e=this._value,t=this.range().sheet();this._pos="above"===e?t.axisManager().addRowAbove():t.axisManager().addRowBelow()}_undoOne(e,t){e.deleteRow(t)}},AdjustDecimalsCommand:class extends Si{constructor(e){e.property="format",super(e),this._delta=e.value}exec(){let e=this.range().sheet(),t=this._delta;this.getState(),e.batch(function(){this.range().forEachCell((function(n,r,o){let i=o.format;if(!i){let e=o.value;"number"==typeof e&&/\./.test(e)&&(i="0."+String(e).split(".")[1].replace(/\d/g,"0"))}(i||t>0)&&(i=Un.adjustDecimals(i||"0",t),e.range(n,r).format(i))}))}.bind(this))}},AdjustRowHeightCommand:class extends Si{exec(){let e=this.options,t=this._workbook.activeSheet();(e.range||t.range(e.rowIndex))._adjustRowHeight()}},ApplyFilterCommand:Vi,AutoFillCommand:class extends Si{constructor(e){super(e)}origin(e){this._origin=e}exec(){let e,t=this.range();if(!t.enable())return{reason:"error",type:"rangeDisabled"};if(t.intersectingArrayFormula())return{reason:"error",type:"intersectsArray"};this.getState();try{if(e=t._previewFillFrom(this._origin),t.sheet().trigger("changing",{data:e.props,range:e.dest,changeType:ki}))return;e.dest._properties(e.props,!0)}catch(e){if(e instanceof Fr.FillError)return{reason:"error",type:e.code};throw e}}undo(){let e=this.range(),t=this._state;e.sheet().trigger("changing",{data:t.data,range:e,changeType:ki})||this.setState(this._state)}},BorderChangeCommand:class extends Si{constructor(e){e.property="border",super(e),this._type=e.border,this._style=e.style}_batch(e){return this.range().sheet().batch(e,{})}exec(){let e=this;e.getState(),e._batch((function(){e[e._type](e._style)}))}noBorders(){this.range().insideBorders(null),this.outsideBorders(null)}allBorders(e){this.range().insideBorders(e),this.outsideBorders(e)}leftBorder(e){this.range().leftColumn().borderLeft(e)}rightBorder(e){this.range().rightColumn().borderRight(e)}topBorder(e){this.range().topRow().borderTop(e)}bottomBorder(e){this.range().bottomRow().borderBottom(e)}outsideBorders(e){let t=this.range();t.leftColumn().borderLeft(e),t.topRow().borderTop(e),t.rightColumn().borderRight(e),t.bottomRow().borderBottom(e)}insideBorders(e){this.range().insideBorders(e),this.outsideBorders(null)}insideHorizontalBorders(e){this.range().insideHorizontalBorders(e)}insideVerticalBorders(e){this.range().insideVerticalBorders(e)}},BringToFrontCommand:class extends Oi{_reorder(){return this.range().sheet()._drawings.length}},ClearContentCommand:class extends Si{exec(){let e,t,n,r,o,i=[];return this.range().enable()?this.range().canEditArrayFormula()?(this.getState(),e=this.range().skipHiddenCells(),e._ref.refs&&e._ref.refs.length>1?e._ref.refs.forEach((function(t){o=e.sheet().range(t),i=i.concat(o.values())})):i=e.values(),n=[],i.forEach((function(e){t=[],e.forEach((function(){t.push(null)})),n.push(t)})),e.sheet().trigger("changing",{data:n,range:e,changeType:zi})?void 0:(e.clearContent(),r=e._getValidationState(),r?this.rejectState(r):void 0)):{reason:"error",type:"intersectsArray"}:{reason:"error",type:"cannotModifyDisabled"}}undo(){let e,t=this.range().skipHiddenCells(),n=t.sheet(),r=this._state.data,o=[];r.forEach((function(t){e=[],t.forEach((function(t){e.push(t.value)})),o.push(e)})),n.trigger("changing",{data:o,range:t,changeType:zi})||this.setState(this._state)}},ClearFilterCommand:class extends Vi{exec(){let e=this.range(),t=this.column();this.getState(),e.clearFilter(t)}},ColumnWidthCommand:class extends Ri{getState(){this._state=this.range().sheet().columnWidth(this._target)}setState(e){this.range().sheet().columnWidth(this._target,e)}},Command:Si,CopyCommand:class extends Fi{constructor(e){super(e),this._eventType="copy",this.undo=Ei}},CutCommand:Fi,DefineNameCommand:class extends Ni{exec(){this.getState();try{this._workbook.defineName(this._name,this._value),this._workbook.trigger("change",{recalc:!0})}catch(e){return{title:"Error",body:e+"",reason:"error"}}}},DeleteColumnCommand:class extends Bi{_expand(e){return e.resize({top:-1/0,bottom:1/0})}_exec(e){return e.axisManager().deleteSelectedColumns()}_undoOne(e,t){e.insertColumn(t.index),e.columnWidth(t.index,t.width)}},DeleteCommand:Bi,DeleteDrawingCommand:class extends Mi{exec(){let e=this.range().sheet();e._activeDrawing=null,e.removeDrawing(this._drawing)}undo(){let e=this.range().sheet();e._activeDrawing=this._drawing,e.addDrawing(this._drawing)}redo(){this.exec()}},DeleteNameCommand:class extends Ni{exec(){this.getState(),this._workbook.undefineName(this._name),this._workbook.trigger("change",{recalc:!0})}},DeleteRowCommand:class extends Bi{_expand(e){return e.resize({left:-1/0,right:1/0})}_exec(e){return e.axisManager().deleteSelectedRows()}_undoOne(e,t){e.insertRow(t.index),e.rowHeight(t.index,t.height)}},DrawingCommand:Mi,DrawingUpdateCommand:class extends Si{constructor(e){super(e),this._sheet=e.sheet,this._drawing=e.drawing,this._orig=this._drawing.clone(),this._previous=e.previous}exec(){}undo(){this._drawing.reset(this._previous),this._sheet._activeDrawing=this._drawing,this._sheet.triggerChange({layout:!0})}redo(){this._drawing.reset(this._orig),this._sheet._activeDrawing=this._drawing,this._sheet.triggerChange({layout:!0})}usesImage(e){return this._drawing.image===e||this._orig.image===e||this._previous.image===e}},EditCommand:class extends Hi{constructor(e){e.property=e.property||"input",super(e)}_setRange(e){Hi.prototype._setRange.apply(this,arguments),this._editRange=this.options.arrayFormula?e:e.sheet().activeCellSelection()}getState(){this._state=this.range().getState()}exec(){return this.range().sheet().withCultureDecimals(this._exec.bind(this))}undo(){let e=this._editRange,t=this._state;e.sheet().trigger("changing",{data:t.data[0][0].value,range:e,changeType:Ci})||this.setState(this._state)}_exec(){let e=this.options.arrayFormula,t=this._editRange;if(!t.enable())return{reason:"error",type:"rangeDisabled"};if(!t.canEditArrayFormula())return{reason:"error",type:"intersectsArray"};let n=this._value;if(this.getState(),!this.range().sheet().trigger("changing",{data:n,range:this._editRange,changeType:Ci}))if("value"!==this._property)try{t.link(null),""===n?t.value(null):(t.input(n,{arrayFormula:e}),/\n/.test(t.value())&&t.wrap(!0)),t._adjustRowHeight();let r=t._getValidationState();if(r)return this.rejectState(r)}catch(e){if(e instanceof re.ParseError)return{title:"Error in formula",body:e+"",reason:"error"};throw e}else t.value(n)}},EditValidationCommand:class extends Si{constructor(e){super(e),this._value=e.value}exec(){let e=this,t=e.range().sheet();if(this.getState(),!t.trigger("changing",{data:e._value,range:e.range(),changeType:Ii}))try{t.withCultureDecimals((function(){e.range().validation(e._value)}))}catch(e){if(e instanceof re.ParseError)return{title:"Error in formula",body:e+"",reason:"error"};throw e}}undo(){let e=this.range(),t=this._state;e.sheet().trigger("changing",{data:t.data[0][0].validation,range:e,changeType:Ii})||this.setState(this._state)}},FilterCommand:class extends Si{undo(){this.range().filter(this._state)}exec(){let e=this.range();this._state=e.hasFilter(),e.filter(!this._state)}},FreezePanesCommand:class extends Si{constructor(e){super(e),this._type=e.value}exec(){this.getState(),this._topLeft=this.range().topLeft(),this[this._type]()}getState(){this._state=this.range().sheet().getState()}undo(){this.range().sheet().setState(this._state)}panes(){let e=this._topLeft;this.range().sheet().frozenColumns(e.col).frozenRows(e.row)}rows(){let e=this._topLeft;this.range().sheet().frozenRows(e.row)}columns(){let e=this._topLeft;this.range().sheet().frozenColumns(e.col)}unfreeze(){this.range().sheet().frozenRows(0).frozenColumns(0)}},GridLinesChangeCommand:class extends Ri{getState(){this._state=this._range.sheet().showGridLines()}setState(e){this._range.sheet().showGridLines(e)}},HideLineCommand:Di,HyperlinkCommand:class extends Si{constructor(e){super(e),this._link=e.link}exec(){let e=this.range();this._prevLink=e.link(),this._prevUnderline=e.underline(),e.link(this._link),e.underline(!0),null==e.value()&&(this._hasSetValue=!0,e.value(this._link))}undo(){let e=this.range();e.link(this._prevLink),e.underline(this._prevUnderline),this._hasSetValue&&e.value(null)}},InsertCommentCommand:class extends Hi{constructor(e){e.property="comment",super(e)}},InsertImageCommand:class extends Mi{constructor(e){super(e),this._blob=e.blob,this._width=e.width,this._height=e.height}exec(){let e=this.range(),t=e.sheet(),n=this._width,r=this._height,o=n/r;n>r?(n=Math.min(n,300),r=n/o):(r=Math.min(r,300),n=r*o),this._drawing=t.addDrawing({topLeftCell:e.topLeft(),offsetX:5,offsetY:5,width:n,height:r,opacity:1,image:this._workbook.addImage(this._blob)},!0),this._blob=null}undo(){let e=this.range().sheet();e._activeDrawing=null,e.removeDrawing(this._drawing)}redo(){let e=this.range().sheet();e._activeDrawing=this._drawing,e.addDrawing(this._drawing)}},MergeCellCommand:class extends Si{constructor(e){super(e),this._type=e.value}exec(){this.getState(),this[this._type](),this.range().sheet().triggerChange({recalc:!0})}activate(e){this.range().sheet().activeCell(e)}getState(){this._state=this.range().getState()}undo(){"unmerge"!==this._type&&(this.range().unmerge(),this.activate(this.range().topLeft())),this.range().setState(this._state)}cells(){let e=this.range(),t=e._ref;e.merge(),this.activate(t)}horizontally(){let e=this.range().topRow()._ref;this.range().forEachRow((function(e){e.merge()})),this.activate(e)}vertically(){let e=this.range().leftColumn()._ref;this.range().forEachColumn((function(e){e.merge()})),this.activate(e)}unmerge(){let e=this.range(),t=e._ref.topLeft;e.unmerge(),this.activate(t)}},NameCommand:Ni,OpenCommand:class extends Si{constructor(e){super(e),this.cannotUndo=!0}exec(){if(null===this.options.file.name.match(/.xlsx$/i))return{reason:"error",type:"openUnsupported"};let e=this.options.workbook;e.fromFile(this.options.file).then((function(){let t=e.excelImportErrors;t&&t.length&&e._view.openDialog("importError",{errors:t})}))}},PasteCommand:class extends Si{constructor(e){super(e),this._clipboard=e.workbook.clipboard(),this._clipboard.parse(),this._event=e.event,this._clipboardContent=this._clipboard._content,this._sheet=this._workbook.activeSheet(),this._range=this._sheet.selection?this._sheet.selection():this._sheet.range(this._clipboard.pasteRef()),this._state=this._range.getState(),this._targetRangeRefs=(this._range._ref instanceof k?this._range._ref.refs:[this._range._ref]).map((function(e){return e.toRangeRef()}))}exec(){return this.range().sheet().withCultureDecimals(this._exec.bind(this))}undo(){let e=this._sheet,t=this._range;e.trigger("changing",{data:this._state.data,range:t,changeType:_i})||this.setState(this._state)}_exec(){let e=this._clipboard.canPaste();if(!e.canPaste)return e.menuInvoked?{reason:"error",type:"useKeyboard"}:e.pasteOnMerged?{reason:"error",type:"modifyMerged"}:e.pasteOnDisabled?(this._event.preventDefault(),{reason:"error",type:"cannotModifyDisabled"}):{reason:"error"};let t=this._sheet,n=this._range;this._workbook.trigger("paste",{range:n,clipboardContent:this._clipboardContent})||t.trigger("changing",{data:this._clipboardContent.data,range:n,changeType:_i})?this._event.preventDefault():this._processPaste()}_adjustPasteTarget(e,t,n){let r,o,i,a,s,l,c,u=this,h=u._targetRangeRefs,d=u._sheet,p=[];for(l=0;l<h.length;l+=1)i=h[l],s=e[l],a=i.topLeft,c={row:s.rows*t+a.row-1,col:s.cols*n+a.col-1},r=new x(a,c),p.push(r);1===p.length?o=d.range(r):(p.sort((function(e,t){let n=0,r=e.topLeft,o=t.topLeft;return r.row>o.row?n=1:r.row<o.row?n=-1:r.col>o.col?n=1:r.col<o.col&&(n=-1),n})),o=d.range(new k(p))),o.select(),u._range=o,u._state=u._range.getState()}_processPaste(){let e,t=this,n=t._sheet,r=t._clipboardContent,o=t._range,i=r.data,a=i.length,s=i[0].length,l=t._targetRangeRefs,c=t._targetRanges(a,s),u=this._clipboard.pasteRef();(u.bottomRight.row>=n._rows._count||u.bottomRight.col>=n._columns._count)&&n.resize(Math.max(u.bottomRight.row+1,n._rows._count),Math.max(u.bottomRight.col+1,n._columns._count)),t._adjustPasteTarget(c,a,s),n.batch((function(){for(e=0;e<l.length;e++)t._populateTargetRange(l[e],a,s,c[e])}),{recalc:!0,ref:t._range._ref}),o._adjustRowHeight()}_populateTargetRange(e,t,n,r){let o,i,a,s=e.topLeft;for(i=0;i<r.rows;i++)for(a=0;a<r.cols;a++)o=this._sheet.range(s.row+t*i,s.col+n*a),o.setState(this._clipboardContent,this._clipboard)}_targetRangeDimensions(e,t,n){let r=e.topLeft,o=e.bottomRight,i=o.row-r.row+1,a=o.col-r.col+1,s=1,l=1;return i%t==0&&a%n==0&&(s=i/t,l=a/n),{rows:s,cols:l}}_targetRanges(e,t){let n,r=this._targetRangeRefs,o=[];for(n=0;n<r.length;n++)o.push(this._targetRangeDimensions(r[n],e,t));return o}},PropertyChangeCommand:Hi,ReorderDrawingsCommand:Oi,RowHeightCommand:class extends Ri{getState(){this._state=this.range().sheet().rowHeight(this._target)}setState(e){this.range().sheet().rowHeight(this._target,e)}},SaveAsCommand:class extends Si{constructor(e){super(e),this.cannotUndo=!0}exec(){let e=this.options.name+this.options.extension;".xlsx"===this.options.extension?this.options.workbook.saveAsExcel({fileName:e}):".pdf"===this.options.extension&&this.options.workbook.saveAsPDF(V(this.options.pdf,{workbook:this.options.workbook,fileName:e}))}},SendToBackCommand:class extends Oi{_reorder(){return 0}},SortCommand:class extends Si{undo(){this.range().sheet().setState(this._state)}exec(){let e=this.range(),t=e.sheet(),n=t.activeCell(),r=this.options.sheet?n.topLeft.col:this.options.column||0,o="asc"===this.options.value;this._state=t.getState(),this.options.sheet&&(e=this.expandRange());let i=e.cantSort();if(i)return{reason:"error",type:i.code};e.sort({column:r,ascending:o})}expandRange(){let e=this.range().sheet();return new Fr(e._sheetRef,e)}},TargetValueCommand:Ri,TextWrapCommand:class extends Hi{constructor(e){e.property="wrap",super(e),this._value=e.value}getState(){let e={};this.range().forEachRow((function(t){let n=t.topLeft().row;e[n]=t.sheet().rowHeight(n)})),this._state=this.range().getState(this._property),this._rowHeight=e}undo(){let e=this.range().sheet(),t=this._rowHeight;this.range().setState(this._state);for(let n in t)e.rowHeight(n,t[n])}},ToolbarCopyCommand:class extends Si{constructor(e){super(e),this._clipboard=e.workbook.clipboard(),this.undo=Ei}exec(){return{reason:"error",type:"useKeyboard"}}},ToolbarCutCommand:class extends Si{constructor(e){super(e),this._clipboard=e.workbook.clipboard(),this.cannotUndo=!0}exec(){return{reason:"error",type:"useKeyboard"}}},ToolbarPasteCommand:class extends Si{exec(){}},UnHideLineCommand:class extends Di{exec(){let e=this.range().sheet();this._state=e.getAxisState(),"row"===this.axis?e.axisManager().unhideSelectedRows():e.axisManager().unhideSelectedColumns()}}});class Pi extends $r{constructor(e){super(),this.options=e,this.events=["undo","redo"],this.clear()}push(e){this.stack=this.stack.slice(0,this.currentCommandIndex+1),this.currentCommandIndex=this.stack.push(e)-1}undo(){if(this.canUndo()){let e=this.stack[this.currentCommandIndex--];e.undo(),this.trigger("undo",{command:e})}}redo(){if(this.canRedo()){let e=this.stack[++this.currentCommandIndex];e.redo(),this.trigger("redo",{command:e})}}clear(){this.stack=[],this.currentCommandIndex=-1}canUndo(){return this.currentCommandIndex>=0}canRedo(){return this.currentCommandIndex!==this.stack.length-1}}let Ti=String.fromCharCode,ji={amp:38,lt:60,gt:62,quot:34,apos:39,nbsp:160};function Ui(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}function Ki(e,t){t>65535?(t-=65536,e.push(t>>>10&1023|55296,56320|1023&t)):e.push(t)}let Wi=Ui("<![CDATA["),qi=Ui("]]>"),$i=Ui("--\x3e"),Gi=Ui("!--"),Yi=Ui("/>"),Xi=Ui("</"),Zi=Ui("?>"),Ji=Ui("?"),Qi=Ui("<"),ea=Ui(">"),ta=Ui(";"),na=Ui("="),ra=Ui("&"),oa=Ui('"'),ia=Ui("'"),aa=Ui("#"),sa=Ui("x"),la=Ui("X"),ca={};function ua(e,t){let n=0,r=[],o={is:function(e){let t=r.length,n=e.length;for(;--t>=0&&--n>=0;)if(r[t].$tag!==e[n]&&"*"!==e[n])return!1;return n<0?r[r.length-1]:null},exit:function(){throw ca},stack:r};function i(t){let r=e[n++];240&r^240?224&r^224?192&r^192?t.push(r):Ki(t,(31&r)<<6|63&e[n++]):Ki(t,(15&r)<<12|(63&e[n++])<<6|63&e[n++]):Ki(t,(3&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])}function a(e){throw new Error(e+", at "+n)}function s(t){let r=[];for(;n<e.length&&t(e[n]);)r.push(e[n++]);return r}function l(e){return Ti.apply(0,s(e))}function c(){s(d)}function u(t){let r=n;for(let o=0;o<t.length;++o)if(e[n++]!==t[o])return n=r,!1;return t}function h(e){u(e)||a("Expecting "+e.join(", "))}function d(e){return 9===e||10===e||13===e||32===e}function p(e){return e>=48&&e<=57}function f(e){return e>=48&&e<=57||(e|=32)>=97&&e<=102}function m(e){return 58===e||95===e||(e|=32)>=97&&e<=122}function v(e){return 45===e||p(e)||m(e)}function g(){let t,o;u(Ji)?(k("decl",b(),x()),h(Zi)):u(Gi)?function(){let t=[];for(;n<e.length;){if(u($i))return k("comment",Ti.apply(0,t));i(t)}}():(t=b(),o=x(t),r.push(o),u(Yi)?k("enter",t,o,!0):(h(ea),k("enter",t,o),function(t){let r=[];for(;n<e.length;){if(u(Xi))return r.length&&k("text",Ti.apply(0,r));if(u(Wi))for(;n<e.length&&!u(qi);)i(r);else u(Qi)?(r.length&&k("text",Ti.apply(0,r)),g(),r=[]):u(ra)?w(r):i(r)}a("Unclosed tag "+t)}(t),t!==b()&&a("Bad closing tag"),k("leave",t,o),c(),h(ea)),r.pop())}function b(){return m(e[n])||a("Expecting XML name"),l(v)}function y(){let t=u(oa)||u(ia);t||a("Expecting string");let r=[];for(;n<e.length;){if(u(t))return Ti.apply(0,r);u(ra)?w(r):i(r)}a("Unfinished string")}function w(e){let t;if(u(aa))t=u(sa)||u(la)?parseInt(l(f),16):parseInt(l(p),10),isNaN(t)&&a("Bad numeric entity");else{let e=b();t=ji[e],void 0===t&&a("Unknown entity "+e)}Ki(e,t),h(ta)}function x(t){let r={$tag:t};for(;n<e.length;){c();let t=e[n];if(63===t||62===t||47===t)break;r[b()]=(h(na),y())}return r}function k(e,n,r,i){let a=t&&t[e];a&&a.call(o,n,r,i)}let z=[];for(i(z),65279!==z[0]&&(n=0);n<e.length;)c(),h(Qi),g(),c()}const ha=function(){try{return ua.apply(this,arguments)}catch(e){if(e!==ca)throw e}};let da={greaterThanOrEqual:"greaterThanOrEqualTo",lessThanOrEqual:"lessThanOrEqualTo"},pa=null;let fa=["sheetData","row","c"],ma=["cols","col"],va=["definedNames","definedName"],ga=["sheetData","row","c","f"],ba=["mergeCells","mergeCell"],ya=["sheetViews","sheetView","pane"],wa=["sheetData","row"],xa=["sheetViews","sheetView","selection"],ka=["sheets","sheet"],za=["sheetData","row","c","is"],Ca=["t"],_a=["si"],Ia=["sheetData","row","c","v"],Ea=["bookViews","workbookView"],Sa=["sheetViews","sheetView"],Ma=["hyperlinks","hyperlink"],Oa=["dataValidations","dataValidation"],Ra=["dataValidations","dataValidation","formula1"],Ha=["dataValidations","dataValidation","formula2"],Fa=["x14:dataValidations","x14:dataValidation"],Va=["x14:dataValidations","x14:dataValidation","xm:sqref"],Da=["x14:dataValidations","x14:dataValidation","x14:formula1","xm:f"],Ba=["x14:dataValidations","x14:dataValidation","x14:formula2","xm:f"],Aa=["commentList","comment"],Na=["authors","author"],La=["t"];function Pa(e){return/^\//.test(e)?e=e.substr(1):/^xl\//.test(e)||(e="xl/"+e),e}async function Ta(e,t){let n,r={rows:0,cols:0};return await Za(e,Pa(t),{enter:function(e,t){"dimension"===e?(n=re.parseReference(t.ref),n.bottomRight&&(r.cols=n.bottomRight.col+1,r.rows=n.bottomRight.row+1)):"sheetFormatPr"===e?(t.defaultColWidth&&(r.columnWidth=ja(parseFloat(t.defaultColWidth))),t.defaultRowHeight&&(r.rowHeight=Ua(parseFloat(t.defaultRowHeight)))):this.is(wa)&&t.r?r.rows=Math.max(r.rows,+t.r):this.is(fa)&&t.r&&(n=re.parseReference(t.r),r.rows=Math.max(r.rows,n.row+1),r.cols=Math.max(r.cols,n.col+1))}}),r}function ja(e){return(256*e+Math.floor(128/7))/256*7}function Ua(e){return e*(4/3)}async function Ka(e,t,n,r,o){let i,a,s,l,c,u,h,p,f,m,v,g,b,y,k={},z=n._columns._count,C=null,_=t.replace(/worksheets\//,"worksheets/_rels/"),I=await Ja(e,_),E=[];if(pa=n._workbook.excelImportErrors,t=Pa(t),await Za(e,t,{enter:function(e,t,r){let u;if(this.is(ga))r&&"shared"===t.t&&null!=t.si&&(l=n.range(k[t.si])._get("formula"));else if(this.is(fa)){s=null,l=null,i=t.r,c=null,null==i&&(i=re.parseReference(C),i.col++,i=i.toString()),C=i,a=t.t;let e=t.s;null!=e&&Xa(n,i,o,e)}else if(this.is(ba))n.range(t.ref).merge();else if(this.is(ma)){let e,r=ls(t.min)-1,i=Math.min(z,ls(t.max))-1;if(t.width&&(e=ja(parseFloat(t.width)),0!==e&&n._columns.values.value(r,i,e)),"1"===t.hidden||0===e)for(let e=r;e<=i;e++)n.hideColumn(e);null!=t.style&&Xa(n,new x(new w(-1/0,r),new w(1/0,i)),o,t.style)}else if(this.is(wa)){let e,r=ls(t.r)-1;t.ht&&(e=Ua(parseFloat(t.ht)),0!==e&&n._rows.values.value(r,r,e)),"1"!==t.hidden&&0!==e||n.hideRow(r)}else if(this.is(xa)){if(t.activeCell){let e=re.parseReference(t.activeCell);n.select(e,!0)}}else if(this.is(ya))t.state&&t.state.indexOf("frozen")>-1&&(t.xSplit&&n.frozenColumns(ls(t.xSplit)),t.ySplit&&n.frozenRows(ls(t.ySplit)));else if(this.is(Sa))n.showGridLines(cs(t.showGridLines,!0));else if(this.is(Ma)){let e=t["r:id"],r=I.byId[e];r&&n.range(t.ref).link(r)}else this.is(["autoFilter"])?(f=t.ref,r&&S()):f&&(this.is(["filterColumn"])?m=parseInt(t.colId,10):this.is(["customFilters"])?(v=cs(t.and)?"and":"or",g=[]):this.is(["customFilter"])?(u=function(e,t){let n={equal:"eq",notEqual:"ne",greaterThan:"gt",greaterThanOrEqual:"gte",lessThan:"lt",lessThanOrEqual:"lte"}[e];return t=qa(t),n&&"number"==typeof t?{operator:n,value:t}:"notEqual"!==e&&e||"string"!=typeof t?void 0:{operator:e?"doesnotmatch":"matches",value:t}}(t.operator,t.val),u&&g.push({operator:u.operator,value:u.value})):this.is(["dynamicFilter"])?E.push({column:m,filter:new _o({type:Wa(t.type)})}):this.is(["top10"])?E.push({column:m,filter:new Co({value:qa(t.val),type:(h=cs(t.percent),d=cs(t.top),h&&d?"topPercent":d?"topNumber":h?"bottomPercent":"bottomNumber")})}):this.is(["filters"])?(b=cs(t.blank),y=[]):this.is(["filter"])&&y.push(qa(t.val)));var h,d},leave:function(e,t){if(this.is(ga))l||"shared"!==t.t||null==t.si||(l=n.range(k[t.si])._get("formula"));else if(this.is(fa)){if(null!=l)$a(n,c||i,(function(){n.range(c||i).formula(l,u)}),"parsing formula")&&n.range(c||i).value(l).background("#ffaaaa");else if(null!=s){let e=n.range(i);e._get("formula")||(a&&"n"!==a?"s"===a?s=r[ls(s)]:"b"===a?s="1"===s:"d"===a&&(s=U().parseDate(s)):s=parseFloat(s),null!=s&&e.value(s))}}else this.is(Oa)||this.is(Fa)?function(){let e=re.parseSqref(t.sqref),r=t.type.toLowerCase(),o=t.operator;/^(?:whole|decimal)$/.test(r)?r="number":"list"===r&&(o="list"),!o&&/^(?:number|date)$/.test(r)&&(o="between"),e.forEach((function(e){$a(n,e,(function(){n.range(e).validation({type:cs(t.showErrorMessage,!0)?"reject":"warning",from:h,to:p,dataType:r,comparerType:da[o]||o,allowNulls:cs(t.allowBlank),showButton:cs(t.showDropDown)||"date"===r||"list"===r,messageTemplate:t.error,titleTemplate:t.errorTitle})}),"parsing validation")}))}():"cols"===e?n._columns._refresh():"sheetData"===e?n._rows._refresh():"autoFilter"===e?S():f&&("customFilters"===e?E.push({column:m,filter:new zo({logic:v,criteria:g})}):"filters"===e&&E.push({column:m,filter:new ko({values:y,blanks:b})}))},text:function(e){let t;this.is(Ia)||this.is(za)?s=e:(t=this.is(ga))?(l=e,u="array"===t.t,u?c=t.ref:"shared"===t.t&&(k[t.si]=i)):this.is(Ra)||this.is(Da)?h=e:this.is(Ha)||this.is(Ba)?p=e:this.is(Va)&&(this.stack[this.stack.length-2].sqref=e)}}),I.byType.comments){let r=hs(t,I.byType.comments[0]);await async function(e,t,n){let r,o,i=[];await Za(e,t,{enter:function(e,t){this.is(Aa)?o={author:i[t.authorId],ref:t.ref,text:""}:this.is(Na)&&(r="")},leave:function(){this.is(Aa)?n.range(o.ref).comment(o.text):this.is(Na)&&i.push(r)},text:function(e){this.is(La)?o.text+=e:this.is(Na)&&(r+=e)}})}(e,r,n)}if(I.byType.drawing){let r=hs(t,I.byType.drawing[0]);await async function(e,t,n){let r,o,i,a,s=["xdr:twoCellAnchor"],l=["xdr:ext"],c=["xdr:oneCellAnchor"],u=["xdr:from"],h=["xdr:to"],p=["xdr:row"],f=["xdr:col"],m=["xdr:rowOff"],v=["xdr:colOff"],g=["xdr:blipFill","a:blip"],b=t.replace(/drawings\//,"drawings/_rels/"),y=await Ja(e,b);y.byType.image&&await Object.keys(y.byId).forEach((async function(r){let o=hs(t,y.byId[r]),i=function(e){let t=/\.([^.]+)$/.exec(e);if(t&&t[1])return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",gif:"image/gif",wmf:"image/wmf"}[t[1].toLowerCase()]}(o);if(i){let t=await e.files[o].async("arrayBuffer"),a=function(e){let t=/[^/]+$/.exec(e);return t&&t[0]}(o),s=a&&!d.edge?new window.File([t],a,{type:i}):new window.Blob([t],{type:i});y.byId[r]=n._workbook.addImage(s)}})),await Za(e,t,{enter:function(e,t){if(this.is(s)||this.is(c))r={};else if(this.is(u)||this.is(h))o={};else if(this.is(g)){let e=t["r:embed"];r.image=y.byId[e]}else this.is(l)&&(i=ds(parseFloat(t.cx)),a=ds(parseFloat(t.cy)))},leave:function(){if(this.is(u))r.topLeftCell=new w(o.row,o.col),r.offsetX=ds(o.colOffset),r.offsetY=ds(o.rowOffset);else if(this.is(h))r.brCell=new w(o.row,o.col),r.brX=ds(o.colOffset),r.brY=ds(o.rowOffset);else if(this.is(s)&&r.image){let e=n._columns.sum(0,r.topLeftCell.col-1)+r.offsetX,t=n._rows.sum(0,r.topLeftCell.row-1)+r.offsetY,o=n._columns.sum(0,r.brCell.col-1)+r.brX,s=n._rows.sum(0,r.brCell.row-1)+r.brY;n.addDrawing({topLeftCell:r.topLeftCell,offsetX:r.offsetX,offsetY:r.offsetY,width:null!=i?i:o-e,height:null!=a?a:s-t,image:r.image,opacity:1})}else this.is(c)&&r.image&&n.addDrawing({topLeftCell:r.topLeftCell,offsetX:r.offsetX,offsetY:r.offsetY,width:i,height:a,image:r.image,opacity:1})},text:function(e){this.is(p)?o.row=parseFloat(e):this.is(f)?o.col=parseFloat(e):this.is(m)?o.rowOffset=parseFloat(e):this.is(v)&&(o.colOffset=parseFloat(e))}})}(e,r,n)}function S(){n.range(f).filter(E),f=null}}function Wa(e){return{Q1:"quarter1",Q2:"quarter2",Q3:"quarter3",Q4:"quarter4",M1:"january",M2:"february",M3:"march",M4:"april",M5:"may",M6:"june",M7:"july",M8:"august",M9:"september",M10:"october",M11:"november",M12:"december"}[e.toUpperCase()]||e}function qa(e){let t=parseFloat(e);return isNaN(t)||t!==e?e:t}function $a(e,t,n,r){try{return n(),!1}catch(n){let o={context:r,error:String(n)};return e&&e.name?o.sheet=e.name():e&&(o.sheet=e),t&&(o.location=String(t)),pa.push(o),!0}}let Ga={none:0,thin:1,medium:2,dashed:1,dotted:1,thick:3,double:3,hair:1,mediumDashed:2,dashDot:1,mediumDashDot:2,dashDotDot:1,mediumDashDotDot:2,slantDashDot:1},Ya={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"mm-dd-yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@"};function Xa(e,t,n,r){let o,i,a=e.range(t),s=n.inlineStyles[r];var l;function c(e,t){let n=s[e];if(null!=n&&!n)return!1;if(i=s[t],o&&null==i){if(n=o[e],null!=n&&!n)return!1;i=o[t]}return null!=i}s.xfId&&(o=n.namedStyles[s.xfId]),c("applyBorder","borderId")&&function(e){function t(t,n){let r=e[t];if(!r)return;let o=Ga[r.style];if(!o)return;let i=r.color;null==i&&(i="#000");let s={size:o,color:i};"diagonal"===t&&(s.type=r.up<<1|r.down),a._property(n,s)}t("left","borderLeft"),t("top","borderTop"),t("right","borderRight"),t("bottom","borderBottom"),t("diagonal","dBorders")}(n.borders[i]),c("applyFont","fontId")&&function(e){a.fontFamily(e.name),e.size&&a._property("fontSize",4*e.size/3),e.bold&&a.bold(!0),e.italic&&a.italic(!0),e.underline&&a.underline(!0),e.color&&a.color(e.color)}(n.fonts[i]),c("applyAlignment","textAlign")&&a.textAlign(i),c("applyAlignment","verticalAlign")&&a.verticalAlign(i),c("applyAlignment","indent")&&a.indent(i),c("applyAlignment","wrapText")&&a._property("wrap",i),c("applyFill","fillId")&&"solid"===(l=n.fills[i]).type&&a.background(l.color),c("applyNumberFormat","numFmtId")&&function(e){let t="string"==typeof e?e:e.formatCode;null==t||/^general$/i.test(t)||(t=t.replace(/^\[\$-[0-9]+\]/,""),a.format(t))}(n.numFmts[i]||Ya[i])}async function Za(e,t,n){let r=e.files[t];r&&await ha(await r.async("uint8array"),n)}async function Ja(e,t){let n={byId:{},byType:{theme:[]}};return await Za(e,Pa(t)+".rels",{enter:function(e,t){if("Relationship"===e){n.byId[t.Id]=t.Target;let e=t.Type.match(/\w+$/)[0],r=n.byType[e]||[];r.push(t.Target),n.byType[e]=r}}}),n}let Qa=["borders","border"],es=["fills","fill"],ts=["fonts","font"],ns=["cellXfs","xf"],rs=["cellStyleXfs","xf"],os=["numFmts","numFmt"],is=[us("FF000000"),us("FFFFFFFF"),us("FFFF0000"),us("FF00FF00"),us("FF0000FF"),us("FFFFFF00"),us("FFFF00FF"),us("FF00FFFF"),us("FF000000"),us("FFFFFFFF"),us("FFFF0000"),us("FF00FF00"),us("FF0000FF"),us("FFFFFF00"),us("FFFF00FF"),us("FF00FFFF"),us("FF800000"),us("FF008000"),us("FF000080"),us("FF808000"),us("FF800080"),us("FF008080"),us("FFC0C0C0"),us("FF808080"),us("FF9999FF"),us("FF993366"),us("FFFFFFCC"),us("FFCCFFFF"),us("FF660066"),us("FFFF8080"),us("FF0066CC"),us("FFCCCCFF"),us("FF000080"),us("FFFF00FF"),us("FFFFFF00"),us("FF00FFFF"),us("FF800080"),us("FF800000"),us("FF008080"),us("FF0000FF"),us("FF00CCFF"),us("FFCCFFFF"),us("FFCCFFCC"),us("FFFFFF99"),us("FF99CCFF"),us("FFFF99CC"),us("FFCC99FF"),us("FFFFCC99"),us("FF3366FF"),us("FF33CCCC"),us("FF99CC00"),us("FFFFCC00"),us("FFFF9900"),us("FFFF6600"),us("FF666699"),us("FF969696"),us("FF003366"),us("FF339966"),us("FF003300"),us("FF333300"),us("FF993300"),us("FF993366"),us("FF333399"),us("FF333333"),us("FF000000"),us("FFFFFFFF")],as=["a:clrScheme","*","a:srgbClr"],ss=["a:clrScheme","*","a:sysClr"];function ls(e){return null==e?null:parseInt(e,10)}function cs(e,t){return null==e?t:"true"===e||!0===e||1===e||"1"===e}function us(e){let t=/^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return"rgba("+parseInt(t[2],16)+", "+parseInt(t[3],16)+", "+parseInt(t[4],16)+", "+parseInt(t[1],16)/255+")"}function hs(e,t){for(e=e.split(/\/+/),t=t.split(/\/+/),e.pop();t.length;){let n=t.shift();if(""===n)e=[];else{if("."===n)continue;".."===n?e.pop():e.push(n)}}return e.join("/")}function ds(e){return e/9525}const ps=["cut","copy","paste","changing","change","excelImport","excelExport","insertSheet","removeSheet","selectSheet","renameSheet","insertRow","insertColumn","deleteRow","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","changeFormat","dataBinding","dataBound","progress"];class fs extends $r{constructor(e,t){super(),this.events=ps,this.options=e,this._view=t,this._sheets=[],this._images={},this._imgID=0,this._sheetsSearchCache={},this._sheet=this.insertSheet({rows:this.options.rows,columns:this.options.columns,rowHeight:this.options.rowHeight,columnWidth:this.options.columnWidth,headerHeight:this.options.headerHeight,headerWidth:this.options.headerWidth,dataSource:this.options.dataSource}),this.undoRedoStack=new Pi,this.undoRedoStack.bind(["undo","redo"],this._onUndoRedo.bind(this)),this._context=new Rn(this),this._validationContext=new Hn(this),this._names=Object.create(null),this.fromJSON(this.options)}clipboard(){return this._clipboard||(this._clipboard=new gi(this)),this._clipboard}destroy(){this.unbind(),this._clipboard&&this._clipboard.destroy()}_sheetChanging(e){this.trigger("changing",e)&&e.preventDefault()}_sheetChange(e){this.trigger("change",e)}_sheetInsertRow(e){this.trigger("insertRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetInsertColumn(e){this.trigger("insertColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetDeleteRow(e){this.trigger("deleteRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetDeleteColumn(e){this.trigger("deleteColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetHideRow(e){this.trigger("hideRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetHideColumn(e){this.trigger("hideColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetUnhideRow(e){this.trigger("unhideRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetUnhideColumn(e){this.trigger("unhideColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetSelect(e){this.trigger("select",e)}_sheetDataBinding(e){this.trigger("dataBinding",{sheet:e.sender})&&e.preventDefault()}_sheetDataBound(e){this.trigger("dataBound",{sheet:e.sender})}_sheetProgress(e){let t=this;setTimeout((function(){t.trigger("progress",{toggle:e.toggle})}))}_sheetCommandRequest(e){this.trigger("commandRequest",e)}_inputForRef(e){let t=this;return t._sheet.withCultureDecimals((function(){return new Fr(e,t._sheet).input()}))}_onUndoRedo(e){e.command.range().select()}execute(e){let t=Object.assign({},{workbook:this},e.options),n=new Li[e.command](t),r=this.activeSheet();t.origin&&n.origin(t.origin),t.operatingRange?n.range(t.operatingRange):n.range(r.selection()),t.editRange&&(n._editRange=t.editRange);let o=n.exec();return o&&"error"===o.reason||n.cannotUndo||this.undoRedoStack.push(n),this.cleanupImages(),o}resetFormulas(){this._sheets.forEach((function(e){e.resetFormulas()}))}resetValidations(){this._sheets.forEach((function(e){e.resetValidations()}))}refresh(e){e.recalc&&(this.resetFormulas(),this.resetValidations(),this._sheet.recalc(this._context),this._sheet.revalidate(this._validationContext))}activeSheet(e){if(void 0===e)return this._sheet;this.sheetByName(e.name())&&(this._sheet=e,e.triggerChange(E))}moveSheetToIndex(e,t){let n=this.sheetIndex(e),r=this._sheets;-1!==n&&(this._sheetsSearchCache={},r.splice(t,0,r.splice(n,1)[0]),this.trigger("change",{sheetSelection:!0}))}insertSheet(e){let t,n=this,r="number"==typeof(e=e||{}).index?e.index:n._sheets.length,o=n._sheets;const i=this.options.messages;let a=function(e){e=e||1;let t=i.workbook.defaultSheetName+e;return n.sheetByName(t)?a(e+1):t};if(e.name&&n.sheetByName(e.name))return;this._sheetsSearchCache={},t=e.name||a();let s=new Ho(e.rows||this.options.rows,e.columns||this.options.columns,e.rowHeight||this.options.rowHeight,e.columnWidth||this.options.columnWidth,e.headerHeight||this.options.headerHeight,e.headerWidth||this.options.headerWidth,e.defaultCellStyle||this.options.defaultCellStyle);return s._workbook=this,s._name(t),this._bindSheetEvents(s),o.splice(r,0,s),e.data&&s.fromJSON(e.data),e.dataSource&&s.setDataSource(e.dataSource),this.trigger("change",{sheetSelection:!0}),s}_bindSheetEvents(e){e.bind("changing",this._sheetChanging.bind(this)),e.bind("change",this._sheetChange.bind(this)),e.bind("insertRow",this._sheetInsertRow.bind(this)),e.bind("insertColumn",this._sheetInsertColumn.bind(this)),e.bind("deleteRow",this._sheetDeleteRow.bind(this)),e.bind("deleteColumn",this._sheetDeleteColumn.bind(this)),e.bind("hideRow",this._sheetHideRow.bind(this)),e.bind("hideColumn",this._sheetHideColumn.bind(this)),e.bind("unhideRow",this._sheetUnhideRow.bind(this)),e.bind("unhideColumn",this._sheetUnhideColumn.bind(this)),e.bind("select",this._sheetSelect.bind(this)),e.bind("commandRequest",this._sheetCommandRequest.bind(this)),e.bind("dataBinding",this._sheetDataBinding.bind(this)),e.bind("dataBound",this._sheetDataBound.bind(this)),e.bind("progress",this._sheetProgress.bind(this))}sheets(){return this._sheets.slice()}sheetByName(e){return this._sheets[this.sheetIndex(e)]}sheetByIndex(e){return this._sheets[e]}sheetIndex(e){let t=this._sheets,n=("string"==typeof e?e:e.name()).toLowerCase(),r=this._sheetsSearchCache[n];if(r>=0)return r;for(r=0;r<t.length;r++){let e=t[r].name().toLowerCase();if(this._sheetsSearchCache[e]=r,e===n)return r}return-1}renameSheet(e,t){let n=e.name().toLowerCase();if(t&&n!==t.toLowerCase()&&!this.sheetByName(t)&&(e=this.sheetByName(n))&&(this._sheetsSearchCache={},!this.trigger("renameSheet",{sheet:e,newSheetName:t})))return this._sheets.forEach((function(e){e._forFormulas((function(e){e.renameSheet(n,t)}))})),this.forEachName(function(e,r){e.nameref.renameSheet(n,t)&&(this.undefineName(r),e.name=e.nameref.print(),this.nameDefinition(e.name,e)),(e.value instanceof g||e.value instanceof re.runtime.Formula)&&e.value.renameSheet(n,t)}.bind(this)),e._name(t),this.trigger("change",{sheetSelection:!0}),e}removeSheet(e){let t=this,n=t._sheets,r=e.name(),o=t.sheetIndex(e);if(1!==n.length&&!this.trigger("removeSheet",{sheet:e})&&(this._sheetsSearchCache={},o>-1))if(e.unbind(),n.splice(o,1),t.activeSheet().name()===r){let e=n[o===n.length?o-1:o];t.activeSheet(e)}else this.trigger("change",{recalc:!0,sheetSelection:!0})}_clearSheets(){for(let e=0;e<this._sheets.length;e++)this._sheets[e]._activeDrawing=[],this._sheets[e]._drawings=[],this._sheets[e].unbind();this._sheets=[],this._sheetsSearchCache={},this._names={},this._images={},this._imgID=0}fromJSON(e){if(e.sheets){this._clearSheets(),e.images&&(this._imgID=0,this._images={},Object.keys(e.images).forEach((function(t){if(!isNaN(t)){let e=parseFloat(t);isFinite(e)&&(this._imgID=Math.max(this._imgID,e))}this._images[t]={url:e.images[t]}}),this));for(let t=0;t<e.sheets.length;t++){let n=e.sheets[t],r=ms(n,this.options),o=this.insertSheet({rows:r.rowCount,columns:r.columnCount,rowHeight:r.rowHeight,columnWidth:r.columnWidth,headerHeight:r.headerHeight,headerWidth:r.headerWidth,data:n});n.dataSource&&o.setDataSource(n.dataSource)}}e.activeSheet?this.activeSheet(this.sheetByName(e.activeSheet)):this.activeSheet(this._sheets[0]),e.names&&e.names.forEach((function(e){this.defineName(e.name,e.value,e.hidden)}),this)}toJSON(){this.resetFormulas(),this.resetValidations();let e=Object.keys(this._names).map((function(e){let t=this._names[e],n=t.value;return n=n instanceof g||n instanceof re.runtime.Formula?n.print(0,0,!0):n instanceof T?String(n):JSON.stringify(n),{value:n,hidden:t.hidden,name:t.name,sheet:t.nameref.sheet,localName:t.nameref.name}}),this);return{activeSheet:this.activeSheet().name(),sheets:this._sheets.map((function(e){return e.recalc(this._context),e.revalidate(this._validationContext),e.toJSON()}),this),names:e,columnWidth:this.options.columnWidth,rowHeight:this.options.rowHeight}}saveJSON(){window.console.log("`saveJSON` function not implemented")}fromFile(e){e&&!this.trigger("excelImport",{file:e})&&(this._clearSheets(),function(e,t){let n=new FileReader;n.onload=function(e){p.Z.loadAsync(e.target.result).then((e=>{!async function(e,t){pa=t.excelImportErrors=[];let n=await async function(e){let t=[],n=null;return await Za(e,"xl/sharedStrings.xml",{leave:function(){this.is(_a)&&(t.push(n),n=null)},text:function(e){this.is(Ca)&&(null==n&&(n=""),n+=e)}}),t}(e),o=await Ja(e,"_rels/workbook.xml"),i=await async function(e,t){let n=[],r={colorScheme:n},o=Pa(t);function i(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}return e.files[o]&&(await Za(e,o,{enter:function(e,t){this.is(ss)?n.push(us("window"===t.val?"FFFFFFFF":"FF000000")):this.is(as)&&n.push(us("FF"+t.val))}}),n.length>3&&(i(n,0,1),i(n,2,3))),r}(e,o.byType.theme[0]),a=await async function(e,t){let n={fonts:[],numFmts:{},fills:[],borders:[],namedStyles:[],inlineStyles:[]},o=null,i=null,a=null,s=null;function l(e){let t={borderId:ls(e.borderId),fillId:ls(e.fillId),fontId:ls(e.fontId),numFmtId:ls(e.numFmtId),pivotButton:cs(e.pivotButton),quotePrefix:cs(e.quotePrefix),xfId:ls(e.xfId)};function n(n){null!=e[n]&&(t[n]=cs(e[n]))}return n("applyAlignment"),n("applyBorder"),n("applyFill"),n("applyFont"),n("applyNumberFormat"),n("applyProtection"),t}function c(e,n){if(e.rgb)return us(e.rgb);if(e.indexed)return is[ls(e.indexed)];if(e.theme){let o=t.colorScheme[ls(e.theme)];if(!o)return n;let i=(0,r.parseColor)(o);if(e.tint){i=i.toHSL();let t=parseFloat(e.tint);i.l=t<0?i.l*(1+t):i.l*(1-t)+(100-100*(1-t))}return i.toCssRgba()}}return await Za(e,"xl/styles.xml",{enter:function(e,t,r){if(this.is(os))n.numFmts[t.numFmtId]=t;else if(this.is(ts))n.fonts.push(o={}),r&&(o=null);else if(o)"sz"===e?o.size=parseFloat(t.val):"name"===e?o.name=t.val:"b"===e?o.bold=cs(t.val,!0):"i"===e?o.italic=cs(t.val,!0):"u"===e?o.underline=null==t.val||"single"===t.val:"color"===e&&(o.color=c(t,null));else if(this.is(es))n.fills.push(i={}),r&&(i=null);else if(i)"patternFill"===e?i.type=t.patternType:("fgColor"===e&&"solid"===i.type||"bgColor"===e&&"solid"!==i.type)&&(i.color=c(t,is[0]));else if(this.is(Qa))n.borders.push(a={diagonalUp:+cs(t.diagonalUp,0),diagonalDown:+cs(t.diagonalDown,0)}),r&&(a=null);else if(a){if(/^(?:left|top|right|bottom|diagonal)$/.test(e)&&(a[e]={style:t.style||"none"},"diagonal"===e&&(a.diagonal.up=a.diagonalUp,a.diagonal.down=a.diagonalDown)),"color"===e){let e=this.stack[this.stack.length-2].$tag;a[e].color=c(t,is[0])}}else this.is(rs)?(s=l(t),n.namedStyles.push(s),r&&(s=null)):this.is(ns)?(s=l(t),n.inlineStyles.push(s),r&&(s=null)):s&&"alignment"===e&&(/^(?:left|center|right|justify)$/.test(t.horizontal)&&(s.textAlign=t.horizontal),/^(?:top|center|bottom)$/.test(t.vertical)&&(s.verticalAlign=t.vertical),null!=t.wrapText&&(s.wrapText=cs(t.wrapText)),null!=t.indent&&(s.indent=ls(t.indent)))},leave:function(e){this.is(ts)?o=null:this.is(es)?i=null:this.is(Qa)?a=null:"xf"===e&&(s=null)}}),n}(e,i),s=[],l=0;await Za(e,"xl/workbook.xml",{enter:function(r,i){if(this.is(ka)){let r=i["r:id"],l=o.byId[r],c=i.name;s.push({workbook:t,zip:e,strings:n,styles:a,file:l,options:{name:c}})}else this.is(Ea)&&i.activeTab&&(l=ls(i.activeTab))},text:function(e){let n=this.is(va);if(n&&!cs(n.function)&&!cs(n.vbProcedure)){let r=n.localSheetId,o=null;null!=r&&(o=s[r].options.name);let i=n.name;"_xlnm._FilterDatabase"!==i&&(o&&(i="'"+o.replace(/\'/g,"\\'")+"'!"+i),$a(o,null,(function(){t.defineName(i,e,cs(n.hidden))}),"reading user-defined name: "+i))}}});for(let e=0;e<s.length;e++){const t=s[e],n=await Ta(t.zip,t.file),{workbook:r}=t;r.options.columnWidth=n.columnWidth||r.options.columnWidth,r.options.rowHeight=n.rowHeight||r.options.rowHeight,t.options={...t.options,rows:Math.max(r.options.rows||0,n.rows),columns:Math.max(r.options.columns||0,n.cols),columnWidth:n.columnWidth,rowHeight:n.rowHeight}}await async function(e,t){for(let n=0;n<e.length;n++){const r=e[n];let o=t.insertSheet(r.options);o.suspendChanges(!0),await Ka(r.zip,r.file,o,r.strings,r.styles)}}(s,t);let c=t.sheets();(function(e){for(let t=0;t<e.length;t++)e[t].suspendChanges(!1).triggerChange({recalc:!0})})(c),t.activeSheet(c[l])}(e,t)}))},n.readAsArrayBuffer(e)}(e,this))}saveAsExcel(e){let t=this;e=V({},t.options.excel,e);let n=t.toJSON();if(t.trigger("excelExport",{workbook:n}))return;let r=Object.keys(t._images).filter((function(e){return 1===t.usesImage(e)})),o=r.length,i=o?{}:null;function a(){if(--o<=0){n.images=i;let t=new e.Workbook(n);(e.forceProxy?t.toDataURL():t.toBlob()).then((t=>{e.saveAs(t,n.fileName||e.fileName,{proxyURL:e.proxyURL,forceProxy:e.forceProxy})}))}}o?r.forEach((function(e){let n=t._images[e];if(n.blob){let t=new FileReader;t.onload=function(){i[e]={type:n.blob.type,name:n.blob.name,data:t.result},a()},t.readAsArrayBuffer(n.blob)}else!function(e,t){let n=new XMLHttpRequest;n.onload=function(){t(n.response,n.getResponseHeader("Content-Type"))},n.onerror=function(){t(null)},n.open("GET",e),n.responseType="arraybuffer",n.send()}(n.url,(function(t,n){i[e]={type:n,data:t},a()}))})):a()}draw(e,t){"function"!=typeof e||t||(t=e,e={});let n=[],r=this._sheets;!function o(i){if(i<r.length)r[i].draw(C,e,(function(e){n.push(e),o(i+1)}));else{let e=n[0];for(i=1;i<n.length;++i)e.children=e.children.concat(n[i].children);t(e)}}(0)}nameForRef(e,t){void 0===t&&(t=e.sheet),t=t.toLowerCase();let n=String(e);for(let e in this._names){let r=this._names[e],o=r.value;if(o instanceof g&&(!o.sheet||o.sheet&&t===o.sheet.toLowerCase())&&String(o)===n)return r}return{name:n}}defineName(e,t,n){let r=re.parseNameDefinition(e,t);e=r.name.print(),this._names[e.toLowerCase()]={value:r.value,hidden:n,name:e,nameref:r.name}}undefineName(e){delete this._names[e.toLowerCase()]}nameValue(e){return(e=e.toLowerCase())in this._names?this._names[e].value:null}nameDefinition(e,t){return e=e.toLowerCase(),arguments.length>1&&(void 0===t?delete this._names[e]:this._names[e]=t),this._names[e]}forEachName(e){Object.keys(this._names).forEach((function(t){e(this._names[t],t)}),this)}adjustNames(e,t,n,r){e=e.toLowerCase(),Object.keys(this._names).forEach((function(o){let i=this._names[o],a=i.value;a instanceof g&&a.sheet.toLowerCase()===e?i.value=a.adjust(null,null,null,null,t,n,r):a instanceof re.runtime.Formula&&a.adjust(e,t?"row":"col",n,r)}),this)}addImage(e){let t=String(++this._imgID);return this._images[t]="string"==typeof e?{url:e}:{blob:e},t}imageUrl(e){let t=this._images[e],n=t.url;return n||(n=t.url=window.URL.createObjectURL(t.blob)),n}cleanupImages(){Object.keys(this._images).forEach((function(e){if(!this.usesImage(e)){let t=this._images[e].url;t&&window.URL.revokeObjectURL(t),delete this._images[e]}}),this)}usesImage(e){let t,n=this._sheets;for(t=n.length;--t>=0;)if(n[t].usesImage(e))return 1;let r=this.undoRedoStack.stack;for(t=r.length;--t>=0;)if(r[t].usesImage(e))return 2;return!1}}function ms(e,t){function n(e,t,n){return void 0!==e?e:void 0!==t?t:n}let r=n(e.rowCount,t.rows,200),o=n(e.columnCount,t.columns,50),i=n(e.rowHeight,t.rowHeight,20),a=n(e.columnWidth,t.columnWidth,64),s=n(e.headerHeight,t.headerHeight,20),l=n(e.headerWidth,t.headerWidth,32);if(void 0!==e.rows)for(let t=0;t<e.rows.length;++t){let i=e.rows[t],a=n(i.index,t);if(a>=r&&(r=a+1),i.cells)for(let e=0;e<i.cells.length;++e){let t=n(i.cells[e].index,e);t>=o&&(o=t+1)}}return{rowCount:r,columnCount:o,rowHeight:i,columnWidth:a,headerHeight:s,headerWidth:l}}const vs=["cut","copy","paste","pdfExport","excelExport","excelImport","changing","change","render","removeSheet","selectSheet","renameSheet","insertRow","insertColumn","deleteRow","insertSheet","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","changeFormat","dataBinding","dataBound"];class gs extends Gr{constructor(e,t){super(e,V({},I,t)),this.events=vs,this.bind(this.events,this.options),U({locale:this.options.locale,...this.options.intl}),K().calendar.months.format.wide.forEach((function(e,t){_o.prototype[e.toLowerCase()]=function(e){return e instanceof Date&&e.getMonth()===t}})),this._view=new vi(this.element,{messages:this.options.messages.view,toolbar:this.options.toolbar,sheetsbar:this.options.sheetsbar,formulaBarInputRef:this.options.formulaBarInputRef,formulaCellInputRef:this.options.formulaCellInputRef,nameBoxRef:this.options.nameBoxRef}),this._workbook=new fs(this.options,this._view),this._controller=new ir(this._view,this._workbook),this._autoRefresh=!0,this._bindWorkbookEvents(),this._view.workbook(this._workbook),this._view.enableClipboard(!1),this.refresh(),this._view.enableClipboard(!0),this._resizeHandler=function(){this.resize()}.bind(this),window.addEventListener("resize",this._resizeHandler),this.element.addEventListener("keydown",this._keyDown.bind(this))}get view(){return this._view}get workbook(){return this._workbook}_keyDown(e){let t=e.keyCode;if(t===S.F11&&e.shiftKey)return this._view.sheetsbar._onAddSelect(),void e.preventDefault();if(e.altKey&&t===S.PAGEDOWN)this._view.sheetsbar.trigger("select",{name:this._view.sheetsbar._sheets[this._view.sheetsbar._selectedIndex+1].name(),isAddButton:!1});else if(e.altKey&&t===S.PAGEUP)this._view.sheetsbar.trigger("select",{name:this._view.sheetsbar._sheets[this._view.sheetsbar._selectedIndex-1].name(),isAddButton:!1});else{if(e.altKey&&t===S.DELETE){let t=function(e){e.sender.isConfirmed()&&this._view.sheetsbar.trigger("remove",{name:this.activeSheet()._name(),confirmation:!0})}.bind(this);return this._view.sheetsbar._openDialog("confirmation",{close:t}),void e.preventDefault()}if(e.altKey&&t===S.R)return this._view.sheetsbar._createEditor(),void e.preventDefault();if(e.ctrlKey&&t===S.B){const e=this.element.querySelector("[data-tool=bold]");e&&e.click()}else if(e.ctrlKey&&t===S.I){const e=this.element.querySelector("[data-tool=italic]");e&&e.click()}else if(e.ctrlKey&&t===S.U){const e=this.element.querySelector("[data-tool=underline]");e&&e.click()}else{if(e.altKey&&t===S.H)return this._view.tabstrip.select(0),void e.preventDefault();if(e.altKey&&t===S.N)return this._view.tabstrip.select(1),void e.preventDefault();if(e.altKey&&t===S.A)return this._view.tabstrip.select(2),void e.preventDefault()}}}_resize(){this.refresh({layout:!0})}_workbookChanging(e){this.trigger("changing",e)&&e.preventDefault()}_workbookChange(e){if(this._autoRefresh&&this.refresh(e),e.recalc&&e.ref){let t=e.range||new Fr(e.ref,this.activeSheet());this.trigger("change",{range:t})}}_workbookCut(e){this.trigger("cut",e)}_workbookCopy(e){this.trigger("copy",e)}_workbookPaste(e){this.trigger("paste",e)}activeSheet(e){return this._workbook.activeSheet(e)}moveSheetToIndex(e,t){return this._workbook.moveSheetToIndex(e,t)}insertSheet(e){return this._workbook.insertSheet(e)}sheets(){return this._workbook.sheets()}removeSheet(e){return this._workbook.removeSheet(e)}sheetByName(e){return this._workbook.sheetByName(e)}sheetIndex(e){return this._workbook.sheetIndex(e)}sheetByIndex(e){return this._workbook.sheetByIndex(e)}renameSheet(e,t){return this._workbook.renameSheet(e,t)}executeCommand(e){return this._controller.executeCommand(e)}refresh(e){return e||(e=E),e.editorClose||(this._view.sheet(this._workbook.activeSheet()),this._controller.sheet(this._workbook.activeSheet()),this._workbook.refresh(e)),e.editorChange||(this._view.refresh(e),this._controller.refresh(),this._view.render(e),this.trigger("render")),this}openDialog(e,t){return this._view.openDialog(e,t)}autoRefresh(e){return void 0!==e?(this._autoRefresh=e,!0===e&&this.refresh(),this):this._autoRefresh}toJSON(){return this._workbook.toJSON()}fromJSON(e){e.sheets?(this._workbook.destroy(),this._workbook=new fs(V({},this.options,e)),this._bindWorkbookEvents(),this._view.workbook(this._workbook),this._controller.workbook(this._workbook),this.activeSheet(this.activeSheet())):this.refresh()}saveJSON(){return this._workbook.saveJSON()}fromFile(e){return this._workbook.fromFile(e)}saveAsPDF(e){this._workbook.saveAsPDF(V({},this.options.pdf,e,{workbook:this._workbook}))}saveAsExcel(e){this._workbook.saveAsExcel(e)}draw(e,t){this._workbook.draw(e,t)}_workbookExcelExport(e){this.trigger("excelExport",e)&&e.preventDefault()}_workbookExcelImport(e){this.trigger("excelImport",e)&&e.preventDefault()}_workbookPdfExport(e){this.trigger("pdfExport",e)&&e.preventDefault()}_workbookInsertSheet(e){this.trigger("insertSheet",e)&&e.preventDefault()}_workbookRemoveSheet(e){this.trigger("removeSheet",e)&&e.preventDefault()}_workbookSelectSheet(e){this.trigger("selectSheet",e)&&e.preventDefault()}_workbookRenameSheet(e){this.trigger("renameSheet",e)&&e.preventDefault()}_workbookInsertRow(e){this.trigger("insertRow",e)&&e.preventDefault()}_workbookInsertColumn(e){this.trigger("insertColumn",e)&&e.preventDefault()}_workbookDeleteRow(e){this.trigger("deleteRow",e)&&e.preventDefault()}_workbookDeleteColumn(e){this.trigger("deleteColumn",e)&&e.preventDefault()}_workbookHideRow(e){this.trigger("hideRow",e)&&e.preventDefault()}_workbookHideColumn(e){this.trigger("hideColumn",e)&&e.preventDefault()}_workbookUnhideRow(e){this.trigger("unhideRow",e)&&e.preventDefault()}_workbookUnhideColumn(e){this.trigger("unhideColumn",e)&&e.preventDefault()}_workbookSelect(e){this.trigger("select",e)}_workbookChangeFormat(e){this.trigger("changeFormat",e)}_workbookDataBinding(e){this.trigger("dataBinding",e)&&e.preventDefault()}_workbookDataBound(e){this.trigger("dataBound",e)}_workbookProgress(){}_bindWorkbookEvents(){this._workbook.bind("cut",this._workbookCut.bind(this)),this._workbook.bind("copy",this._workbookCopy.bind(this)),this._workbook.bind("paste",this._workbookPaste.bind(this)),this._workbook.bind("changing",this._workbookChanging.bind(this)),this._workbook.bind("change",this._workbookChange.bind(this)),this._workbook.bind("excelExport",this._workbookExcelExport.bind(this)),this._workbook.bind("excelImport",this._workbookExcelImport.bind(this)),this._workbook.bind("pdfExport",this._workbookPdfExport.bind(this)),this._workbook.bind("insertSheet",this._workbookInsertSheet.bind(this)),this._workbook.bind("removeSheet",this._workbookRemoveSheet.bind(this)),this._workbook.bind("selectSheet",this._workbookSelectSheet.bind(this)),this._workbook.bind("renameSheet",this._workbookRenameSheet.bind(this)),this._workbook.bind("insertRow",this._workbookInsertRow.bind(this)),this._workbook.bind("insertColumn",this._workbookInsertColumn.bind(this)),this._workbook.bind("deleteRow",this._workbookDeleteRow.bind(this)),this._workbook.bind("deleteColumn",this._workbookDeleteColumn.bind(this)),this._workbook.bind("hideRow",this._workbookHideRow.bind(this)),this._workbook.bind("hideColumn",this._workbookHideColumn.bind(this)),this._workbook.bind("unhideRow",this._workbookUnhideRow.bind(this)),this._workbook.bind("unhideColumn",this._workbookUnhideColumn.bind(this)),this._workbook.bind("select",this._workbookSelect.bind(this)),this._workbook.bind("changeFormat",this._workbookChangeFormat.bind(this)),this._workbook.bind("dataBinding",this._workbookDataBinding.bind(this)),this._workbook.bind("dataBound",this._workbookDataBound.bind(this)),this._workbook.bind("progress",this._workbookProgress.bind(this))}destroy(){this.unbind(),this._workbook.destroy(),this._controller.destroy(),this._view.destroy(),this._resizeHandler&&window.removeEventListener("resize",this._resizeHandler)}defineName(e,t,n){return this._workbook.defineName(e,t,n)}undefineName(e){return this._workbook.undefineName(e)}nameValue(e){return this._workbook.nameValue(e)}forEachName(e){return this._workbook.forEachName(e)}cellContextMenu(){return this._view.cellContextMenu}rowHeaderContextMenu(){return this._view.rowHeaderContextMenu}colHeaderContextMenu(){return this._view.colHeaderContextMenu}addImage(e){return this._workbook.addImage(e)}cleanupImages(){return this._workbook.cleanupImages()}}},8696:(e,t,n)=>{"use strict";n.r(t),n.d(t,{accessibilityIcon:()=>Bn,aggregateFieldsIcon:()=>ac,alignBottomIcon:()=>Hi,alignCenterIcon:()=>Vi,alignItemsBaselineAltIcon:()=>$o,alignItemsBaselineIcon:()=>jo,alignItemsCenterAltIcon:()=>Ko,alignItemsCenterIcon:()=>Lo,alignItemsEndAltIcon:()=>Wo,alignItemsEndIcon:()=>Po,alignItemsStartAltIcon:()=>Uo,alignItemsStartIcon:()=>No,alignItemsStretchAltIcon:()=>qo,alignItemsStretchIcon:()=>To,alignJustifyIcon:()=>Bi,alignLeftIcon:()=>Fi,alignMiddleIcon:()=>Ri,alignRemoveIcon:()=>Ai,alignRightIcon:()=>Di,alignSelfCenterAltIcon:()=>so,alignSelfCenterIcon:()=>oo,alignSelfEndAltIcon:()=>lo,alignSelfEndIcon:()=>io,alignSelfStartAltIcon:()=>ao,alignSelfStartIcon:()=>ro,alignSelfStretchAltIcon:()=>Ao,alignSelfStretchIcon:()=>Bo,alignToGridIcon:()=>bo,alignTopIcon:()=>Oi,allIcon:()=>vi,anchorIcon:()=>ps,applyFormatIcon:()=>Ja,arrowDownIcon:()=>S,arrowLeftIcon:()=>M,arrowOverflowDownIcon:()=>x,arrowRightIcon:()=>E,arrowRotateCcwIcon:()=>dt,arrowRotateCcwSmallIcon:()=>mt,arrowRotateCwIcon:()=>pt,arrowRotateCwSmallIcon:()=>vt,arrowUpIcon:()=>I,arrowsAxesIcon:()=>V,arrowsLeftRightIcon:()=>ne,arrowsMoveIcon:()=>kn,arrowsNoChangeIcon:()=>w,arrowsNoRepeatIcon:()=>ft,arrowsSwapIcon:()=>D,arrowsTopBottomIcon:()=>re,barcodeIcon:()=>Nn,barcodeOutlineIcon:()=>An,barcodeQrCodeScannerIcon:()=>Un,barcodeScannerIcon:()=>Ln,behanceBoxIcon:()=>ql,behanceIcon:()=>Wl,bellIcon:()=>zr,binocularsIcon:()=>ja,bloggerBoxIcon:()=>fl,bloggerIcon:()=>pl,blurIcon:()=>Yr,boldIcon:()=>ii,bookIcon:()=>Ra,borderBottomIcon:()=>na,borderLeftIcon:()=>ra,borderRadiusBottomLeftIcon:()=>oe,borderRadiusBottomRightIcon:()=>ie,borderRadiusIcon:()=>le,borderRadiusTopLeftIcon:()=>ae,borderRadiusTopRightIcon:()=>se,borderRightIcon:()=>oa,borderStyleBottomIcon:()=>ce,borderStyleIcon:()=>pe,borderStyleLeftIcon:()=>ue,borderStyleRightIcon:()=>he,borderStyleTopIcon:()=>de,borderTopIcon:()=>ta,bordersAllIcon:()=>Xi,bordersInsideHorizontalIcon:()=>Qi,bordersInsideIcon:()=>Ji,bordersInsideVerticalIcon:()=>ea,bordersNoneIcon:()=>ia,bordersOutsideIcon:()=>Zi,bordersShowHideIcon:()=>aa,boxSizingIcon:()=>fe,brightnessContrastIcon:()=>Kr,bringBackwardIcon:()=>no,bringForwardIcon:()=>to,bringToBackIcon:()=>eo,bringToFrontIcon:()=>Qr,brushIcon:()=>Pr,buildingBlocksIcon:()=>ss,buttonIcon:()=>ha,calculatorIcon:()=>zn,calendarDateIcon:()=>pa,calendarIcon:()=>bt,cameraIcon:()=>Er,cancelCircleIcon:()=>Ft,cancelIcon:()=>Rt,cancelOutlineIcon:()=>Ht,caretAltDownIcon:()=>c,caretAltExpandIcon:()=>y,caretAltLeftIcon:()=>u,caretAltRightIcon:()=>l,caretAltToBottomIcon:()=>p,caretAltToLeftIcon:()=>f,caretAltToRightIcon:()=>d,caretAltToTopIcon:()=>h,caretAltUpIcon:()=>s,caretBlIcon:()=>i,caretBrIcon:()=>o,caretDoubleAltDownIcon:()=>g,caretDoubleAltLeftIcon:()=>b,caretDoubleAltRightIcon:()=>v,caretDoubleAltUpIcon:()=>m,caretTlIcon:()=>a,caretTrIcon:()=>r,cartIcon:()=>Cn,categorizeIcon:()=>A,cellSplitHorizontallyIcon:()=>Os,cellSplitVerticallyIcon:()=>Rs,cellsMergeHorizontallyIcon:()=>Ss,cellsMergeIcon:()=>Es,cellsMergeVerticallyIcon:()=>Ms,changeManuallyIcon:()=>ka,chartAreaClusteredIcon:()=>Du,chartAreaRangeIcon:()=>Nu,chartAreaStacked100Icon:()=>Au,chartAreaStackedIcon:()=>Bu,chartBarClusteredIcon:()=>Ru,chartBarRangeIcon:()=>Vu,chartBarStacked100Icon:()=>Fu,chartBarStackedIcon:()=>Hu,chartBubbleIcon:()=>Ju,chartCandlestickIcon:()=>Qu,chartChoroplethIcon:()=>ih,chartColumnClusteredIcon:()=>Eu,chartColumnRangeIcon:()=>Ou,chartColumnStacked100Icon:()=>Mu,chartColumnStackedIcon:()=>Su,chartDoughnutIcon:()=>qu,chartLineIcon:()=>Lu,chartLineMarkersIcon:()=>ju,chartLineStacked100Icon:()=>Tu,chartLineStacked100MarkersIcon:()=>Ku,chartLineStackedIcon:()=>Pu,chartLineStackedMarkersIcon:()=>Uu,chartOhlcIcon:()=>eh,chartPieIcon:()=>Wu,chartRadarFilledIcon:()=>rh,chartRadarIcon:()=>th,chartRadarMarkersIcon:()=>nh,chartRoseIcon:()=>oh,chartScatterIcon:()=>$u,chartScatterSmoothLinesIcon:()=>Yu,chartScatterSmoothLinesMarkersIcon:()=>Gu,chartScatterStraightLinesIcon:()=>Zu,chartScatterStraightLinesMarkersIcon:()=>Xu,checkCircleIcon:()=>Bt,checkIcon:()=>Vt,checkOutlineIcon:()=>Dt,checkboxCheckedIcon:()=>gr,checkboxIcon:()=>vr,checkboxIndeterminateIcon:()=>br,checkboxNullIcon:()=>yr,chevronDoubleDownIcon:()=>me,chevronDoubleLeftIcon:()=>ve,chevronDoubleRightIcon:()=>ge,chevronDoubleUpIcon:()=>be,chevronDownIcon:()=>C,chevronLeftIcon:()=>_,chevronRightIcon:()=>z,chevronUpIcon:()=>k,circleIcon:()=>wr,clearCssIcon:()=>Qa,clipboardCodeIcon:()=>qa,clipboardHtmlIcon:()=>Ya,clipboardIcon:()=>Wa,clipboardMarkdownIcon:()=>Xa,clipboardTextIcon:()=>Za,clipboardWordAltIcon:()=>Ga,clipboardWordIcon:()=>$a,clockArrowRotateIcon:()=>Xn,clockIcon:()=>gt,closedCaptionsIcon:()=>ar,cloudIcon:()=>Vc,codeIcon:()=>_c,codeSnippetIcon:()=>ca,colResizeIcon:()=>F,columnFreezeIcon:()=>Ds,columnsIcon:()=>G,commentIcon:()=>Da,commentRemoveIcon:()=>Ba,commentsRemoveIcon:()=>Aa,connectorIcon:()=>_n,convertLowercaseIcon:()=>ui,convertUppercaseIcon:()=>hi,copyFormatIcon:()=>es,copyIcon:()=>Ua,cropIcon:()=>Fr,crosstabIcon:()=>Js,crosstabWizardIcon:()=>Qs,csIcon:()=>Rc,csprojIcon:()=>Mc,css3Icon:()=>zc,cssIcon:()=>Ic,customFormatIcon:()=>qs,customIconIcon:()=>Oa,cutIcon:()=>Ka,dataCsvIcon:()=>Gc,dataIcon:()=>Ac,dataJsonIcon:()=>Yc,dataOdsIcon:()=>ye,dataRestIcon:()=>gu,dataSdsIcon:()=>at,dataSqlIcon:()=>Xc,dataWebIcon:()=>Zc,decimalDecreaseIcon:()=>Gs,decimalIncreaseIcon:()=>$s,decreaseHorizontalSpacingIcon:()=>_o,decreaseVerticalSpacingIcon:()=>Mo,deliciousBoxIcon:()=>vl,deliciousIcon:()=>ml,detailSectionIcon:()=>Kc,diggBoxIcon:()=>bl,diggIcon:()=>gl,dimensionsIcon:()=>Do,displayBlockIcon:()=>xe,displayFlexIcon:()=>ke,displayInlineBlockIcon:()=>ct,displayInlineFlexIcon:()=>ze,divIcon:()=>mi,divideIcon:()=>Dn,documentManagerIcon:()=>Ma,dollarIcon:()=>Ks,downloadIcon:()=>sn,downloadLightIcon:()=>st,dragAndDropIcon:()=>B,dribbbleBoxIcon:()=>Gl,dribbbleIcon:()=>$l,dropletIcon:()=>jr,dropletSlashIcon:()=>vo,dropletSliderIcon:()=>Ce,editToolsIcon:()=>wa,envelopBoxIcon:()=>wl,envelopIcon:()=>yl,envelopLinkIcon:()=>ds,equalIcon:()=>Rn,exclamationCircleIcon:()=>Ir,exeIcon:()=>Sc,exportIcon:()=>_u,eyeIcon:()=>bn,eyeSlashIcon:()=>lt,eyedropperIcon:()=>Ro,facebookBoxIcon:()=>kl,facebookIcon:()=>xl,fileAddIcon:()=>lc,fileAscxIcon:()=>yc,fileAudioIcon:()=>su,fileBacIcon:()=>wc,fileConfigIcon:()=>bc,fileCsvIcon:()=>uc,fileDataIcon:()=>uu,fileDiscImageIcon:()=>hu,fileErrorIcon:()=>mu,fileExcelIcon:()=>hc,fileFlashIcon:()=>gc,fileFooterIcon:()=>Lc,fileHeaderIcon:()=>Nc,fileHorizontalIcon:()=>Dc,fileIcon:()=>sc,fileImageIcon:()=>lu,fileMdbIcon:()=>pc,filePdfIcon:()=>mc,filePptIcon:()=>fc,filePresentationIcon:()=>cu,fileProgrammingIcon:()=>du,filePsdIcon:()=>vc,fileReportIcon:()=>_e,fileTxtIcon:()=>cc,fileTypescriptIcon:()=>bu,fileVideoIcon:()=>au,fileWordIcon:()=>dc,fileWrenchIcon:()=>oi,fileZipIcon:()=>xc,filesErrorIcon:()=>vu,filmIcon:()=>kc,filterAddExpressionIcon:()=>nn,filterAddGroupIcon:()=>rn,filterClearIcon:()=>Jt,filterIcon:()=>Zt,filterSmallIcon:()=>Qt,filterSortAscSmallIcon:()=>en,filterSortDescSmallIcon:()=>tn,flashManagerIcon:()=>Ta,flipHorizontalIcon:()=>Dr,flipVerticalIcon:()=>Br,folderAddIcon:()=>rc,folderIcon:()=>tc,folderMoreIcon:()=>ic,folderOpenIcon:()=>nc,folderUpIcon:()=>oc,fontFamilyIcon:()=>li,fontSizeIcon:()=>Ys,foregroundColorIcon:()=>ci,formElementIcon:()=>la,formIcon:()=>sa,formatCodeBlockIcon:()=>as,formulaFxIcon:()=>Ts,forwardIcon:()=>tr,fullscreenExitIcon:()=>mo,fullscreenIcon:()=>fo,gapColumnIcon:()=>Ie,gapRowIcon:()=>Ee,gearIcon:()=>mn,gearsIcon:()=>vn,globeIcon:()=>il,globeLinkIcon:()=>us,globeOutlineIcon:()=>ol,globeUnlinkIcon:()=>hs,googleBoxIcon:()=>Cl,googleIcon:()=>zl,googlePlusBoxIcon:()=>Il,googlePlusIcon:()=>_l,graphIcon:()=>Iu,grayscaleIcon:()=>Gr,greaterOrEqualIcon:()=>Vn,gridIcon:()=>N,gridLayoutIcon:()=>L,groupBoxIcon:()=>fa,groupCollectionIcon:()=>Jc,groupFooterSectionIcon:()=>Tc,groupHeaderSectionIcon:()=>Pc,groupIcon:()=>P,groupSectionIcon:()=>qc,h1Icon:()=>gi,h2Icon:()=>bi,h3Icon:()=>yi,h4Icon:()=>wi,h5Icon:()=>xi,h6Icon:()=>ki,handIcon:()=>Wn,handleDragIcon:()=>j,handleResizeAltIcon:()=>Se,handleResizeIcon:()=>Me,hdIcon:()=>ir,heartIcon:()=>pr,heartOutlineIcon:()=>dr,homeIcon:()=>te,horizontalRuleIcon:()=>Li,html5Icon:()=>Cc,hyperlinkOpenIcon:()=>cn,hyperlinkOpenSmIcon:()=>un,imageAbsolutePositionIcon:()=>Xs,imageAddIcon:()=>Ha,imageEditIcon:()=>Fa,imageExportIcon:()=>Mr,imageIcon:()=>Sr,imageMapEditorIcon:()=>Va,imageResizeIcon:()=>Hr,imagesIcon:()=>Oe,importIcon:()=>Cu,inboxIcon:()=>dl,increaseHorizontalSpacingIcon:()=>Co,increaseVerticalSpacingIcon:()=>So,indentIcon:()=>_i,infoCircleIcon:()=>Cr,inheritedIcon:()=>iu,insertBottomIcon:()=>Mi,insertMiddleIcon:()=>Si,insertTopIcon:()=>Ei,invertColorsIcon:()=>qr,italicIcon:()=>ai,jsIcon:()=>Ec,justifyContentAroundAltIcon:()=>ri,justifyContentAroundIcon:()=>Jo,justifyContentBetweenAltIcon:()=>ni,justifyContentBetweenIcon:()=>Zo,justifyContentCenterAltIcon:()=>ei,justifyContentCenterIcon:()=>Yo,justifyContentEndAltIcon:()=>ti,justifyContentEndIcon:()=>Xo,justifyContentStartAltIcon:()=>Qo,justifyContentStartIcon:()=>Go,kpiStatusDenyIcon:()=>Sn,kpiStatusHoldIcon:()=>Mn,kpiStatusOpenIcon:()=>On,launchIcon:()=>hn,layout1By4Icon:()=>K,layout2By2Icon:()=>W,layoutIcon:()=>U,layoutSideBySideIcon:()=>q,layoutStackedIcon:()=>$,lessOrEqualIcon:()=>Fn,letterSpaceIcon:()=>Re,levelDownIcon:()=>O,levelToTopIcon:()=>H,levelUpIcon:()=>R,lineHeightIcon:()=>He,linkAddIcon:()=>cs,linkIcon:()=>_t,linkVerticalIcon:()=>Et,linkedinBoxIcon:()=>Sl,linkedinIcon:()=>El,listLatinBigIcon:()=>Fe,listLatinSmallIcon:()=>Ve,listOrderedIcon:()=>zi,listRomanBigIcon:()=>De,listRomanLowerIcon:()=>zu,listRomanSmallIcon:()=>Be,listRomanUpperIcon:()=>ku,listUnorderedIcon:()=>Ci,listUnorderedOutlineIcon:()=>Ae,listUnorderedSquareIcon:()=>Ne,lockIcon:()=>Mt,loginIcon:()=>on,logoutIcon:()=>an,makeHorizontalSpacingEqualIcon:()=>zo,makeSameHeightIcon:()=>ko,makeSameSizeIcon:()=>wo,makeSameWidthIcon:()=>xo,makeVerticalSpacingEqualIcon:()=>Eo,mapMarkerIcon:()=>al,mapMarkerTargetIcon:()=>sl,maxHeightIcon:()=>Le,maxWidthIcon:()=>Pe,mediaManagerIcon:()=>La,menuIcon:()=>Z,minHeightIcon:()=>Te,minWidthIcon:()=>je,minusCircleIcon:()=>Wt,minusIcon:()=>Ut,minusOutlineIcon:()=>Kt,minusSmIcon:()=>En,mirrorIcon:()=>Vr,moreHorizontalIcon:()=>Q,moreVerticalIcon:()=>J,musicNotesIcon:()=>lr,myspaceBoxIcon:()=>Ol,myspaceIcon:()=>Ml,nonRecurrenceIcon:()=>we,notEqualIcon:()=>Hn,outdentIcon:()=>Ii,outlineOffsetIcon:()=>Ue,outlineWidthIcon:()=>Ke,overlapIcon:()=>ee,paddingBottomIcon:()=>We,paddingIcon:()=>Ye,paddingLeftIcon:()=>qe,paddingRightIcon:()=>$e,paddingTopIcon:()=>Ge,pageFooterSectionIcon:()=>Uc,pageHeaderSectionIcon:()=>jc,paletteIcon:()=>Tr,paneFreezeIcon:()=>Fs,paperclipAltIcon:()=>Ct,paperclipIcon:()=>zt,paragraphAddIcon:()=>ya,parameterBooleanIcon:()=>Qc,parameterDateTimeIcon:()=>eu,parameterFloatIcon:()=>tu,parameterIntegerIcon:()=>nu,parameterStringIcon:()=>ru,parametersByteArrayIcon:()=>pu,parametersIcon:()=>$c,parametersUnknownIcon:()=>fu,passwordIcon:()=>ba,pauseIcon:()=>Jn,pauseSmIcon:()=>ur,pencilIcon:()=>xt,percentIcon:()=>Ws,photosIcon:()=>go,pinIcon:()=>ll,pinterestBoxIcon:()=>Hl,pinterestIcon:()=>Rl,playIcon:()=>Zn,playSmIcon:()=>cr,playlistIcon:()=>sr,plusCircleIcon:()=>jt,plusIcon:()=>Pt,plusOutlineIcon:()=>Tt,plusSmIcon:()=>In,pointerIcon:()=>qn,positionBottomIcon:()=>Xe,positionLeftIcon:()=>Ze,positionRightIcon:()=>Je,positionTopIcon:()=>Qe,printIcon:()=>wt,puzzlePieceIcon:()=>ls,qrCodeIcon:()=>Tn,qrCodeOutlineIcon:()=>Pn,qrCodeScannerIcon:()=>jn,questionCircleIcon:()=>_r,radiobuttonCheckedIcon:()=>kr,radiobuttonIcon:()=>xr,redditBoxIcon:()=>Vl,redditIcon:()=>Fl,redoIcon:()=>ht,regularExpressionIcon:()=>et,removeHorizontalSpacingIcon:()=>Io,removeVerticalSpacingIcon:()=>Oo,reorderIcon:()=>X,replaceAllIcon:()=>tt,replaceSingleIcon:()=>nt,reportElementIcon:()=>rt,rewindIcon:()=>er,rightDoubleQuotesIcon:()=>ot,rotateIcon:()=>Ar,rotateLeftIcon:()=>Lr,rotateRightIcon:()=>Nr,roundCornersIcon:()=>Jr,rowFreezeIcon:()=>Vs,rowsIcon:()=>Y,rssBoxIcon:()=>Xl,rssIcon:()=>Yl,saveIcon:()=>yt,searchIcon:()=>yn,selectAllIcon:()=>ua,selectBoxIcon:()=>da,setColumnPositionIcon:()=>Yn,shapeLineIcon:()=>Ur,shapesIcon:()=>Zr,shareIcon:()=>ul,sharpenIcon:()=>Xr,signatureIcon:()=>Kn,silverlightIcon:()=>Na,sizeToGridIcon:()=>yo,slidersIcon:()=>Wr,slnIcon:()=>Fc,snapGridIcon:()=>Ho,snapToGridlinesIcon:()=>Fo,snapToSnaplinesIcon:()=>Vo,sortAscIcon:()=>qt,sortAscSmallIcon:()=>Yt,sortClearIcon:()=>Gt,sortDescIcon:()=>$t,sortDescSmallIcon:()=>Xt,spellCheckerIcon:()=>As,starIcon:()=>mr,starOutlineIcon:()=>fr,stickIcon:()=>$n,stopIcon:()=>Qn,stopSmIcon:()=>hr,strikethroughIcon:()=>di,stripAllFormattingIcon:()=>ts,stripCssFormatIcon:()=>ns,stripFontElementsIcon:()=>rs,stripSpanElementsIcon:()=>os,stripWordFormattingIcon:()=>is,stumbleUponBoxIcon:()=>Bl,stumbleUponIcon:()=>Dl,subreportIcon:()=>Bc,subscriptIcon:()=>pi,sumIcon:()=>js,supscriptIcon:()=>fi,symbolIcon:()=>Us,tableAddIcon:()=>fs,tableAlignBottomCenterIcon:()=>$i,tableAlignBottomLeftIcon:()=>qi,tableAlignBottomRightIcon:()=>Gi,tableAlignMiddleCenterIcon:()=>Ki,tableAlignMiddleLeftIcon:()=>Ui,tableAlignMiddleRightIcon:()=>Wi,tableAlignRemoveIcon:()=>Yi,tableAlignTopCenterIcon:()=>Ti,tableAlignTopLeftIcon:()=>Pi,tableAlignTopRightIcon:()=>ji,tableBodyIcon:()=>el,tableCellDeleteIcon:()=>_s,tableCellIcon:()=>gs,tableCellPropertiesIcon:()=>bs,tableColumnDeleteIcon:()=>zs,tableColumnGroupsIcon:()=>tl,tableColumnInsertLeftIcon:()=>ys,tableColumnInsertRightIcon:()=>ws,tableCornerIcon:()=>nl,tableDeleteIcon:()=>Is,tableIcon:()=>ms,tablePositionCenterIcon:()=>wu,tablePositionEndIcon:()=>xu,tablePositionStartIcon:()=>yu,tablePropertiesIcon:()=>vs,tableRowDeleteIcon:()=>Cs,tableRowGroupsIcon:()=>rl,tableRowInsertAboveIcon:()=>xs,tableRowInsertBelowIcon:()=>ks,tableUnmergeIcon:()=>Hs,tableWizardIcon:()=>Zs,tellAFriendBoxIcon:()=>Nl,tellAFriendIcon:()=>Al,templateManagerIcon:()=>xa,textWrapIcon:()=>Ni,textareaIcon:()=>ma,textboxHiddenIcon:()=>ga,textboxIcon:()=>va,thumbnailsDownIcon:()=>ho,thumbnailsLeftIcon:()=>po,thumbnailsRightIcon:()=>uo,thumbnailsUpIcon:()=>co,tocSectionIcon:()=>Wc,tocSectionLevelIcon:()=>ou,toggleFullScreenModeIcon:()=>Ps,toolbarFloatIcon:()=>Bs,trackChangesAcceptAllIcon:()=>Ia,trackChangesAcceptIcon:()=>_a,trackChangesEnableIcon:()=>Ca,trackChangesIcon:()=>za,trackChangesRejectAllIcon:()=>Sa,trackChangesRejectIcon:()=>Ea,transparencyIcon:()=>$r,trashIcon:()=>kt,tumblrBoxIcon:()=>Pl,tumblrIcon:()=>Ll,twitterBoxIcon:()=>jl,twitterIcon:()=>Tl,underlineIcon:()=>si,undoIcon:()=>ut,ungroupIcon:()=>T,unlinkIcon:()=>It,unlinkVerticalIcon:()=>St,unlockIcon:()=>Ot,unpinIcon:()=>cl,unstickIcon:()=>Gn,uploadIcon:()=>ln,userIcon:()=>hl,validationDataIcon:()=>Ls,validationXhtmlIcon:()=>Ns,vbIcon:()=>Hc,vbprojIcon:()=>Oc,videoExternalIcon:()=>Pa,vimeoBoxIcon:()=>Jl,vimeoIcon:()=>Zl,volumeDownIcon:()=>nr,volumeMuteIcon:()=>or,volumeUpIcon:()=>rr,wholeWordIcon:()=>it,windowIcon:()=>dn,windowMinimizeIcon:()=>fn,windowRestoreIcon:()=>pn,wrenchIcon:()=>gn,xCircleIcon:()=>Lt,xIcon:()=>At,xOutlineIcon:()=>Nt,yammerBoxIcon:()=>Kl,yammerIcon:()=>Ul,youtubeBoxIcon:()=>ec,youtubeIcon:()=>Ql,zoomActualSizeIcon:()=>Or,zoomBestFitIcon:()=>Rr,zoomInIcon:()=>wn,zoomOutIcon:()=>xn});const r={name:"caret-tr",content:'<path d="M352 160v192L160 160h192z" />',viewBox:"0 0 512 512"},o={name:"caret-br",content:'<path d="M352 352H160l192-192v192z" />',viewBox:"0 0 512 512"},i={name:"caret-bl",content:'<path d="M160 352V160l192 192H160z" />',viewBox:"0 0 512 512"},a={name:"caret-tl",content:'<path d="M160 160h192L160 352V160z" />',viewBox:"0 0 512 512"},s={name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},l={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},c={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},u={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},h={name:"caret-alt-to-top",content:'<path d="m128 352 128-192 128 192H128zm256-224H128v32h256v-32z" />',viewBox:"0 0 512 512"},d={name:"caret-alt-to-right",content:'<path d="m128 128 192 128-192 128V128zm224 256V128h-32v256h32z" />',viewBox:"0 0 512 512"},p={name:"caret-alt-to-bottom",content:'<path d="M384 128 256 320 128 128h256zM128 352h256v-32H128v32z" />',viewBox:"0 0 512 512"},f={name:"caret-alt-to-left",content:'<path d="M352 384 160 256l192-128v256zM128 128v256h32V128h-32z" />',viewBox:"0 0 512 512"},m={name:"caret-double-alt-up",content:'<path d="m128 448 128-192 128 192H128zM256 64 128 256h256L256 64z" />',viewBox:"0 0 512 512"},v={name:"caret-double-alt-right",content:'<path d="m64 128 192 128L64 384V128zm384 128L256 128v256l192-128z" />',viewBox:"0 0 512 512"},g={name:"caret-double-alt-down",content:'<path d="M384 64 256 256 128 64h256zM256 448l128-192-128 1H128l128 191z" />',viewBox:"0 0 512 512"},b={name:"caret-double-alt-left",content:'<path d="M448 384 256 256.001l192-128V384zM64 256.001 256 384V128L64 256.001z" />',viewBox:"0 0 512 512"},y={name:"caret-alt-expand",content:'<path d="M128 288h256L256 480 128 288zM256 32 128 224h256.001L256 32z" />',viewBox:"0 0 512 512"},w={name:"arrows-no-change",content:'<path d="M256 160 128 352 0 160h256zm96 0L224 352h256.001L352 160z" />',viewBox:"0 0 512 512"},x={name:"arrow-overflow-down",content:'<path d="M384 160 256 352 128 160h256zM128 96v32h256V96H128z" />',viewBox:"0 0 512 512"},k={name:"chevron-up",content:'<path d="m129.941 353.941 126.06-126.06 126.061 126.06L416 320 256.001 160 96 320l33.941 33.941z" />',viewBox:"0 0 512 512"},z={name:"chevron-right",content:'<path d="m158.059 129.941 126.06 126.06-126.06 126.061L192 416l160-159.999L192 96l-33.941 33.941z" />',viewBox:"0 0 512 512"},C={name:"chevron-down",content:'<path d="m382.059 158.059-126.06 126.06-126.061-126.06L96 192l159.999 160L416 192l-33.941-33.941z" />',viewBox:"0 0 512 512"},_={name:"chevron-left",content:'<path d="m353.941 382.059-126.06-126.06 126.06-126.061L320 96 160 255.999 320 416l33.941-33.941z" />',viewBox:"0 0 512 512"},I={name:"arrow-up",content:'<path d="M384 288h-96v128h-64l-.001-128H128L255.999 96 384 288z" />',viewBox:"0 0 512 512"},E={name:"arrow-right",content:'<path d="M224 384v-96H96v-64h128v-96l192 128-192 128z" />',viewBox:"0 0 512 512"},S={name:"arrow-down",content:'<path d="M128 224h96V96h64l.001 128H384L256.001 416 128 224z" />',viewBox:"0 0 512 512"},M={name:"arrow-left",content:'<path d="M288 128v96h128v64l-128 .001V384L96 256.001 288 128z" />',viewBox:"0 0 512 512"},O={name:"level-down",content:'<path d="M288 192v64h64l-80 128-80-128h64v-64H128v-32h288v32H288z" />',viewBox:"0 0 512 512"},R={name:"level-up",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96h-64z" />',viewBox:"0 0 512 512"},H={name:"level-to-top",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96h-64zm288-160H96v32h320v-32z" />',viewBox:"0 0 512 512"},F={name:"col-resize",content:'<path d="M128 255h64v33h-64v64.6L0 271.9l128-80.7V255zm96 225h64V32h-64v448zm288-207.9-128-80.7V256h-64v33h64v63.9l128-80.8z" />',viewBox:"0 0 512 512"},V={name:"arrows-axes",content:'<path d="M352 480v-64H128v64H96v-64H32v-32h64V160H32l80-128 80 128h-64v224h224v-64l128 80-128 80z" />',viewBox:"0 0 512 512"},D={name:"arrows-swap",content:'<path d="M256 160h-64v224h-32V160H96l80-128 80 128zm96 192V128h-32v224h-64l80 128 80-128h-64z" />',viewBox:"0 0 512 512"},B={name:"drag-and-drop",content:'<path d="m32 128 192 112L32 352V128zm224 96v32h224v-32H256z" />',viewBox:"0 0 512 512"},A={name:"categorize",content:'<path d="M32 32v192l160-96L32 32zm0 448V288l160 96-160 96zM192 64h288v32H192V64zm0 96h288v32H192v-32zm0 160h288v32H192v-32zm0 96h288v32H192v-32z" />',viewBox:"0 0 512 512"},N={name:"grid",content:'<path d="M32 32h128v128H32V32zm160 448h128V352H192v128zm-160 0h128V352H32v128zm0-160h128V192H32v128zm160 0h128V192H192v128zM352 32v128h128V32H352zm0 288h128V192H352v128zM192 160h128V32H192v128zm160 320h128V352H352v128z" />',viewBox:"0 0 512 512"},L={name:"grid-layout",content:'<path d="M32 32h96v96H32V32zm128 0v96h320V32H160zM32 288h96v-96H32v96zm128 0h320v-96H160v96zM32 448h96v-96H32v96zm128 0h320v-96H160v96z" />',viewBox:"0 0 512 512"},P={name:"group",content:'<path d="M32 256h192v192H32V256zm0-32h192V32H32v192zm224 224h192V256H256v192zm0-416v192h192V32H256z" />',viewBox:"0 0 512 512"},T={name:"ungroup",content:'<path d="M32 256h192v192H32V256zm32-64h128V64H64v128zm224 224h128V288H288v128zM256 32v192h192V32H256z" />',viewBox:"0 0 512 512"},j={name:"handle-drag",content:'<path d="M160 64h64v384h-64V64zm96 0v384h64V64h-64z" />',viewBox:"0 0 512 512"},U={name:"layout",content:'<path d="M192 416h256v64H192v-64zm0-32h256v-64H192v64zM32 480h128V128H32v352zm160-288h256v-64H192v64zm0 96h256v-64H192v64zM32 0v96h416V0H32z" />',viewBox:"0 0 512 512"},K={name:"layout-1-by-4",content:'<path d="M32 0h192v480H32V0zm224 0v96h192V0H256zm0 224h192v-96H256v96zm0 128h192v-96H256v96zm0 128h192v-96H256v96z" />',viewBox:"0 0 512 512"},W={name:"layout-2-by-2",content:'<path d="M32 224h192V0H32v224zm224 0h192V0H256v224zM32 480h192V256H32v224zm224 0h192V256H256v224z" />',viewBox:"0 0 512 512"},q={name:"layout-side-by-side",content:'<path d="M32 384h416v96H32v-96zm0-32h416v-96H32v96zm0-128h416v-96H32v96zM32 0v96h416V0H32z" />',viewBox:"0 0 512 512"},$={name:"layout-stacked",content:'<path d="M32 256h192v96H32v-96zm0 224h192v-96H32v96zm224-128h192v-96H256v96zM32 0v224h416V0H32zm224 480h192v-96H256v96z" />',viewBox:"0 0 512 512"},G={name:"columns",content:'<path d="M64 32h96v448H64V32zm128 448h96V32h-96v448zM320 32v448h96V32h-96z" />',viewBox:"0 0 512 512"},Y={name:"rows",content:'<path d="M480 64v96H32V64h448zM32 192v96h448v-96H32zm448 128H32v96h448v-96z" />',viewBox:"0 0 512 512"},X={name:"reorder",content:'<path d="M480 128v64H32v-64h448zM32 224v64h448v-64H32zm448 96H32v64h448v-64z" />',viewBox:"0 0 512 512"},Z={name:"menu",content:'<path d="M480 32v96H32V32h448zM32 192v96h448v-96H32zm448 160H32v96h448v-96z" />',viewBox:"0 0 512 512"},J={name:"more-vertical",content:'<path d="M240 128c26.4 0 48-21.6 48-48s-21.6-48-48-48-48 21.6-48 48 21.6 48 48 48zm0 64c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48zm0 160c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48z" />',viewBox:"0 0 512 512"},Q={name:"more-horizontal",content:'<path d="M128 240c0-26.4-21.6-48-48-48s-48 21.6-48 48 21.6 48 48 48 48-21.6 48-48zm64 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48zm160 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48z" />',viewBox:"0 0 512 512"},ee={name:"overlap",content:'<path d="M320 320V64H64v256h256zM192 448h256V192h-96v160H192v96z" />',viewBox:"0 0 512 512"},te={name:"home",content:'<path d="M480 256c0 17.7-14.3 32-32 32-9.1 0-17.4-3.8-23.2-10l-8.8-8.7V416c0 17.7-14.3 32-32 32h-64c-17.7 0-32-14.3-32-32v-96h-64v96c0 17.7-14.3 32-32 32h-64c-17.7 0-32-14.3-32-32V268.6l-8.3 8.9C81.8 284 73.4 288 64 288c-17.7 0-32-14.3-32-32 0-8.5 3.3-16.1 8.6-21.9l.2-.2 1-1 191-191.3 1-1c5.8-5.5 13.6-8.9 22.2-8.9 9.1 0 17.3 3.8 23.1 9.9L470.3 233l.7.7.3.3c5.4 5.8 8.7 13.5 8.7 22z" />',viewBox:"0 0 512 512"},ne={name:"arrows-left-right",content:'<path d="m512 240-128-80v64H128v-64L0 240l128 80v-64h256v64z" />',viewBox:"0 0 512 512"},re={name:"arrows-top-bottom",content:'<path d="m240 512 80-128h-64V128h64L240 0l-80 128h64v256h-64z" />',viewBox:"0 0 512 512"},oe={name:"border-radius-bottom-left",content:'<path d="M384 368c0 8.8-7.2 16-16 16h-64c-97 0-176-79-176-176v-64c0-8.8 7.2-16 16-16s16 7.2 16 16v64c0 79.4 64.6 144 144 144h64c8.8 0 16 7.2 16 16z" />',viewBox:"0 0 512 512"},ie={name:"border-radius-bottom-right",content:'<path d="M368 128c8.8 0 16 7.2 16 16v64c0 97-79 176-176 176h-64c-8.8 0-16-7.2-16-16s7.2-16 16-16h64c79.4 0 144-64.6 144-144v-64c0-8.8 7.2-16 16-16z" />',viewBox:"0 0 512 512"},ae={name:"border-radius-top-left",content:'<path d="M144 384c-8.8 0-16-7.2-16-16v-64c0-97 79-176 176-176h64c8.8 0 16 7.2 16 16s-7.2 16-16 16h-64c-79.4 0-144 64.6-144 144v64c0 8.8-7.2 16-16 16z" />',viewBox:"0 0 512 512"},se={name:"border-radius-top-right",content:'<path d="M128 144c0-8.8 7.2-16 16-16h64c97 0 176 79 176 176v64c0 8.8-7.2 16-16 16s-16-7.2-16-16v-64c0-79.4-64.6-144-144-144h-64c-8.8 0-16-7.2-16-16z" />',viewBox:"0 0 512 512"},le={name:"border-radius",content:'<path d="M64 32h96v32H64v96H32V32h32zm384 416h-96v32h128V352h-32v96zM352 32v32h96v96h32V32H352zM64 352H32v128h128v-32H64v-96z" />',viewBox:"0 0 512 512"},ce={name:"border-style-bottom",content:'<path d="M96 480v-64h320v64H96zm1-416h320V32H97v32zM64 416V96H32v320h32zm416 0V96h-32v320h32z" />',viewBox:"0 0 512 512"},ue={name:"border-style-left",content:'<path d="M32 96h64v320H32V96zm416 1v320h32V97h-32zM96 64h320V32H96v32zm0 416h320v-32H96v32z" />',viewBox:"0 0 512 512"},he={name:"border-style-right",content:'<path d="M480 416h-64V96h64v320zm-416-1V95H32v320h32zm352 33H96v32h320v-32zm0-416H96v32h320V32z" />',viewBox:"0 0 512 512"},de={name:"border-style-top",content:'<path d="M416 32v64H96V32h320zm-1 416H95v32h320v-32zm33-352v320h32V96h-32zM32 96v320h32V96H32z" />',viewBox:"0 0 512 512"},pe={name:"border-style",content:'<path d="M32 96h32v320H32zm416 1h32v320h-32zM96 32h320v32H96zm0 416h320v32H96z" />',viewBox:"0 0 512 512"},fe={name:"box-sizing",content:'<path d="M32 0H0v480h480V0H32zm416 448H32V32h416v416zm-96-320h-32V96h32v32zM96 192H64v-32h32v32zm0-64H64V96h32v32zm64 0h-32V96h32v32zm64 0h-32V96h32v32zm64 0h-32V96h32v32zM96 256H64v-32h32v32zm320-128h-32V96h32v32zm0 128h-32v-32h32v32zm0-64h-32v-32h32v32zM96 384H64v-32h32v32zm256 0h-32v-32h32v32zm-192 0h-32v-32h32v32zm64 0h-32v-32h32v32zm64 0h-32v-32h32v32zm128 0h-32v-32h32v32zM96 320H64v-32h32v32zm320 0h-32v-32h32v32z" />',viewBox:"0 0 512 512"},me={name:"chevron-double-down",content:'<path d="M382.1 224 256 350.1 129.9 224 96 257.9l160 160 160-160-33.9-33.9zm0-128L256 222.1 129.9 96 96 129.9l160 160 160-160L382.1 96z" />',viewBox:"0 0 512 512"},ve={name:"chevron-double-left",content:'<path d="M289 383 162.9 257 289 130.9 255 97 95 257l160 160 34-34zm128 0L290.9 257 417 130.9 383 97 223 257l160 160 34-34z" />',viewBox:"0 0 512 512"},ge={name:"chevron-double-right",content:'<path d="M223 130.9 349.1 257 223 383l34 34 160-160L257 97l-34 33.9zm-128 0L221.1 257 95 383l34 34 160-160L129 97l-34 33.9z" />',viewBox:"0 0 512 512"},be={name:"chevron-double-up",content:'<path d="m129.9 289.9 126.1-126L382.1 290l33.9-34L256 96 96 256l33.9 33.9zm0 128 126.1-126L382.1 418l33.9-34-160-160L96 384l33.9 33.9z" />',viewBox:"0 0 512 512"},ye={name:"data-ods",content:'<path d="M415.94 93.61v.33c-.53 33.88-86.26 61.29-191.93 61.29S32.6 127.82 32.07 93.94v-.33C32.06 59.59 118 32 224 32s191.94 27.59 191.94 61.61Zm-.06 46.39v.32c-.53 33.88-86.26 61.29-191.93 61.29S32.54 174.2 32 140.32V140l.12 86.81v.32c.53 33.88 86.26 61.29 191.93 61.29S415.46 261 416 227.13v-.32Zm.12 180-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68Zm-256 6.11C85.73 317.69 32.43 295 32 268.32V268l.12 86.81v.32C32.55 381.8 85.8 404.47 160 412.9Zm73.5 123.55q-22.26 0-36.28-14.49t-14-37.76q0-24.57 14.24-39.74t37.72-15.18q22.18 0 35.88 14.53t13.69 38.3q0 24.42-14.2 39.38t-37.05 14.96Zm1-87.08q-12.28 0-19.51 9.22t-7.23 24.39q0 15.39 7.23 24.35a23.15 23.15 0 0 0 18.93 9q12.07 0 19.15-8.71t7.08-24.17q0-16.11-6.86-25.08t-18.78-9Zm68.9 85.28V344.23h36.71q55.22 0 55.21 50.51 0 24.21-15.06 38.66t-40.15 14.46Zm23.34-84.63v65.69h11.57q15.17 0 23.81-9.1t8.64-24.82q0-14.82-8.56-23.31t-24-8.49Zm82.49 80.65v-23.12a44.75 44.75 0 0 0 13.66 7.91 43.91 43.91 0 0 0 14.89 2.64 33.06 33.06 0 0 0 7.7-.8 18 18 0 0 0 5.49-2.2 9.67 9.67 0 0 0 3.29-3.33 8.29 8.29 0 0 0 1.08-4.15 9 9 0 0 0-1.73-5.42 18.77 18.77 0 0 0-4.74-4.41 49 49 0 0 0-7.12-3.9q-4.11-1.87-8.89-3.83-12.14-5.06-18.1-12.36a27 27 0 0 1-6-17.63 28.05 28.05 0 0 1 3.25-13.91 27.71 27.71 0 0 1 8.85-9.58 39.85 39.85 0 0 1 13-5.53 66.6 66.6 0 0 1 15.61-1.77 93.91 93.91 0 0 1 14.34 1 56.36 56.36 0 0 1 11.53 3v21.6a35.76 35.76 0 0 0-5.68-3.18 44.84 44.84 0 0 0-6.32-2.27 48.64 48.64 0 0 0-6.47-1.34 45.54 45.54 0 0 0-6.1-.43 31.65 31.65 0 0 0-7.23.76 18.18 18.18 0 0 0-5.49 2.13 10.47 10.47 0 0 0-3.47 3.29 7.77 7.77 0 0 0-1.23 4.3 8.27 8.27 0 0 0 1.37 4.66 15.88 15.88 0 0 0 3.91 3.9 40.85 40.85 0 0 0 6.14 3.61q3.61 1.77 8.16 3.65a91.56 91.56 0 0 1 11.17 5.53 39.85 39.85 0 0 1 8.49 6.61 25.82 25.82 0 0 1 5.42 8.42 29.82 29.82 0 0 1 1.88 11q0 8.67-3.29 14.56a26.68 26.68 0 0 1-8.92 9.54 38.57 38.57 0 0 1-13.12 5.24 75.82 75.82 0 0 1-15.79 1.59 88.11 88.11 0 0 1-16.22-1.44 49.18 49.18 0 0 1-13.31-4.34Z" />',viewBox:"0 0 512 512"},we={name:"non-recurrence",content:'<path d="m321 434.2 47.5 47.5C335.5 501 297 512 256 512 132.3 512 32 411.7 32 288c0-41 11-79.5 30.3-112.6l47.5 47.5c-8.9 19.9-13.8 41.9-13.8 65 0 88.2 71.8 160 160 160 23.1.1 45.2-4.8 65-13.7Zm118.3-17.5c12.9-18.3 23.1-38.7 30.1-60.4 6.9-21.5 10.6-44.5 10.6-68.3 0-40.8-10.9-79.1-30-112l-55.5 32c13.6 23.5 21.5 50.9 21.5 80 0 4.8-.2 9.5-.6 14.2-2.2 24.8-10.1 47.9-22.3 68.2L173.6 150.9c20.3-12.2 43.4-20.1 68.2-22.3 4.7-.4 9.4-.6 14.2-.6v64l160-96L256 0v64c-23.8 0-46.7 3.7-68.3 10.6-21.8 7-42.1 17.2-60.4 30.1L22.6 0 0 22.6 489.4 512l22.6-22.6-72.7-72.7Z" />',viewBox:"0 0 512 512"},xe={name:"display-block",content:'<path d="M32 32h448v32H32zm0 416h448v32H32zm0-64h448V128H32v256zm64-192h320v128H96V192z" />',viewBox:"0 0 512 512"},ke={name:"display-flex",content:'<path d="M32 32v448h448V32H32zm416 416H64V64h384v384zM128 128h96v256h-96zm160 0h96v256h-96z" />',viewBox:"0 0 512 512"},ze={name:"display-inline-flex",content:'<path d="M96 416h320V96H96v320zm32-288h256v256H128V128zm32 32h64v192h-64zm128 0h64v192h-64zM32 32h32v448H32zm416 0h32v448h-32z" />',viewBox:"0 0 512 512"},Ce={name:"droplet-slider",content:'<path d="M192 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S32 404.8 32 312C32 181.3 192 32 192 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136zm128-88h-32v256h32V224zm0-192h-32v64h32V32zm-64 96v64h96v-64h-96z" />',viewBox:"0 0 512 512"},_e={name:"file-report",content:'<path d="M416 32H96a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h320a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32Zm0 416H96V64h320Zm-96-96-160 .14V384l160-.14Zm32-64-192 .17V320l192-.17ZM223.15 127.9a64 64 0 1 0 64 64h-64Zm32-32v64h64a64 64 0 0 0-63.99-64Z" />',viewBox:"0 0 512 512"},Ie={name:"gap-column",content:'<path d="M32 32v448h448V32H32zm416 416H64V64h384v384zM96 96h96v320H96zm224 0h96v320h-96z" />',viewBox:"0 0 512 512"},Ee={name:"gap-row",content:'<path d="M480 32H32v448h448V32zM64 448V64h384v384H64zM96 96h320v96H96zm0 224h320v96H96z" />',viewBox:"0 0 512 512"},Se={name:"handle-resize-alt",content:'<path d="M480 224v256H224v-64h192V224h64z" />',viewBox:"0 0 512 512"},Me={name:"handle-resize",content:'<path d="m379.5 475.5-22.6-22.6 96-96 22.6 22.6-96 96zm79.7-208.2-22.6-22.6-191.9 191.9 22.6 22.6 191.9-191.9z" />',viewBox:"0 0 512 512"},Oe={name:"images",content:'<path d="M256 288c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm96-64v192c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32zm-31.8 0c-.1-.1-.1-.1 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40 .3-149.9zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zm64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},Re={name:"letter-space",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80h108zm-54-166.2L294.4 288h-76.8L256 169.8zM448 32h32v448h-32zM32 32h32v448H32z" />',viewBox:"0 0 512 512"},He={name:"line-height",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80h108zm-54-166.2L294.4 288h-76.8L256 169.8zM32 32h448v32H32zm0 416h448v32H32z" />',viewBox:"0 0 512 512"},Fe={name:"list-latin-big",content:'<path d="M115.1 136H72.6l-7.4 24H32.1L79.3 31.5h29.1L155.9 160h-33.3l-7.5-24zm-35-23.9h27.6L93.8 67.5l-13.7 44.6zM42.1 320V191.5h46.2c16.5 0 29.1 3 37.7 9.1 8.6 6.1 12.9 14.9 12.9 26.4 0 6.6-1.5 12.3-4.6 17-3.1 4.7-7.6 8.2-13.5 10.4 6.7 1.8 11.9 5.1 15.4 9.9 3.6 4.8 5.4 10.7 5.4 17.7 0 12.6-4 22.1-12 28.4-8 6.3-19.8 9.5-35.4 9.7H42.1zm31-74.9h16.2c6.8-.1 11.6-1.3 14.5-3.7 2.9-2.4 4.3-6 4.3-10.7 0-5.4-1.6-9.3-4.7-11.7-3.1-2.4-8.2-3.6-15.1-3.6H73.1v29.7zm0 20.3v30.8h20.3c5.6 0 9.9-1.3 12.9-3.8 3-2.6 4.5-6.2 4.5-10.8 0-10.7-5.3-16.1-16-16.2H73.1zm73 171.1c-.4 8.9-2.8 16.8-7.2 23.7-4.4 6.9-10.6 12.2-18.6 15.9-8 3.8-17.1 5.6-27.3 5.6-16.9 0-30.2-5.5-39.9-16.5s-14.6-26.5-14.6-46.6v-6.4c0-12.6 2.2-23.6 6.6-33.1 4.4-9.4 10.7-16.7 18.9-21.9 8.2-5.1 17.8-7.7 28.6-7.7 15.6 0 28.1 4.1 37.6 12.3 9.5 8.2 14.9 19.5 16.2 33.9h-30.9c-.2-7.8-2.2-13.4-5.9-16.9-3.7-3.4-9.4-5.1-16.9-5.1-7.7 0-13.4 2.9-16.9 8.6-3.6 5.8-5.5 15-5.6 27.6v9.1c0 13.7 1.7 23.5 5.2 29.4 3.4 5.9 9.4 8.8 17.8 8.8 7.1 0 12.6-1.7 16.3-5 3.8-3.4 5.8-8.7 6-16h30.6zM192 96h288v32H192V96zm0 160h288v32H192v-32zm0 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},Ve={name:"list-latin-small",content:'<path d="M94.5 152c-1.1-1.9-2-4.8-2.8-8.6-5.5 6.9-13.1 10.3-22.9 10.3-9 0-16.7-2.7-22.9-8.2-6.3-5.4-9.4-12.3-9.4-20.5 0-10.4 3.8-18.2 11.5-23.5 7.6-5.3 18.8-7.9 33.4-7.9h9.2v-5.1c0-8.8-3.8-13.2-11.4-13.2-7.1 0-10.6 3.5-10.6 10.5H38.7c0-9.2 3.9-16.7 11.8-22.5s17.9-8.6 30.1-8.6 21.8 3 28.9 8.9c7.1 5.9 10.7 14.1 10.9 24.4v42.3c.1 8.8 1.5 15.5 4.1 20.1v1.5l-30 .1zm-18.6-19.4c3.7 0 6.8-.8 9.2-2.4 2.4-1.6 4.2-3.4 5.3-5.4v-15.3h-8.6c-10.4 0-15.5 4.6-15.5 13.9 0 2.7.9 4.9 2.7 6.6 1.8 1.7 4.1 2.6 6.9 2.6zM129.4 280c0 15.7-3.2 27.7-9.7 36.1s-15.6 12.6-27.4 12.6c-9.7 0-17.5-3.9-23.5-11.6l-1.2 9.8H41V191.4h29.7v47.7c5.5-6.3 12.7-9.4 21.4-9.4 11.9 0 21.1 4.3 27.5 12.8 6.5 8.5 9.7 20.5 9.7 36l.1 1.5zm-29.8-1.9c0-9.2-1.2-15.7-3.7-19.6-2.4-3.9-6.2-5.9-11.3-5.9-6.7 0-11.4 2.6-13.9 7.7v37.9c2.5 5.1 7.2 7.6 14.1 7.6 7 0 11.4-3.4 13.3-10.2 1-3.4 1.5-9.2 1.5-17.5zM81.1 452.8c4.2 0 7.4-1.1 9.7-3.4s3.4-5.4 3.4-9.5h27.9c0 10.5-3.8 19.1-11.3 25.8-7.5 6.7-17.2 10.1-29 10.1-13.9 0-24.8-4.4-32.8-13.1s-12-20.8-12-36.2v-1.2c0-9.6 1.8-18.2 5.3-25.6 3.6-7.4 8.7-13.1 15.4-17 6.7-4 14.7-6 23.8-6 12.4 0 22.3 3.4 29.6 10.3 7.3 6.9 10.9 16.2 10.9 28H94.2c0-4.9-1.2-8.7-3.6-11.4-2.4-2.6-5.6-4-9.7-4-7.7 0-12.2 4.9-13.5 14.7-.4 3.1-.6 7.4-.6 12.9 0 9.6 1.1 16.2 3.4 19.9s5.9 5.7 10.9 5.7zM192 96h288v32H192V96zm0 160h288v32H192v-32zm0 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},De={name:"list-roman-big",content:'<path d="M32 32h32v128H32V32zm0 288h32V192H32v128zm64 0h32V192H96v128zM32 480h32V352H32v128zm64 0h32V352H96v128zm64 0h32V352h-32v128zM128 96h352v32H128V96zm64 160h288v32H192v-32zm64 160h224v32H256v-32zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z" />',viewBox:"0 0 512 512"},Be={name:"list-roman-small",content:'<path d="M32 64h16v96H32V64zm0 256h16v-96H32v96zm32 0h16v-96H64v96zM32 480h16v-96H32v96zm32 0h16v-96H64v96zm32 0h16v-96H96v96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM128 96h352v32H128V96zm32 160h320v32H160v-32zm32 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},Ae={name:"list-unordered-outline",content:'<path d="M192 80h288v32H192V80zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 192c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 192c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},Ne={name:"list-unordered-square",content:'<path d="M128 160H32V64h96v96zm0 64H32v96h96v-96zm0 160H32v96h96v-96zm64-256h288V96H192v32zm0 160h288v-32H192v32zm0 160h288v-32H192v32z" />',viewBox:"0 0 512 512"},Le={name:"max-height",content:'<path d="M384 0H96v32h288zm0 479H240.6L320 352h-64V160h64L240 32l-80 128h64v192h-64l79.4 127H96v32h288z" />',viewBox:"0 0 512 512"},Pe={name:"max-width",content:'<path d="M0 96v288h32V96zm479 0v143.4L352 160v64H160v-64L32 240l128 80v-64h192v64l127-79.4V384h32V96z" />',viewBox:"0 0 512 512"},Te={name:"min-height",content:'<path d="M240 192H96v32h288v-32zm144 96H96v32h288zM160 448h160l-80-128zm64 0h32v64h-32zm32-384V0h-32v64h-64l80 128 80-128z" />',viewBox:"0 0 512 512"},je={name:"min-width",content:'<path d="M192 240v144h32V96h-32zm96-144v288h32V96zm160 224V160l-128 80zm0-96h64v32h-64zm-384 0H0v32h64v64l128-80-128-80z" />',viewBox:"0 0 512 512"},Ue={name:"outline-offset",content:'<path d="M448 32H32v448h448V32h-32zm0 416H64V64h384v384zM160 320v32h192V160H160v160zm32-128h128v128H192V192z" />',viewBox:"0 0 512 512"},Ke={name:"outline-width",content:'<path d="M416 32H32v448h448V32h-64zm0 384H96V96h320v320zm-256-32h224V128H128v256h32zm0-224h192v192H160V160z" />',viewBox:"0 0 512 512"},We={name:"padding-bottom",content:'<path d="M288.2 352H256v64h64v64H160v-64h64v-64h-32v-64h96.2v64zM160 32h64v96h-32.2v32H288v-32h-32V32h64V0H160v32zm192 192v-32.2h-32V288h32v-32h96v64h32V160h-32v64h-96zm-224 32v32.2h32V192h-32v32H32v-64H0v160h32v-64h96z" />',viewBox:"0 0 512 512"},qe={name:"padding-left",content:'<path d="M128 288.2V256H64v64H0V160h64v64h64v-32h64v96.2h-64zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160h-32zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64v96z" />',viewBox:"0 0 512 512"},$e={name:"padding-right",content:'<path d="M352 191.8V224h64v-64h64v160h-64v-64h-64v32h-64v-96.2h64zM32 320v-64h96v32.2h32V192h-32v32H32v-64H0v160h32zm192-192h-32.2v32H288v-32h-32V32h64V0H160v32h64v96zm32 224h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96z" />',viewBox:"0 0 512 512"},Ge={name:"padding-top",content:'<path d="M191.8 128H224V64h-64V0h160v64h-64v64h32v64h-96.2v-64zM320 448h-64v-96h32.2v-32H192v32h32v96h-64v32h160v-32zM128 256v32.2h32V192h-32v32H32v-64H0v160h32v-64h96zm224-32v-32.2h-32V288h32v-32h96v64h32V160h-32v64h-96z" />',viewBox:"0 0 512 512"},Ye={name:"padding",content:'<path d="M128 288.2V256H32v64H0V160h32v64h96v-32h32v96.2h-32zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160h-32zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64v96z" />',viewBox:"0 0 512 512"},Xe={name:"position-bottom",content:'<path d="M32 64v416h448V32H32v32zm416 0v384H64V64h384zM96 320h320v96H96z" />',viewBox:"0 0 512 512"},Ze={name:"position-left",content:'<path d="M448 32H32v448h448V32h-32zm0 416H64V64h384v384zM96 96h96v320H96z" />',viewBox:"0 0 512 512"},Je={name:"position-right",content:'<path d="M64 480h416V32H32v448h32zm0-416h384v384H64V64zm256 32h96v320h-96z" />',viewBox:"0 0 512 512"},Qe={name:"position-top",content:'<path d="M480 448V32H32v448h448v-32zm-416 0V64h384v384H64zM96 96h320v96H96z" />',viewBox:"0 0 512 512"},et={name:"regular-expression",content:'<path d="M442.6 299.7 352 247.4V352h-64V247.4l-90.6 52.3-32-55.4L256 192l-90.6-52.3 32-55.4 90.6 52.3V32h64v104.6l90.6-52.3 32 55.4L384 192l90.6 52.3-32 55.4zM80 384c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},tt={name:"replace-all",content:'<path d="M288 288h192v192H288V288zm64-64H224V32h128v192zM320 64h-64v128h64V64zM160 352H96V160h96V96H96c-35.3 0-64 28.7-64 64v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64zM448 32v192h32V32h-32zm-32 0h-32v192h32V32z" />',viewBox:"0 0 512 512"},nt={name:"replace-single",content:'<path d="M288 288h192v192H288V288zM32 160v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64H96V160h160V96H96c-35.3 0-64 28.7-64 64zM480 32v192H288V32h192zm-32 32H320v128h128V64z" />',viewBox:"0 0 512 512"},rt={name:"report-element",content:'<path d="M480 320V192H160v48H96v-80h256V32H32v128h32v320h32v-48h64v48h256V352H160v48H96V272h64v48ZM64 64h256v64H64Zm128 320h192v64H192v-64Z" />',viewBox:"0 0 512 512"},ot={name:"right-double-quotes",content:'<path d="M136 100.2c-57.4 0-104 46.6-104 104s46.6 104 104 104c20.1 0 38.9-5.7 54.8-15.6-14.2 30.5-37.4 55.2-69.2 73.7-44 25.6-89.1 29.6-89.6 29.6l1.3 15.9 1.3 15.9c2.1-.2 51.8-4.4 102-33.2 47.1-27 103.3-81.3 103.3-186.1.1-1.4.1-2.8.1-4.3 0-57.3-46.6-103.9-104-103.9zm344 104c0-57.4-46.6-104-104-104s-104 46.6-104 104 46.6 104 104 104c20.1 0 38.9-5.7 54.8-15.6-14.2 30.5-37.4 55.2-69.2 73.7-44 25.6-89.1 29.6-89.6 29.6l2.6 31.9c2.1-.2 51.8-4.4 102-33.2 47.1-27 103.3-81.3 103.3-186.1.1-1.4.1-2.8.1-4.3z" />',viewBox:"0 0 512 512"},it={name:"whole-word",content:'<path d="M379 243.6c-2.7-9.3-6.5-17.2-11.7-23.8-5-6.4-11.4-11.4-18.6-15-7.4-3.5-15.9-5.2-25.3-5.2-16.3 0-30 6.9-41.4 20.5V160h-26v192h26v-14.8c10.8 9.8 24.1 14.8 39.7 14.8 8.7 0 16.9-1.8 24.3-5.4 7.5-3.8 14-8.9 19.5-15.5 5.5-6.8 9.7-14.9 12.9-24.4 3-9.6 4.6-20.3 4.6-32.1 0-11.5-1.3-21.8-4-31zm-31.8 73.7c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.3-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.1 9.2 9.3 22.9 9.3 41 0 18.9-3.3 33.3-9.7 42.7zm-139-107.8c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 44.6h26.1c.7-16.2 12.8-24.4 36-24.4 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.4 6.2 5.1 1.5 1.8 2.5 4 3.2 6.6s1.1 5.6 1.4 9.4c.1 3.6.1 8.3.1 13.5h-12.8c-59.3.1-89.1 17.3-89.1 51.5 0 6.4 1.3 12 3.8 17.2 2.4 5.3 5.9 9.6 10.4 13.4 4.4 3.8 9.8 6.7 16 8.7 6.1 2.2 12.7 3.2 20 3.2 20.9 0 51.8-18.6 51.8-18.6V351h26v-97.5c0-22-5.4-36.6-15.8-44zm-10.2 100c-2.3 3.4-5.1 6.3-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.8-8 3.3-12.2 4.3s-8.6 1.4-12.8 1.4c-9.6 0-17-2-22.5-5.9-5.5-4.1-8.3-9.8-8.3-17.2 0-20.6 18.9-30.9 56.9-30.9h18v32.5zM448 96h-32v320h32V96zm0-32H64V32h384v32zm0 415.6H64v-32h384v32z" />',viewBox:"0 0 512 512"},at={name:"data-sds",content:'<path d="M224 152.54c105.6 0 191.4-27.4 191.9-61.3v-.3c0-34-85.9-61.6-191.9-61.6S32.1 56.94 32.1 90.94v.3c.5 33.9 86.3 61.3 191.9 61.3Zm-191.9 71.9c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.5c-.5 33.9-86.3 61.3-191.9 61.3s-191.49-27.4-192-61.29l.1 86.49v.3Zm-.1 41.21.1 86.49v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8c-74.29-8.4-127.59-31.1-128-57.79Zm320 37.69 105 70-105 70v-52.5H189v-35h163v-52.5Z" />',viewBox:"0 0 512 512"},st={name:"download-light",content:'<path d="M368 256 256 384 144 256h96V32h32v224h96Zm112 192H32v32h448v-32Z" />',viewBox:"0 0 512 512"},lt={name:"eye-slash",content:'<path d="m245.43 358.68 24.92 24.92c-4.75.26-9.54.4-14.34.4-94.7 0-179.7-51.5-224-128 13.19-22.83 30.01-43.43 49.65-61.1l23.01 23.01C91.46 229.29 79.51 242.07 69.8 256c26.33 33.77 54.15 53.86 72.6 65.1 39.18 23.88 77.54 33.37 103.03 37.58m131.42-4.44L480 457.39 457.39 480 345.51 368.12s-.07.03-.1.04L232.2 254.94l.11-.03-39.21-39.21-.03.11-26.8-26.8s.04-.05.06-.08l-7.01-7.01s-.06.03-.09.04l-24.17-24.17s.06-.03.09-.05L32 54.61 54.61 32l111.87 111.87A260.193 260.193 0 0 1 256 128c94.8 0 179.8 51.5 224 128-24 41.53-60.05 75.69-103.15 98.24Zm-7.25-33.14c27.8-16.4 54.1-38.7 72.6-65.1-18.4-26.4-44.8-48.7-72.6-65.1-12.2-7.2-25.1-13.2-38.4-17.9 22.6 20.5 36.8 50.1 36.8 83 0 25.15-8.31 48.37-22.32 67.08l7.01 7.01c5.76-2.76 11.41-5.74 16.91-8.99Z" />',viewBox:"0 0 512 512"},ct={name:"display-inline-block",content:'<path d="M448 32h32v448h-32zM32 32h32v448H32zm64 352h320V128H96v256zm64-192h192v128H160V192z" />',viewBox:"0 0 512 512"},ut={name:"undo",content:'<path d="M479.9 416c-57.7-56.6-136.7-96-223.9-96v128L32 256 256 64v128c122.2 0 221.5 102.4 223.9 224z" />',viewBox:"0 0 512 512"},ht={name:"redo",content:'<path d="M256 192V64l224 192-224 192V320c-87.2 0-166.2 39.4-223.9 96C34.5 294.4 133.9 192 256 192z" />',viewBox:"0 0 512 512"},dt={name:"arrow-rotate-ccw",content:'<path d="m62 176 55.5 32C103.8 231.6 96 258.9 96 288c0 88.2 71.8 160 160 160s160-71.8 160-160-71.8-160-160-160v64L96 96 256 0v64c123.7 0 224 100.3 224 224S379.7 512 256 512 32 411.7 32 288c0-40.8 10.9-79.1 30-112z" />',viewBox:"0 0 512 512"},pt={name:"arrow-rotate-cw",content:'<path d="M480 288c0 123.7-100.3 224-224 224S32 411.7 32 288 132.3 64 256 64V0l160 96-160 96v-64c-88.2 0-160 71.8-160 160s71.8 160 160 160 160-71.8 160-160c0-29.1-7.8-56.4-21.5-80l55.5-32c19.1 32.9 30 71.2 30 112z" />',viewBox:"0 0 512 512"},ft={name:"arrows-no-repeat",content:'<path d="m321 434.2 47.5 47.5C335.5 501 297 512 256 512 132.3 512 32 411.7 32 288c0-41 11-79.5 30.3-112.6l47.5 47.5c-8.9 19.9-13.8 41.9-13.8 65 0 88.2 71.8 160 160 160 23.1.1 45.2-4.8 65-13.7zm118.3-17.5c12.9-18.3 23.1-38.7 30.1-60.4 6.9-21.5 10.6-44.5 10.6-68.3 0-40.8-10.9-79.1-30-112l-55.5 32c13.6 23.5 21.5 50.9 21.5 80 0 4.8-.2 9.5-.6 14.2-2.2 24.8-10.1 47.9-22.3 68.2L173.6 150.9c20.3-12.2 43.4-20.1 68.2-22.3 4.7-.4 9.4-.6 14.2-.6v64l160-96L256 0v64c-23.8 0-46.7 3.7-68.3 10.6-21.8 7-42.1 17.2-60.4 30.1L22.6 0 0 22.6 489.4 512l22.6-22.6-72.7-72.7z" />',viewBox:"0 0 512 512"},mt={name:"arrow-rotate-ccw-small",content:'<path d="m101.4 238.6 46.4 12.4c-2.5 9.3-3.8 19-3.8 29 0 61.8 50.2 112 112 112s112-50.2 112-112-50.2-112-112-112v56l-128-80 128-80v56c88.4 0 160 71.6 160 160s-71.6 160-160 160S96 368.4 96 280c0-14.3 1.9-28.2 5.4-41.4z" />',viewBox:"0 0 512 512"},vt={name:"arrow-rotate-cw-small",content:'<path d="M416 280c0 88.4-71.6 160-160 160S96 368.4 96 280s71.6-160 160-160V64l128 80-128 80v-56c-61.8 0-112 50.2-112 112s50.2 112 112 112 112-50.2 112-112c0-10-1.3-19.7-3.8-29l46.4-12.4c3.5 13.2 5.4 27.1 5.4 41.4z" />',viewBox:"0 0 512 512"},gt={name:"clock",content:'<path d="M256 128h-32v160h160v-32H256V128zm0-96C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-105.9 0-192-86.1-192-192S150.1 64 256 64s192 86.1 192 192-86.1 192-192 192z" />',viewBox:"0 0 512 512"},bt={name:"calendar",content:'<path d="M416 416H288V288h128v128zm64-352v384c0 17.6-14.4 32-32 32H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h64V0h64v32h128V0h64v32h64c17.6 0 32 14.4 32 32zm-32 128H64v255.9l.1.1 383.9-.1V192zm0-127.9c-.1-.1-.1-.1 0 0l-64-.1v32h-64V64H192v32h-64V64H64.1l-.1.1V160h384V64.1z" />',viewBox:"0 0 512 512"},yt={name:"save",content:'<path d="M384 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V128l-96-96zm-64 32v128h-64V64h64zm128 384-383.9.1-.1-.1V64.1l.1-.1H96v160h256V64h18.7l77.3 77.3V448z" />',viewBox:"0 0 512 512"},wt={name:"print",content:'<path d="M448 160h-32V96l-64-64H128c-17.7 0-32 14.3-32 32v96H64c-17.6 0-32 14.4-32 32v160c0 17.6 14.4 32 32 32h32v64c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32v-64h32c17.6 0 32-14.4 32-32V192c0-17.6-14.4-32-32-32zM128 64h192v64h64v64H128V64zm320 256h-64v127.9l-.1.1H128.1l-.1-.1V320H64v-32h384v32zm-288 0h192v32H160v-32zm0 64h160v32H160v-32z" />',viewBox:"0 0 512 512"},xt={name:"pencil",content:'<path d="m334.9 86.6 45.3-45.3c12.4-12.4 32.8-12.4 45.3 0l45.3 45.3c12.4 12.4 12.4 32.8 0 45.3l-45.3 45.3-90.6-90.6zm-22.6 22.6L32 389.5V480h90.5l280.3-280.3-90.5-90.5zM99.9 412.1l-22.6-22.6 235-235 22.6 22.6-235 235z" />',viewBox:"0 0 512 512"},kt={name:"trash",content:'<path d="M416 96h-96V64c0-17.6-14.4-32-32-32h-96c-17.6 0-32 14.4-32 32v32H64v64h32v288c0 17.6 14.4 32 32 32h224c17.6 0 32-14.4 32-32V160h32V96zM192 64h95.9l.1.1V96h-96c.1-.1.1-32.1 0-32zm160 384H128.1l-.1-.1V160h32v256h32V160h32v256h32V160h32v256h32V160h32v288z" />',viewBox:"0 0 512 512"},zt={name:"paperclip",content:'<path d="M384 128v256h-32V128c0-52.9-43.1-96-96-96s-96 43.1-96 96v288c0 35.3 28.7 64 64 64s64-28.7 64-64V128c0-17.6-14.4-32-32-32s-32 14.4-32 32v256h-32V128c0-35.3 28.7-64 64-64s64 28.7 64 64v288c0 52.9-43.1 96-96 96s-96-43.1-96-96V128C128 57.4 185.4 0 256 0s128 57.4 128 128z" />',viewBox:"0 0 512 512"},Ct={name:"paperclip-alt",content:'<path d="M407 452.1c-18.6 18.6-43 27.9-67.5 27.9s-48.9-9.3-67.6-27.9L69.3 249.4c-49.7-49.7-49.7-130.5 0-180.2s130.5-49.7 180.2 0l180.2 180.2-22.7 22.5L226.9 91.8c-37.2-37.2-97.9-37.2-135.1 0-37.2 37.2-37.2 97.9 0 135.1l202.7 202.7c24.8 24.8 65.2 24.8 90.1 0 24.8-24.8 24.8-65.2 0-90.1L181.9 136.8c-12.4-12.4-32.7-12.4-45 0s-12.4 32.7 0 45L317 362l-22.5 22.5-180.2-180.1c-24.8-24.8-24.8-65.2 0-90.1s65.2-24.8 90.1 0L407 317c37.3 37.2 37.3 97.9 0 135.1z" />',viewBox:"0 0 512 512"},_t={name:"link",content:'<path d="M384 384c-47.4 0-88.7-25.8-110.8-64H384c35.4 0 64-28.6 64-64s-28.7-64-64-64H273.2c22.1-38.2 63.5-64 110.8-64 70.7 0 128 57.3 128 128s-57.3 128-128 128zM96 256c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32zm-32 0c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.4 0-64 28.6-64 64z" />',viewBox:"0 0 512 512"},It={name:"unlink",content:'<path d="M384 384c-47.4 0-88.7-25.8-110.8-64H384c35.4 0 64-28.6 64-64s-28.7-64-64-64H273.2c22.1-38.2 63.5-64 110.8-64 70.7 0 128 57.3 128 128s-57.3 128-128 128zM64 256c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.3 0-64 28.6-64 64zM272 97.6V0h-32v97.6c5.2-1 10.5-1.6 16-1.6s10.8.6 16 1.6zm-60.1 11.7-69-69-22.6 22.6 69 69c5.9-9 13.6-16.7 22.6-22.6zm110.8 22.6 69-69-22.6-22.6-69 69c9 5.9 16.7 13.6 22.6 22.6zM256 416c-5.5 0-10.8-.6-16-1.6V512h32v-97.6c-5.2 1-10.5 1.6-16 1.6zm-66.7-35.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6zm110.8 22.6 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6z" />',viewBox:"0 0 512 512"},Et={name:"link-vertical",content:'<path d="M128 384c0-47.4 25.8-88.7 64-110.8V384c0 35.4 28.6 64 64 64s64-28.7 64-64V273.2c38.2 22.1 64 63.5 64 110.8 0 70.7-57.3 128-128 128s-128-57.3-128-128zM256 96c17.7 0 32 14.3 32 32v256c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zm0-32c-35.4 0-64 28.6-64 64v110.8c-38.2-22.1-64-63.5-64-110.8C128 57.3 185.3 0 256 0s128 57.3 128 128c0 47.4-25.8 88.7-64 110.8V128c0-35.4-28.6-64-64-64z" />',viewBox:"0 0 512 512"},St={name:"unlink-vertical",content:'<path d="M414.4 272H512v-32h-97.6c1 5.2 1.6 10.5 1.6 16s-.5 10.8-1.6 16zm-11.6-60.1 69-69-22.6-22.6-69 69c8.9 5.9 16.6 13.6 22.6 22.6zm-22.7 110.8 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6zM96 256c0-5.5.6-10.8 1.6-16H0v32h97.6c-1-5.2-1.6-10.5-1.6-16zm35.9-66.8-69-69-22.6 22.6 69 69c5.9-8.9 13.6-16.6 22.6-22.6zm-22.6 110.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6zM128 384c0-47.4 25.8-88.7 64-110.8V384c0 35.4 28.6 64 64 64s64-28.7 64-64V273.2c38.2 22.1 64 63.5 64 110.8 0 70.7-57.3 128-128 128s-128-57.3-128-128zM256 64c-35.4 0-64 28.6-64 64v110.8c-38.2-22.1-64-63.5-64-110.8C128 57.3 185.3 0 256 0s128 57.3 128 128c0 47.4-25.8 88.7-64 110.8V128c0-35.4-28.6-64-64-64z" />',viewBox:"0 0 512 512"},Mt={name:"lock",content:'<path d="M384 224h-32v-96c0-53-43-96-96-96s-96 43-96 96v96h-32c-17.6 0-32 14.4-32 32v192c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V256c0-17.6-14.4-32-32-32zm-192-96c0-35.3 28.7-64 64-64s64 28.7 64 64v96H192v-96zm64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" />',viewBox:"0 0 512 512"},Ot={name:"unlock",content:'<path d="M416 224H224v-96c0-53-43-96-96-96s-96 43-96 96v128h32V128c0-35.3 28.7-64 64-64s64 28.7 64 64v96h-32c-17.6 0-32 14.4-32 32v192c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V256c0-17.6-14.4-32-32-32zM288 384c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" />',viewBox:"0 0 512 512"},Rt={name:"cancel",content:'<path d="M256 32c-50.3 0-96.8 16.6-134.1 44.6-17.2 12.8-32.4 28.1-45.3 45.3C48.6 159.2 32 205.7 32 256c0 123.7 100.3 224 224 224 50.3 0 96.8-16.6 134.1-44.6 17.2-12.8 32.4-28.1 45.3-45.3 28-37.4 44.6-83.8 44.6-134.1 0-123.7-100.3-224-224-224zm0 384c-88.2 0-160-71.8-160-160 0-32.6 9.8-62.9 26.6-88.2l221.6 221.6C318.9 406.2 288.6 416 256 416zm133.4-71.8L167.8 122.6C193.1 105.8 223.4 96 256 96c88.2 0 160 71.8 160 160 0 32.6-9.8 62.9-26.6 88.2z" />',viewBox:"0 0 512 512"},Ht={name:"cancel-outline",content:'<path d="M256 32c-56.1 0-107.4 20.6-146.7 54.7-8.1 7-15.6 14.6-22.6 22.6C52.6 148.6 32 199.9 32 256c0 123.7 100.3 224 224 224 56.1 0 107.4-20.6 146.7-54.7 8.1-7 15.6-14.6 22.6-22.6C459.4 363.4 480 312.1 480 256c0-123.7-100.3-224-224-224zm0 416c-106 0-192-86-192-192 0-47.2 17.1-90.5 45.4-124L380 402.6c-33.5 28.3-76.8 45.4-124 45.4zm146.6-68L132 109.4C165.5 81.1 208.8 64 256 64c106 0 192 86 192 192 0 47.2-17.1 90.5-45.4 124z" />',viewBox:"0 0 512 512"},Ft={name:"cancel-circle",content:'<path d="m169.4 214.6 128 128c-12.5 6-26.6 9.4-41.4 9.4-52.9 0-96-43.1-96-96 0-14.8 3.4-28.8 9.4-41.4zM256 160c-14.8 0-28.8 3.4-41.4 9.4l128 128c6-12.5 9.4-26.6 9.4-41.4 0-52.9-43.1-96-96-96zm224 96c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-64 0c0-88.2-71.8-160-160-160-32.6 0-62.9 9.8-88.2 26.6-17.9 11.9-33.4 27.3-45.3 45.3C105.8 193.1 96 223.4 96 256c0 88.2 71.8 160 160 160 32.6 0 62.9-9.8 88.2-26.6 17.9-11.9 33.4-27.3 45.3-45.3 16.7-25.2 26.5-55.5 26.5-88.1z" />',viewBox:"0 0 512 512"},Vt={name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},Dt={name:"check-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm-32-154-83-83-45 45 128 128 176-176-45-45-131 131z" />',viewBox:"0 0 512 512"},Bt={name:"check-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm-32 352L96 256l45-45 83 83 147-147 45 45-192 192z" />',viewBox:"0 0 512 512"},At={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},Nt={name:"x-outline",content:'<path d="M384 338.7 338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},Lt={name:"x-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm128 306.7L338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7z" />',viewBox:"0 0 512 512"},Pt={name:"plus",content:'<path d="M288 224V96h-64v128H96v64h128v128h64V288h128v-64H288z" />',viewBox:"0 0 512 512"},Tt={name:"plus-outline",content:'<path d="M288 288v96h-64v-96h-96v-64h96v-96h64v96h96v64h-96zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},jt={name:"plus-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm32 256v96h-64v-96h-96v-64h96v-96h64v96h96v64h-96z" />',viewBox:"0 0 512 512"},Ut={name:"minus",content:'<path d="M96 224v64h320v-64H96z" />',viewBox:"0 0 512 512"},Kt={name:"minus-outline",content:'<path d="M128 224h256v64H128v-64zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},Wt={name:"minus-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zM128 288v-64h256v64H128z" />',viewBox:"0 0 512 512"},qt={name:"sort-asc",content:'<path d="M96 352h320v64H96v-64zm0-128h224v64H96v-64zm0-128h128v64H96V96z" />',viewBox:"0 0 512 512"},$t={name:"sort-desc",content:'<path d="M96 96h320v64H96V96zm0 128h224v64H96v-64zm0 128h128v64H96v-64z" />',viewBox:"0 0 512 512"},Gt={name:"sort-clear",content:'<path d="m110.9 224 64 64H96v-64h14.9zM96 416h128v-64H96v64zm214.6-128h9.4v-64h-73.4l-64-64H416V96H118.6l-64-64L32 54.6 457.4 480l22.6-22.6L310.6 288z" />',viewBox:"0 0 512 512"},Yt={name:"sort-asc-small",content:'<path d="M256 192v224h-32V192h-96L240 64l112 128h-96z" />',viewBox:"0 0 512 512"},Xt={name:"sort-desc-small",content:'<path d="M352 288 240 416 128 288h96V64h32v224h96z" />',viewBox:"0 0 512 512"},Zt={name:"filter",content:'<path d="M64 64v32l160 160v224l64-64V256L448 96V64H64z" />',viewBox:"0 0 512 512"},Jt={name:"filter-clear",content:'<path d="m143.5 64 168.2 168.2L288 256v160l-64 64V256L64 96V64h79.5zm236.1 100.4L448 96V64H279.3l-64-64L192 22l298 298 22-23.3-132.4-132.3z" />',viewBox:"0 0 512 512"},Qt={name:"filter-small",content:'<path d="M128 128h256v32l-96 96v96l-64 64V256l-96-96v-32z" />',viewBox:"0 0 512 512"},en={name:"filter-sort-asc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32h224zM64 224h64v160h32V224h64l-80-96-80 96z" />',viewBox:"0 0 512 512"},tn={name:"filter-sort-desc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32h224zM144 384l80-96h-64V128h-32v160H64l80 96z" />',viewBox:"0 0 512 512"},nn={name:"filter-add-expression",content:'<path d="M480 64v32H32V64h448zm-192 96h192v-32H288v32zm0 128h192v-64H288v64zm0 96h192v-32H288v32zm0 64h192v-32H288v32zM96 352h64v-64h64v-64h-64v-64H96v64H32v64h64v64z" />',viewBox:"0 0 512 512"},rn={name:"filter-add-group",content:'<path d="M352 352v32h-32v64h32v32h-64V352h64zm64 0v32h32v64h-32v32h64V352h-64zM160 160H96v64H32v64h64v64h64v-64h64v-64h-64v-64zm128 0h192v-32H288v32zM32 64v32h448V64H32zm256 224h192v-64H288v64z" />',viewBox:"0 0 512 512"},on={name:"login",content:'<path d="M384 480h96V32h-96v448zM32 224v64h128v96l160-128-160-128v96H32z" />',viewBox:"0 0 512 512"},an={name:"logout",content:'<path d="M128 32H32v448h96V32zm64 192v64h128v96l160-128-160-128v96H192z" />',viewBox:"0 0 512 512"},sn={name:"download",content:'<path d="M32 384v96h448v-96H32zM288 32h-64v128h-96l128 160 128-160h-96V32z" />',viewBox:"0 0 512 512"},ln={name:"upload",content:'<path d="M32 384v96h448v-96H32zm192-64h64V192h96L256 32 128 192h96v128z" />',viewBox:"0 0 512 512"},cn={name:"hyperlink-open",content:'<path d="M32 480h448V256h-32v192H64V64h192V32H32v448zM320 32l56.9 56.9.5.5L224 242.7l45.3 45.3 153.3-153.4L480 192V32H320z" />',viewBox:"0 0 512 512"},un={name:"hyperlink-open-sm",content:'<path d="M96 416h320v-96h-32v64H128V128h64V96H96v320zM256 96h160v160l-57.4-57.4L237.3 320 192 274.7l121.4-121.4-.5-.5L256 96z" />',viewBox:"0 0 512 512"},hn={name:"launch",content:'<path d="M96 96v320h96v-32h-64V128h256v64h32V96H96zm320 160v160H256l57.4-57.4L192 237.3l45.3-45.3 121.4 121.4.5-.5L416 256z" />',viewBox:"0 0 512 512"},dn={name:"window",content:'<path d="M96 96v320h320V96H96zm288 288H128V192h256v192z" />',viewBox:"0 0 512 512"},pn={name:"window-restore",content:'<path d="M448 32v288h-32V128H160V32h288zM64 192h288v288H64V192zm32 256h224V288H96v160z" />',viewBox:"0 0 512 512"},fn={name:"window-minimize",content:'<path d="M416 288v64H96v-64h320z" />',viewBox:"0 0 512 512"},mn={name:"gear",content:'<path d="m462.7 317.9-41.5-31.4c1.8-9.9 2.8-20.1 2.8-30.5 0-10.4-1-20.6-2.8-30.5l41.5-31.4c6.4-4.9 8.2-13.8 4.2-20.8L433 114.6c-4-7-12.6-9.9-20.1-6.7l-48 20.2c-15.4-13.2-33.3-23.6-52.8-30.5L305.8 46c-1-8-7.8-14-15.9-14h-67.8c-8.1 0-14.9 6-15.9 14l-6.5 51.6c-19.5 6.9-37.4 17.3-52.8 30.5l-48-20.2c-7.4-3.1-16-.2-20.1 6.7l-33.9 58.7c-4 7-2.2 15.9 4.2 20.8l41.5 31.4C89 235.4 88 245.6 88 256c0 10.4 1 20.6 2.8 30.5l-41.5 31.4c-6.4 4.9-8.2 13.8-4.2 20.8L79 397.4c4 7 12.6 9.9 20.1 6.7l48-20.2c15.4 13.2 33.3 23.6 52.8 30.5l6.5 51.6c1 8 7.8 14 15.9 14h67.8c8.1 0 14.9-6 15.9-14l6.5-51.6c19.5-6.9 37.4-17.3 52.8-30.5l48 20.2c7.4 3.1 16 .2 20.1-6.7l33.9-58.7c3.7-7 1.9-15.9-4.6-20.8zM256 340c-46.4 0-84-37.6-84-84s37.6-84 84-84 84 37.6 84 84-37.6 84-84 84z" />',viewBox:"0 0 512 512"},vn={name:"gears",content:'<path d="m331.9 364.2-29.6-22.4c1.3-7.1 2-14.3 2-21.8 0-7.4-.7-14.7-2-21.8l29.6-22.4c4.6-3.5 5.9-9.8 3-14.8l-24.2-42c-2.9-5-9-7.1-14.3-4.8L262 228.7c-11-9.4-23.8-16.9-37.7-21.8l-4.6-36.9c-.7-5.7-5.6-10-11.3-10H160c-5.8 0-10.6 4.3-11.3 10l-4.6 36.9c-13.9 4.9-26.7 12.4-37.7 21.8l-34.3-14.5c-5.3-2.2-11.5-.2-14.3 4.8l-24.3 42c-2.9 5-1.6 11.3 3 14.8l29.6 22.4c-1.3 7.1-2 14.3-2 21.8 0 7.4.7 14.7 2 21.8l-29.6 22.4c-4.6 3.5-5.9 9.8-3 14.8l24.2 42c2.9 5 9 7.1 14.3 4.8l34.3-14.5c11 9.4 23.8 16.9 37.7 21.8l4.6 36.9c.7 5.7 5.6 10 11.3 10h48.4c5.8 0 10.6-4.3 11.3-10l4.6-36.9c13.9-4.9 26.7-12.4 37.7-21.8l34.3 14.5c5.3 2.2 11.5.2 14.3-4.8l24.2-41.9c3-5 1.8-11.4-2.8-14.9zM184.2 380c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm293.1-225.5L459.4 141c.8-4.2 1.2-8.6 1.2-13 0-4.5-.4-8.8-1.2-13l17.8-13.4c2.7-2.1 3.5-5.9 1.8-8.9l-14.5-25.2c-1.8-3-5.4-4.2-8.6-2.8l-20.6 8.7c-6.7-5.7-14.3-10.1-22.7-13.1L409.9 38c-.4-3.4-3.3-6-6.8-6h-29c-3.4 0-6.4 2.5-6.8 6l-2.7 22.2c-8.3 2.9-16 7.5-22.7 13.1l-20.6-8.7c-3.2-1.4-6.9-.1-8.6 2.8l-14.5 25.2c-1.8 3-1 6.9 1.8 8.9l17.8 13.4c-.8 4.2-1.2 8.6-1.2 13 0 4.5.4 8.8 1.2 13L300 154.5c-2.7 2.1-3.5 5.9-1.8 8.9l14.5 25.2c1.8 3 5.4 4.2 8.6 2.8l20.6-8.7c6.7 5.7 14.3 10.1 22.7 13.1l2.7 22.2c.4 3.4 3.3 6 6.8 6h29c3.4 0 6.4-2.5 6.8-6l2.7-22.2c8.3-2.9 16-7.5 22.7-13.1l20.6 8.7c3.2 1.4 6.9.1 8.6-2.8l14.5-25.2c1.8-3 1-6.9-1.7-8.9zm-88.7 9.5c-19.9 0-36.1-16.2-36.1-36.1s16.2-36.1 36.1-36.1c19.9 0 36.1 16.2 36.1 36.1-.1 19.9-16.1 36.1-36.1 36.1z" />',viewBox:"0 0 512 512"},gn={name:"wrench",content:'<path d="M470.7 402.7 306 238.1c9-18.8 14-39.8 14-62.1 0-79.5-64.5-144-144-144-22.2 0-43.3 5-62.1 14l76.4 76.4c12.4 12.4 12.4 32.8 0 45.3l-22.6 22.6c-12.4 12.4-32.8 12.4-45.3 0L46 113.9c-9 18.8-14 39.9-14 62.1 0 79.5 64.5 144 144 144 22.3 0 43.4-5.1 62.2-14.1l164.7 164.7c12.3 12.5 32.7 12.5 45.1.1l22.7-22.7c12.4-12.4 12.4-32.8 0-45.3zM448 425.5 425.4 448 265.8 288.5c8.3-6.7 15.9-14.3 22.6-22.6L448 425.5z" />',viewBox:"0 0 512 512"},bn={name:"eye",content:'<path d="M256 128c-94.8 0-179.8 51.5-224 128 44.3 76.5 129.3 128 224 128s179.8-51.5 224-128c-44.2-76.5-129.2-128-224-128zm-32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM69.8 256c18.4-26.4 44.8-48.7 72.6-65.1 12.2-7.2 25.1-13.2 38.4-17.9-22.6 20.5-36.8 50.1-36.8 83s14.2 62.5 36.8 83c-13.3-4.7-26.2-10.7-38.4-17.9-27.8-16.4-54.2-38.7-72.6-65.1zm299.8 65.1c-12.2 7.2-25.1 13.2-38.4 17.9 22.6-20.5 36.8-50.1 36.8-83s-14.2-62.5-36.8-83c13.3 4.7 26.2 10.7 38.4 17.9 27.8 16.4 54.2 38.7 72.6 65.1-18.5 26.4-44.8 48.7-72.6 65.1z" />',viewBox:"0 0 512 512"},yn={name:"search",content:'<path d="M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3L365.3 320zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192z" />',viewBox:"0 0 512 512"},wn={name:"zoom-in",content:'<path d="M288 224h-64v64h-64v-64H96v-64h64V96h64v64h64v64zm192 210.7L434.7 480 320 365.3v-22.7l-26.7-26.7C265.7 338.5 230.4 352 192 352c-88.4 0-160-71.6-160-160S103.6 32 192 32s160 71.6 160 160c0 38.4-13.5 73.7-36.1 101.3l26.7 26.7h22.7L480 434.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128z" />',viewBox:"0 0 512 512"},xn={name:"zoom-out",content:'<path d="M288 224H96v-64h192v64zm192 210.7L434.7 480 320 365.3v-22.7l-26.7-26.7C265.7 338.5 230.4 352 192 352c-88.4 0-160-71.6-160-160S103.6 32 192 32s160 71.6 160 160c0 38.4-13.5 73.7-36.1 101.3l26.7 26.7h22.7L480 434.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128z" />',viewBox:"0 0 512 512"},kn={name:"arrows-move",content:'<path d="M384 320v-32h-96v96h32l-64 96-64-96h32v-96h-96v32l-96-64 96-64v32h96v-96h-32l64-96 64 96h-32v96h96v-32l96 64-96 64z" />',viewBox:"0 0 512 512"},zn={name:"calculator",content:'<path d="M64 64v384h384V64H64zm96 352H96v-64h64v64zm0-96H96v-64h64v64zm96 96h-64v-64h64v64zm0-96h-64v-64h64v64zm160 96h-96V256h96v160zm0-224H96V96h320v96z" />',viewBox:"0 0 512 512"},Cn={name:"cart",content:'<path d="M192 368c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm144-48c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM128 96V64H32v32h64v192h288v-32H128V96zm32 128h256v-32H160v32zm0-96v32h288v-32H160z" />',viewBox:"0 0 512 512"},_n={name:"connector",content:'<path d="M416 112c0 26.51-21.49 48-48 48-20.898 0-38.667-13.359-45.258-32H256v288h-98.742c-6.591 18.641-24.36 32-45.258 32-26.51 0-48-21.49-48-48s21.49-48 48-48c20.898 0 38.667 13.359 45.258 32H224V96h98.742c6.591-18.641 24.36-32 45.258-32 26.51 0 48 21.49 48 48z" />',viewBox:"0 0 512 512"},In={name:"plus-sm",content:'<path d="M352 224v64h-64v64h-64v-64h-64v-64h64v-64h64v64h64z" />',viewBox:"0 0 512 512"},En={name:"minus-sm",content:'<path d="M352 224v64H160v-64h192z" />',viewBox:"0 0 512 512"},Sn={name:"kpi-status-deny",content:'<path d="M480 256 256 480 32 256 256 32l224 224z" />',viewBox:"0 0 512 512"},Mn={name:"kpi-status-hold",content:'<path d="M256 64 32 448h448L256 64z" />',viewBox:"0 0 512 512"},On={name:"kpi-status-open",content:'<path d="M480 256c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224z" />',viewBox:"0 0 512 512"},Rn={name:"equal",content:'<path d="M96 288h320v64H96v-64zm0-128v64h320v-64H96z" />',viewBox:"0 0 512 512"},Hn={name:"not-equal",content:'<path d="m290.7 224-37.3 64H416v64H216l-56 96h-48l56-96H96v-64h109.3l37.3-64H96v-64h184l56-96h48l-56 96h88v64H290.7z" />',viewBox:"0 0 512 512"},Fn={name:"less-or-equal",content:'<path d="m318.1 352-160-160 160-160L352 65.9 225.9 192 352 318.1 318.1 352zM128 416v32h256v-32H128z" />',viewBox:"0 0 512 512"},Vn={name:"greater-or-equal",content:'<path d="M160 318.1 286.1 192 160 65.9 193.9 32l160 160-160 160-33.9-33.9zM128 416v32h256v-32H128z" />',viewBox:"0 0 512 512"},Dn={name:"divide",content:'<path d="M416 64 192 448h-64L352 64h64z" />',viewBox:"0 0 512 512"},Bn={name:"accessibility",content:'<path d="M208 48c0-26.5 21.5-48 48-48s48 21.5 48 48-21.5 48-48 48-48-21.5-48-48zm240 112v-32H64v32l128 16v80l-32 224h48l32-160h32l32 160h48l-32-224v-80l128-16z" />',viewBox:"0 0 512 512"},An={name:"barcode-outline",content:'<path d="M96 384H64V128h32v256zm96-256h-64v224h64V128zm64 0h-32v224h32V128zm64 0h-32v224h32V128zm64 0h-32v224h32V128zm64 0h-32v256h32V128zm64-32v320c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h448c17.7 0 32 14.3 32 32zm-32 0H32v320h448V96z" />',viewBox:"0 0 512 512"},Nn={name:"barcode",content:'<path d="M480 64H32C14.3 64 0 78.3 0 96v320c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM96 384H64V128h32v256zm96-32h-64V128h64v224zm64 0h-32V128h32v224zm64 0h-32V128h32v224zm64 0h-32V128h32v224zm64 32h-32V128h32v256z" />',viewBox:"0 0 512 512"},Ln={name:"barcode-scanner",content:'<path d="M32 96H0V0h96v32H32v64zm0 288H0v96h96v-32H32v-64zM416 0v32h64v64h32V0h-96zm64 448h-64v32h96v-96h-32v64zm-192-32h32V288h-32v128zm32-352h-32v128h32V64zm-64 0h-32v128h32V64zM128 416h64V288h-64v128zm-64 0h32V288H64v128zM192 64h-64v128h64V64zm32 352h32V288h-32v128zM64 64v128h32V64H64zm384 0h-32v128h32V64zm0 352V288h-32v128h32zm-96 0h32V288h-32v128zm32-352h-32v128h32V64zm96 160H32v32h448v-32z" />',viewBox:"0 0 512 512"},Pn={name:"qr-code-outline",content:'<path d="M192 224v32h-32v-32h32zm-64 64h32v-32h-32v32zm-32-64v32h32v-32H96zm-32 64h32v-32H64v32zm128 0h32v-32h-32v32zm64-64h-32v32h32v-32zm32-32h-32v32h32v-32zm-64-32v32h32v-32h-32zm64-32h-32v32h32v-32zm-64-32v32h32V96h-32zm64-32h-32v32h32V64zm32 192v-32h-32v32h32zm-96 32v32h32v-32h-32zm64-32h-32v32h32v-32zm0 64h-32v32h32v-32zm-64 32v32h32v-32h-32zm32 32v32h32v-32h-32zm-32 64h32v-32h-32v32zm64-96v32h32v-32h-32zm32-32v-32h-32v32h32zm32-32v-32h-32v32h32zm32-64h-32v32h32v-32zm32 64v-32h-32v32h32zm32-64h-32v32h32v-32zm-64 96v-32h-32v32h32zm-32 32v-32h-32v32h32zm0 32h32v-32h-32v32zm32-32h32v-32h-32v32zm64-32v-32h-32v32h32zm-128 64v32h32v-32h-32zm-32 64h32v-32h-32v32zm64 0h32v-32h-32v32zm32-32h32v-32h-32v32zm64-32v-32h-32v32h32zm0 64v-32h-32v32h32zM512 0v512H0V0h512zm-32 32H32v448h448V32zm-32 160H320V64h128v128zm-32-32-.5-64H352v64h64zm-224 32H64V64h128v128zm-32-32-.5-64H96v64h64zm32 288H64V320h128v128zm-32-32-.5-64H96v64h64z" />',viewBox:"0 0 512 512"},Tn={name:"qr-code",content:'<path d="M320 0v192h192V0H320zm160 160H352V32h128v128zm-32-32h-64V64h64v64zM0 0v192h192V0H0zm160 160H32V32h128v128zm-32-32H64V64h64v64zM0 320v192h192V320H0zm160 160H32V352h128v128zm-32-32H64v-64h64v64zm32-224h32v32h-32v-32zm0 64h-32v-32h32v32zm-64-64h32v32H96v-32zm-32 32H32v-32h32v32zm32 32H64v-32h32v32zm128 0h-32v-32h32v32zm32-32h-32v-32h32v32zm0-64h32v32h-32v-32zm0 0h-32v-32h32v32zm0-64h32v32h-32v-32zm0 0h-32V96h32v32zm0-64h32v32h-32V64zm0 0h-32V32h32v32zm64 192h-32v-32h32v32zm-96 32h32v32h-32v-32zm64 0h-32v-32h32v32zm0 64h-32v-32h32v32zm-32 32h-32v-32h32v32zm0 0h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h32v32h-32v-32zm64 0h-32v-32h32v32zm32 32h-32v-32h32v32zm32-32h-32v-32h32v32zm-96 32h32v32h-32v-32zm0 64h-32v-32h32v32zm0 0h32v32h-32v-32zm32-32h32v32h-32v-32zm32-32h32v32h-32v-32zm-96 96h32v32h-32v-32zm0 64h-32v-32h32v32zm-32 32h-32v-32h32v32zm192-192h-32v-32h32v32zM352 416h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm32-96h32v32h-32v-32zm0 64h-32v-32h32v32zm-32 32h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm0 64h-32v-32h32v32zm32-32h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zM256 512h-32v-32h32v32zm64 0h-32v-32h32v32zm32-32h32v32h-32v-32zm64 0h32v32h-32v-32zm96 32h-32v-32h32v32z" />',viewBox:"0 0 512 512"},jn={name:"qr-code-scanner",content:'<path d="M512 0v96h-32V32h-64V0h96zm-32 448h-64v32h96v-96h-32v64zM64 64h128v128H64V64zm32 96h64V96H96v64zM32 32h64V0H0v96h32V32zm0 224h448v-32H32v32zm0 128H0v96h96v-32H32v-64zM288 96h-32v32h32V96zm-64-32v32h32V64h-32zm224 128H320V64h128v128zm-32-96h-64v64h64V96zm-128 96v-32h-32v32h32zm-32-64h-32v32h32v-32zM64 288h128v128H64V288zm32 96h64v-64H96v64zm192-64h-32v32h32v-32zm-64-32v32h32v-32h-32zm32 128h32v-32h-32v32zm-32-64v32h32v-32h-32zm96-64h-32v32h32v-32zm-32 64v32h32v-32h-32zm64 0v-32h-32v32h32zm-32 64h32v-32h-32v32zm64-128h-32v32h32v-32zm-32 64v32h32v-32h-32zm64 0v-32h-32v32h32zm0 64v-32h-32v32h32zm32-128h-32v32h32v-32zm0 96v-32h-32v32h32z" />',viewBox:"0 0 512 512"},Un={name:"barcode-qr-code-scanner",content:'<path d="M256 288h32v128h-32V288zm64 128h64V288h-64v128zm128 0V288h-32v128h32zM32 32h64V0H0v96h32V32zm0 352H0v96h96v-32H32v-64zM416 0v32h64v64h32V0h-96zm64 448h-64v32h96v-96h-32v64zm0-224H32v32h448v-32zM288 64h-32v128h32V64zm96 0h-64v128h64V64zm64 0h-32v128h32V64zM64 64h96v96H64V64zm32 64h32V96H96v32zm128 32h-32v32h32v-32zm0-96h-32v64h32V64zM64 320h96v96H64v-96zm32 64h32v-32H96v32zm96 0v32h32v-64h-32v32zm0-64h32v-32h-32v32z" />',viewBox:"0 0 512 512"},Kn={name:"signature",content:'<path d="M32 448h448v32H32v-32zM448 32H288v64h160V32zm-96 340.9L256 224l32-96h160l32 96-96 148.9V416h-32v-43.1zm0-59.1V256h32v57.8l60.8-94.3-19.9-59.5H311.1l-19.9 59.6 60.8 94.2zM78.8 377.3c8.7-10.3 23.9-25.6 37.2-17.3 14.9 9.3 25.1 42.1 56.9 43.8 27.2-.6 18.9-34.6 36.7-33.2 16.6 0 19.5 47.8 46.5 47.9 25.7.1 37.4-14.5 37.3-28 .1-29-62.5-87.7-85.4-98-21.4-9.6-34-2.3-39.7 6-5.3 7.9 9.3 34.5-13.7 41.2-17.3 1.5-29.2-33.2-62.1-33.2S77 354.1 32 352c13.1 6 32.8 42 46.8 25.3z" />',viewBox:"0 0 512 512"},Wn={name:"hand",content:'<path d="M442.5 130.7c-15.5-6.7-33.7-.2-41.4 15.1-8.2 21.3-23.3 79.9-25.8 87.6-2.1 6.5-5 12-11.3 9.7-4.7-1.7-3.5-7.2-2.4-12.6l2.7-17 18.1-112.4c2.8-17.4-9-33.8-26.5-36.6-17.4-2.8-33.8 9-36.6 26.5L304 197.9s-2.1 14.1-3 18.7c-1 5.2-1.4 12.3-7.7 11.9-5-.3-5.3-3.8-5.3-7.3V64c0-17.6-14.2-31.9-31.8-32h.1-.3c-17.7 0-32 14.3-32 32v.4c0 1.1.9 140.6.6 149.7-.2 5.4-.7 9.5-6.8 10.3-7.8 1.1-8.6-8-8.6-8l-3.1-20.9v.7L190 90.8v.1c-2.6-17.5-18.9-29.5-36.2-26.9-17.5 2.6-29.5 18.9-26.9 36.2 0 .1 0 .2.1.3l24.8 165.3 2.4 15.9c.5 3.2-.7 6.6-3.3 8.6l-.1.1c-4.1 3.1-10 2.5-13.5-1.4l-12.2-13.2-37.3-41-.1-.1c-11.9-13-32.1-14-45.3-2.1-13 11.9-14 32.1-2.1 45.2l55.7 61s34.1 49 62.5 88.4c28.3 39.3 72.3 52.4 129.5 52.4s113.9-21.8 126.9-95.4c13.7-78.5 6.5-107.9 23.7-150.4 11.6-28.9 15.1-45.8 21.1-63.2 5.4-15.6-1.9-33.3-17.2-39.9z" />',viewBox:"0 0 512 512"},qn={name:"pointer",content:'<path d="m285.5 326.1 43.9 124.4-83.5 29.5-43.8-124.2L128 416V32l256 288-98.5 6.1z" />',viewBox:"0 0 512 512"},$n={name:"stick",content:'<path d="M192 96c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v32h128V96zm128 160c0 35.3-28.7 64-64 64s-64-28.7-64-64v-96H64v96c0 106 86 192 192 192s192-86 192-192v-96H320v96zm96-192h-64c-17.7 0-32 14.3-32 32v32h128V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},Gn={name:"unstick",content:'<path d="M290.6 131.4c12.4-12.4 12.4-32.6 0-45l-45-45c-12.4-12.4-32.6-12.4-45 0L178 63.8l90.1 90 22.5-22.4zM268.1 334c-24.9 24.9-65.2 24.9-90.1 0s-24.9-65.2 0-90.1l67.5-67.5-90-90.1L88 153.9C13.4 228.5 13.4 349.4 88 424s195.5 74.6 270.1 0l67.5-67.5-90-90.1-67.5 67.6zm202.6-67.5-45-45c-12.4-12.4-32.6-12.4-45 0L358.2 244l90 90 22.5-22.5c12.4-12.4 12.4-32.6 0-45z" />',viewBox:"0 0 512 512"},Yn={name:"set-column-position",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM192 416H96V96h96v320zm224 0H224v-32h192v32zm0-64H224v-64h192v64zm0-96H224v-64h192v64zm0-96H224V96h192v64z" />',viewBox:"0 0 512 512"},Xn={name:"clock-arrow-rotate",content:'<path d="M256 32C132.3 32 32 132.3 32 256h32c0-105.9 86.1-192 192-192s192 86.1 192 192-86.1 192-192 192c-57 0-108.3-25-143.5-64.5L176 320H32v144l57.8-57.8C130.8 451.5 190 480 256 480c123.7 0 224-100.3 224-224S379.7 32 256 32Zm-32 96v160h160v-32H256V128h-32Z" />',viewBox:"0 0 512 512"},Zn={name:"play",content:'<path d="M0 512V0l512 256L0 512z" />',viewBox:"0 0 512 512"},Jn={name:"pause",content:'<path d="M320 0h160v512H320V0zM32 512h160V0H32v512z" />',viewBox:"0 0 512 512"},Qn={name:"stop",content:'<path d="M512 512H0V0h512v512z" />',viewBox:"0 0 512 512"},er={name:"rewind",content:'<path d="M256 256 512 96v320L256 256zm0 160V96L0 256l256 160z" />',viewBox:"0 0 512 512"},tr={name:"forward",content:'<path d="M0 416V96l256 160L0 416zm512-160L256 96v320l256-160z" />',viewBox:"0 0 512 512"},nr={name:"volume-down",content:'<path d="M0 352h96l128 128V32L96 160H0v192zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124z" />',viewBox:"0 0 512 512"},rr={name:"volume-up",content:'<path d="M0 352h96l128 128V32L96 160H0v192zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124zm0-380v44.8c45.2 0 88.3 20.8 121.2 58.4C444.6 143.6 464 197.8 464 256s-19.4 112.4-54.8 152.8c-33 37.7-76 58.4-121.2 58.4V512c123.7 0 224-114.6 224-256S411.7 0 288 0z" />',viewBox:"0 0 512 512"},or={name:"volume-mute",content:'<path d="M96 160 224 32v448L96 352H0V160h96zm416 29.3L466.7 144 400 210.7 333.2 144 288 189.3l66.7 66.7-66.7 66.7 45.3 45.3 66.7-66.7 66.7 66.7 45.3-45.3-66.8-66.7 66.8-66.7z" />',viewBox:"0 0 512 512"},ir={name:"hd",content:'<path d="M480 64H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h448c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zM256 384h-64v-96h-64v96H64V128h64v96h64v-96h64v256zm210.3-68.9c-5.1 16.2-11.8 29.4-19.8 39.1-8.2 9.8-18.2 17.4-29.8 22.4-11.5 4.9-26.3 7.4-43.9 7.4H288V128h82.6c20.3 0 35.4 2.2 46.1 6.8 10.7 4.6 20.6 12.2 29.5 22.8 8.7 10.5 15.7 24.1 20.6 40.6 4.8 16.2 7.3 36.5 7.3 60.3-.1 21.5-2.7 40.6-7.8 56.6zm-54.2-94.2c2.6 8.5 3.9 20.5 3.9 35.6 0 14.5-1.3 26.3-3.9 35.1-2.5 8.4-5.5 14.4-8.9 18-3.3 3.5-7.5 6-12.8 7.7-3.8 1.2-11.8 2.7-28.3 2.7H336V192h12.9c21.4 0 30.6.9 34.5 1.7 6.9 1.4 12.6 4.1 17.5 8.4 4.9 4.5 8.7 10.8 11.2 18.8z" />',viewBox:"0 0 512 512"},ar={name:"closed-captions",content:'<path d="M480 64H32S0 64 0 96v320c0 32 32 32 32 32h448c32 0 32-32 32-32V96s0-32-32-32zM240 205c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5-18 0-32.2 5.8-42.6 17.4-10.4 11.6-15.6 27.4-15.6 47.3 0 19.8 5.2 35.4 15.6 46.9 10.4 11.5 24.3 17.2 41.7 17.2 16.1 0 32.3-4.6 47.6-13.8V373c-17.2 7.4-38.2 11-62.1 11-23.4 0-43.6-5-60.6-15.1s-29.9-24.4-38.9-43-13.4-40-13.4-64.3c0-26.1 5-49.4 15-69.7 10-20.4 24.2-36.1 42.5-47.2s39.4-16.7 63.2-16.7c19 0 37.4 2.6 55.3 7.8V205zm208 0c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5-18 0-32.2 5.8-42.6 17.4-10.4 11.6-15.6 27.4-15.6 47.3 0 19.8 5.2 35.4 15.6 46.9s24.3 17.2 41.7 17.2c16.1 0 32.3-4.6 47.6-13.8V373c-17.2 7.4-38.2 11-62.1 11-23.4 0-43.6-5-60.6-15.1s-29.9-24.4-38.9-43-13.4-40-13.4-64.3c0-26.1 5-49.4 15-69.7 10-20.4 24.2-36.1 42.5-47.2s39.4-16.7 63.2-16.7c19 0 37.4 2.6 55.3 7.8V205z" />',viewBox:"0 0 512 512"},sr={name:"playlist",content:'<path d="M0 256h320v64H0v-64zM512 64H0V0h512v64zm-128 64.8V397c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V193h96v-65l-128 .8zM0 128v64h320v-64H0z" />',viewBox:"0 0 512 512"},lr={name:"music-notes",content:'<path d="M160 170v-64m0-.2v259c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V162.5l256-59.1v165.4c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V32l-320 73.8z" />',viewBox:"0 0 512 512"},cr={name:"play-sm",content:'<path d="M96 416V96l320 160L96 416z" />',viewBox:"0 0 512 512"},ur={name:"pause-sm",content:'<path d="M288 96h96v320h-96V96zM96 416h96V96H96v320z" />',viewBox:"0 0 512 512"},hr={name:"stop-sm",content:'<path d="M416 416H96V96h320v320z" />',viewBox:"0 0 512 512"},dr={name:"heart-outline",content:'<path d="M447.2 96.8c-43.7-43.7-114.7-43.7-158.4 0L256 129.6l-32.8-32.8c-43.7-43.7-114.7-43.7-158.4 0s-43.7 116.3 0 160l32.8 32.8L256 448l158.4-158.4 32.8-32.8c43.7-43.7 43.7-116.3 0-160zm-22.6 137.4L256 402.7 87.4 234.2C72.3 219.1 64 198.7 64 176.8s8.3-42.3 23.4-57.4C102.5 104.3 122.6 96 144 96s41.5 8.3 56.6 23.4l55.4 55.4 55.4-55.4C326.5 104.3 346.6 96 368 96s41.5 8.3 56.6 23.4c15.1 15.1 23.4 35.5 23.4 57.4s-8.3 42.3-23.4 57.4z" />',viewBox:"0 0 512 512"},pr={name:"heart",content:'<path d="m447.2 256.8-32.8 32.8L256 448 97.6 289.6l-32.8-32.8c-43.7-43.7-43.7-116.3 0-160s114.7-43.7 158.4 0l32.8 32.8 32.8-32.8c43.7-43.7 114.7-43.7 158.4 0s43.7 116.3 0 160z" />',viewBox:"0 0 512 512"},fr={name:"star-outline",content:'<path d="M480 202.4 319.1 188 256 32l-63.1 156L32 202.4l122 111.7L117.2 480 256 391.5 394.8 480 358 314.1l122-111.7zM256 353.6l-90.8 57.9 24-108.5-82.1-75.2 108.1-9.7L256 117.3l40.8 100.8 108.1 9.7-82.1 75.2 24.1 108.5-90.9-57.9z" />',viewBox:"0 0 512 512"},mr={name:"star",content:'<path d="M256 391.5 117.2 480 154 314.1 32 202.4 192.9 188 256 32l63.1 156L480 202.4 358 314.1 394.8 480 256 391.5z" />',viewBox:"0 0 512 512"},vr={name:"checkbox",content:'<path d="M64 64v384h384V64H64zm352 352H96V96h320v320z" />',viewBox:"0 0 512 512"},gr={name:"checkbox-checked",content:'<path d="M64 64v384h384V64H64zm352 352H96V96h320v320zm-77.3-269.3L384 192 224 352l-96-96 45.3-45.3 50.7 50.7 114.7-114.7z" />',viewBox:"0 0 512 512"},br={name:"checkbox-indeterminate",content:'<path d="M128 128h256v256H128V128zM64 64v384h384V64H64zm352 352H96V96h320v320z" />',viewBox:"0 0 512 512"},yr={name:"checkbox-null",content:'<path d="M192 64h128v32H192V64zm224 0h-64v32h64v64h32V64h-32zm0 256h32V192h-32v128zm0 96h-64v32h96v-96h-32v64zm-224 32h128v-32H192v32zm-96-96H64v96h96v-32H96v-64zm0-160H64v128h32V192zM64 64v96h32V96h64V64H64z" />',viewBox:"0 0 512 512"},wr={name:"circle",content:'<path d="M384 256c0 70.7-57.3 128-128 128s-128-57.3-128-128 57.3-128 128-128 128 57.3 128 128z" />',viewBox:"0 0 512 512"},xr={name:"radiobutton",content:'<path d="M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160z" />',viewBox:"0 0 512 512"},kr={name:"radiobutton-checked",content:'<path d="M351.6 255.3c0 53.2-43.1 96.4-96.4 96.4s-96.4-43.1-96.4-96.4 43.1-96.4 96.4-96.4 96.4 43.2 96.4 96.4zM256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160z" />',viewBox:"0 0 512 512"},zr={name:"bell",content:'<path d="M192 416h128c0 35.3-28.7 64-64 64s-64-28.7-64-64zm160-256c0-42-26.9-77.6-64.4-90.7.3-1.7.4-3.5.4-5.3 0-17.7-14.3-32-32-32s-32 14.3-32 32c0 1.8.2 3.6.4 5.3C186.9 82.4 160 118 160 160c0 88.4-43 160-96 160v64h384v-64c-53 0-96-71.6-96-160z" />',viewBox:"0 0 512 512"},Cr={name:"info-circle",content:'<path d="M288 352h32v32H192v-32h32v-96h-32v-32h96v128zm0-224h-64v64h64v-64zm192 128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},_r={name:"question-circle",content:'<path d="M352 192c0 45.2-23.4 65.9-40.6 81-15.1 13.3-23.4 20.7-23.4 47h-64c0-55.2 27.1-79.2 45.1-95 13.8-12.1 18.9-16.7 18.9-33 0-17.6-14.4-32-32-32s-32 14.4-32 32h-64c0-53 43-96 96-96s96 43 96 96zM224 416h64v-64h-64v64zm256-160c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},Ir={name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},Er={name:"camera",content:'<path d="M448 128h-64l-64-64H192l-64 64H64c-17.6 0-32 14.4-32 32v288c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V160c0-17.6-14.4-32-32-32zM256 416c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112zm64-112c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64z" />',viewBox:"0 0 512 512"},Sr={name:"image",content:'<path d="M304 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm144-96H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zm-.1 272-64-64-80 80L176 224 64 336V96.1l.1-.1h383.8l.1.1-.1 239.9z" />',viewBox:"0 0 512 512"},Mr={name:"image-export",content:'<path d="M384 384v-79.9l-32-32-80 80-128-128-112 112v-240l.1-.1h383.8l.1.1-.1 223.9H448V96c0-17.6-14.4-32-32-32H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h256v-64h96zM272 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm48 288h96v64l96-80-96-80v64h-96v32z" />',viewBox:"0 0 512 512"},Or={name:"zoom-actual-size",content:'<path d="M0 32v128L128 32H0zm384 0 128 128V32H384zm-260.6 96c-15.1 0-27.4 12.3-27.4 27.4v201.2c0 15.1 12.3 27.4 27.4 27.4h265.2c15.1 0 27.4-12.3 27.4-27.4V155.4c0-15.1-12.3-27.4-27.4-27.4H123.4zM384 160v160l-48-64-48 64-80-96-80 96V160h256zm-96 32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM0 352v128h128L0 352zm512 0L384 480h128V352z" />',viewBox:"0 0 512 512"},Rr={name:"zoom-best-fit",content:'<path d="M388.6 128H123.4c-15.1 0-27.4 12.3-27.4 27.4v201.2c0 15.1 12.3 27.4 27.4 27.4h265.2c15.1 0 27.4-12.3 27.4-27.4V155.4c0-15.1-12.3-27.4-27.4-27.4zM384 320l-48-64-48 64-80-96-80 96V160h256v160zM0 160l96 96-96 96V160zm160 320 96-96 96 96H160zM352 32l-96 96-96-96h192zm160 128v192l-96-96 96-96zm-256 64c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32z" />',viewBox:"0 0 512 512"},Hr={name:"image-resize",content:'<path d="M427.3 404.7 352 329.4V32H32v320h297.4l75.3 75.3L352 480h128V352l-52.7 52.7zM64 320V64h256v233.4L203.3 180.7 256 128H128v128l52.7-52.7L297.4 320H64z" />',viewBox:"0 0 512 512"},Fr={name:"crop",content:'<path d="M0 96h64v64H0V96zm448 256v64h64v-64h-64zm-32-224c0-17.6-14.4-32-32-32H192v64h160v320h64V128zM96 384c0 17.6 14.4 32 32 32h192v-64H160V32H96v352z" />',viewBox:"0 0 512 512"},Vr={name:"mirror",content:'<path d="M192 64H32v384h160V64zm-31 352s0 .1 0 0l-96.9.1-.1-.1V96.1l.1-.1H160v320h1zm95 64h-32V32h32v448zm32-416h160v384H288V64z" />',viewBox:"0 0 512 512"},Dr={name:"flip-horizontal",content:'<path d="M448 448H288V64l160 384zm-384 0L224 64v384H64zm128-224-80 192h80V224z" />',viewBox:"0 0 512 512"},Br={name:"flip-vertical",content:'<path d="M64 288h384L64 448V288zm0-224v160h384L64 64zm32 128v-80l192 80H96z" />',viewBox:"0 0 512 512"},Ar={name:"rotate",content:'<path d="M256 448c8.2 0 16.2-.6 24-1.8v32.3c-7.9 1-15.9 1.5-24 1.5s-16.1-.5-24-1.5v-32.3c7.8 1.2 15.8 1.8 24 1.8zm-116-7c12.7 9.7 26.6 17.8 41.5 24l16.2-28c-15.1-5.9-29.1-14.1-41.5-24.1L140 441zm-61-78.5c6.3 14.9 14.4 28.8 24 41.5l28-16.2c-10-12.5-18.1-26.4-24.1-41.5L79 362.5zM256 128v64l128-80-128-80v64c-8.1 0-16.1.5-24 1.5-17.7 2.2-34.6 6.8-50.5 13.5-14.9 6.3-28.8 14.4-41.5 24-14 10.6-26.4 23-37 37-9.7 12.7-17.8 26.6-24 41.5-6.7 15.9-11.3 32.8-13.5 50.5-1 7.9-1.5 15.9-1.5 24s.5 16.1 1.5 24h32.3c-1.2-7.8-1.8-15.8-1.8-24s.6-16.2 1.8-24c1.8-11.9 4.9-23.4 9.2-34.3 5.9-15.1 14.1-29.1 24.1-41.5 7.4-9.3 15.8-17.7 25.1-25.1 12.5-10 26.4-18.1 41.5-24.1 10.9-4.3 22.4-7.4 34.3-9.2 7.8-1.2 15.8-1.8 24-1.8zm190.5 136h-32.3c1.2 7.8 1.8 15.8 1.8 24s-.6 16.2-1.8 24h32.3c1-7.9 1.5-15.9 1.5-24s-.5-16.1-1.5-24zm-65.6 123.8 28 16.2c9.7-12.7 17.8-26.6 24-41.5l-28-16.2c-5.8 15.1-14 29.1-24 41.5zM314.3 437l16.2 28c14.9-6.3 28.8-14.4 41.5-24l-16.2-28c-12.4 9.9-26.4 18.1-41.5 24z" />',viewBox:"0 0 512 512"},Nr={name:"rotate-right",content:'<path d="M320 448V64l160 384H320zm-32 0H32l256-160v160zm-32-102.3L143.6 416H256v-70.3zM64 160v128h32v-96h96v64l96-80-96-80v64H64z" />',viewBox:"0 0 512 512"},Lr={name:"rotate-left",content:'<path d="M32 448 192 64v384H32zm192-160 256 160H224V288zm32 128h112.4L256 345.7V416zm64-256V96l-96 80 96 80v-64h96v96h32V160H320z" />',viewBox:"0 0 512 512"},Pr={name:"brush",content:'<path d="M32 480s46.4-5.6 96-16c22.3-4.7 46.9-14 70.7-37.7 56.9-56.9.2-112.9.2-112.9s-56.7-56.9-113.3-.2c-23.4 23.4-20.1 57.1-19.7 89.8.8 59.7-33.9 77-33.9 77zM470.7 64 448 41.3c-12.4-12.4-32.8-12.4-45.3 0L204.3 239.8c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l.8.8.8.8c2.1 2.1 5.6 5.9 9.7 11.1 5.4 6.8 11.8 16.2 17.6 27.6l23.5-23.5 174.9-174.9c12.5-12.3 12.5-32.7.1-45.1zM448 86.6 277.4 257.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L425.4 64h.1L448 86.6z" />',viewBox:"0 0 512 512"},Tr={name:"palette",content:'<path d="m206 256.6 160-160c-2.2-5.7-4.8-11.1-7.9-16.3-24.2-40.8-60.1-66-107.8-75.9-2.3-.5-4.7-1-7.1-1.4C192-5.8 143.1 4.8 96.5 34.6 49.3 64.7 19.2 107.2 6.1 162c-13 54.8-5.2 106.4 23.4 154.6 14.2 23.8 31.3 43.2 51.4 58.4 3.8-25.2 13.4-52 36.4-75 31.3-31.4 64-41.3 88.7-43.4zM288 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-96-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm0-128c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm438.7 12.9L480 118.3c-12.4-12.4-32.8-12.4-45.3 0L281.1 271.9c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l11.3 12.7c5.4 6.8 11.8 16.2 17.6 27.6l153.5-153.5c12.6-12.4 12.6-32.8.2-45.2zM354.3 289.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L457.4 141h.1l22.5 22.5-125.7 125.8zm-78.7 169c-23.8 23.7-48.4 33-70.7 37.7-49.6 10.4-96 16-96 16s34.7-17.3 33.9-77c-.4-32.7-3.7-66.4 19.7-89.8 56.6-56.7 113.3.2 113.3.2s56.7 56-.2 112.9z" />',viewBox:"0 0 512 512"},jr={name:"droplet",content:'<path d="M256 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S96 404.8 96 312C96 181.3 256 32 256 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136z" />',viewBox:"0 0 512 512"},Ur={name:"shape-line",content:'<path d="M480 54.6 54.6 480 32 457.4 457.4 32 480 54.6z" />',viewBox:"0 0 512 512"},Kr={name:"brightness-contrast",content:'<path d="M165.5 346.5c12.4 12.5 12.4 32.9 0 45.3l-22.6 22.6c-12.5 12.4-32.8 12.4-45.3 0-12.4-12.5-12.4-32.9 0-45.3l22.6-22.6c12.5-12.4 32.9-12.4 45.3 0zM256 128c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v32c0 17.6 14.4 32 32 32zm135.8 37.5 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6c-12.4 12.4-12.4 32.8 0 45.3 12.5 12.4 32.8 12.4 45.3 0zm-271.6 0c12.4 12.4 32.8 12.4 45.3 0 12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0-12.4 12.5-12.4 32.8 0 45.3l22.6 22.6zM128 256c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32s14.4 32 32 32h32c17.6 0 32-14.4 32-32zm263.8 90.5c-12.4-12.4-32.8-12.4-45.3 0-12.4 12.5-12.4 32.8 0 45.3l22.6 22.6c12.4 12.4 32.8 12.4 45.3 0 12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6zM448 224h-32c-17.6 0-32 14.4-32 32s14.4 32 32 32h32c17.6 0 32-14.4 32-32s-14.4-32-32-32zm-96 32c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96zm-32 0c0-35.3-28.7-64-64-64v128c35.3 0 64-28.7 64-64zm-64 128c-17.6 0-32 14.4-32 32v32c0 17.6 14.4 32 32 32s32-14.4 32-32v-32c0-17.6-14.4-32-32-32z" />',viewBox:"0 0 512 512"},Wr={name:"sliders",content:'<path d="M480 96v32H285.3c-6.6 18.6-24.4 32-45.3 32s-38.7-13.4-45.3-32H32V96h162.7c6.6-18.6 24.4-32 45.3-32s38.7 13.4 45.3 32H480zm-112 96c-20.9 0-38.7 13.4-45.3 32H32v32h290.7c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32H480v-32h-66.7c-6.6-18.6-24.4-32-45.3-32zM176 320c-20.9 0-38.7 13.4-45.3 32H32v32h98.7c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32H480v-32H221.3c-6.6-18.6-24.4-32-45.3-32z" />',viewBox:"0 0 512 512"},qr={name:"invert-colors",content:'<path d="m320 32-64 48 64 48V96h64v64h-32l48 64 48-64h-32V64h-96V32zM32 64v192h192V64H32zm192 192v192h192V256H224zM64 96h128v128H64V96z" />',viewBox:"0 0 512 512"},$r={name:"transparency",content:'<path d="M64 64v352h352V64H64zm32 32h96v96h96V96h96v96h-96v96h96v96h-96v-96h-96v96H96v-96h96v-96H96V96z" />',viewBox:"0 0 512 512"},Gr={name:"grayscale",content:'<path d="M32 64C14.3 64 0 78.3 0 96v320c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H32zm0 32h416v320H32V96zm48 32c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm0 4c6.6 0 12 5.4 12 12v224c0 6.6-5.4 12-12 12s-12-5.4-12-12V144c0-6.6 5.4-12 12-12zm-64 1c6.1 0 11 4.9 11 11v224c0 6.1-4.9 11-11 11s-11-4.9-11-11V144c0-6.1 4.9-11 11-11zm-64 2c5 0 9 4 9 9v224c0 5-4 9-9 9s-9-4-9-9V144c0-5 4-9 9-9zm-64 1c4.4 0 8 3.6 8 8v224c0 4.4-3.6 8-8 8s-8-3.6-8-8V144c0-4.4 3.6-8 8-8zm-64 4c2.2 0 4 1.8 4 4v224c0 2.2-1.8 4-4 4s-4-1.8-4-4V144c0-2.2 1.8-4 4-4z" />',viewBox:"0 0 512 512"},Yr={name:"blur",content:'<path d="M384 320c0 64-32 128-128 128-64 0-128-48-128-128 0-96 128-128 128-256 0 0 128 129.1 128 256z" />',viewBox:"0 0 512 512"},Xr={name:"sharpen",content:'<path d="M256 32 128 480h256L256 32zm0 116.5L341.6 448H170.4L256 148.5z" />',viewBox:"0 0 512 512"},Zr={name:"shapes",content:'<path d="M480 32H160v131.204C86.969 178.029 32 242.594 32 320c0 88.365 71.635 160 160 160 77.406 0 141.972-54.969 156.797-128H480V32zM192 448c-70.692 0-128-57.308-128-128 0-59.643 40.793-109.758 96-123.967 1.173-.302 2.354-.583 3.539-.852.357-.081.717-.156 1.076-.234a125.086 125.086 0 0 1 3.764-.762 126.34 126.34 0 0 1 2.557-.448c.369-.061.736-.125 1.105-.184 2.423-.379 4.869-.69 7.335-.932.379-.037.759-.067 1.139-.101a132.167 132.167 0 0 1 3.913-.29c.872-.051 1.747-.091 2.623-.125.392-.015.782-.033 1.174-.045 1.254-.036 2.512-.06 3.775-.06 70.692 0 128 57.308 128 128 0 1.264-.023 2.521-.06 3.775-.012.393-.03.782-.045 1.174a126.511 126.511 0 0 1-.207 3.922c-.06.874-.13 1.744-.207 2.613-.034.38-.064.761-.102 1.14a127.326 127.326 0 0 1-.933 7.339c-.057.365-.121.728-.181 1.092a128.132 128.132 0 0 1-.683 3.785c-.17.86-.349 1.718-.535 2.571-.075.346-.147.692-.226 1.037a135.047 135.047 0 0 1-.855 3.552c-14.208 55.207-64.323 96-123.966 96zm256-128h-96c0-88.365-71.635-160-160-160V64h256v256z" />',viewBox:"0 0 512 512"},Jr={name:"round-corners",content:'<path d="M448 320c0 70.692-57.308 128-128 128H192c-70.692 0-128-57.308-128-128V192c0-70.692 57.308-128 128-128h128c70.692 0 128 57.308 128 128v128z" />',viewBox:"0 0 512 512"},Qr={name:"bring-to-front",content:'<path d="M96 128V96h96V64H64v128h32v-64zm224 256h64V128H128v256h192zm96-64v96h-96v32h128V320h-32z" />',viewBox:"0 0 512 512"},eo={name:"bring-to-back",content:'<path d="M128 192h64V64H64v128h64zM96 96h64v64H96V96zm192 192h96V128H224v96h-96v160h160v-96zm128 32h-96v128h128V320h-32zm0 96h-64v-64h64v64z" />',viewBox:"0 0 512 512"},to={name:"bring-forward",content:'<path d="M448 192v256H192V320H64V64h256v128h128zm-32 32h-96v96h-96v96h192V224z" />',viewBox:"0 0 512 512"},no={name:"bring-backward",content:'<path d="M192 192v256h256V192H192zm224 224H224V224h192v192zM320 64H64v256h96V160h160V64z" />',viewBox:"0 0 512 512"},ro={name:"align-self-start",content:'<path d="M31 32h32v448H31V32zm288 64H95v128h224V96zm128 192v128H95V288h352zm-32 32H127v64h288v-64z" />',viewBox:"0 0 512 512"},oo={name:"align-self-center",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288H255zm128 96H95v-64h288v64z" />',viewBox:"0 0 512 512"},io={name:"align-self-end",content:'<path d="M64 416h352V288H64v128zm32-96h288v64H96v-64zm96-224h224v128H192V96zm288-64v448h-32V32h32z" />',viewBox:"0 0 512 512"},ao={name:"align-self-start-alt",content:'<path d="M95 96h128v224H95V96zm192 0h128v352H287V96zm32 320h64V128h-64v288zM31 32v32h448V32H31z" />',viewBox:"0 0 512 512"},so={name:"align-self-center-alt",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32h-64zm-32 0v160h-64V96h64v128z" />',viewBox:"0 0 512 512"},lo={name:"align-self-end-alt",content:'<path d="M479 449v32H31v-32h448zM223 193H95v224h128V193zm192 224H287V65h128v352zM383 97h-64v288h64V97z" />',viewBox:"0 0 512 512"},co={name:"thumbnails-up",content:'<path d="M352 32h96v96h-96V32zm-160 0h96v96h-96V32zM32 32h96v96H32V32zm0 160h416v256H32V192z" />',viewBox:"0 0 512 512"},uo={name:"thumbnails-right",content:'<path d="M352 352h96v96h-96v-96zm0-160h96v96h-96v-96zm0-160h96v96h-96V32zM32 32h256v416H32V32z" />',viewBox:"0 0 512 512"},ho={name:"thumbnails-down",content:'<path d="M352 352h96v96h-96v-96zm-160 0h96v96h-96v-96zm-160 0h96v96H32v-96zm0-320h416v256H32V32z" />',viewBox:"0 0 512 512"},po={name:"thumbnails-left",content:'<path d="M32 32v96h96V32H32zm160 0v416h256V32H192zM32 192v96h96v-96H32zm0 160v96h96v-96H32z" />',viewBox:"0 0 512 512"},fo={name:"fullscreen",content:'<path d="M0 32h160v64H64v96H0V32zm64 288H0v160h160v-64H64v-96zM352 32v64h96v96h64V32H352zm96 384h-96v64h160V320h-64v96z" />',viewBox:"0 0 512 512"},mo={name:"fullscreen-exit",content:'<path d="M160 32H96v96H0v64h160V32zM96 480h64V320H0v64h96v96zm416-288v-64h-96V32h-64v160h160zm-96 192h96v-64H352v160h64v-96z" />',viewBox:"0 0 512 512"},vo={name:"droplet-slash",content:'<path d="m317.9 431 23.2 23.2C316.5 470.6 287.3 480 256 480c-88.4 0-160-75.2-160-168 0-27.8 7.2-56.4 18.6-84.2l24.8 24.8C131.9 274 128 293.9 128 312c0 75 57.4 136 128 136 22.4 0 43.5-6.2 61.9-17zM256 416v-32c-35.3 0-64-28.7-64-64h-32c0 53 43 96 96 96zm224 41.4L457.4 480 32 54.6 54.6 32l108.7 108.7C207 77.7 256 32 256 32s160 149.3 160 280c0 24.1-4.9 47.1-13.6 67.8l77.6 77.6zM384 312c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-1.4 1.9-2.7 3.7-4.1 5.6-.8 1.1-1.5 2.1-2.3 3.2l-1.5 2.1-3 4.2c-.2.3-.4.5-.6.8-1 1.5-2.1 3-3.1 4.5-.1.1-.1.2-.2.3l191.2 191.2c.5-1.6 1-3.3 1.4-4.9 0-.2.1-.4.1-.5.4-1.5.8-2.9 1.1-4.4.1-.3.1-.6.2-.9.3-1.4.6-2.7.9-4.1.1-.4.2-.8.2-1.2.2-1.3.5-2.6.7-3.9.1-.5.2-1 .2-1.5.2-1.2.3-2.5.5-3.7.1-.5.1-1.1.2-1.6l.3-3.6c0-.6.1-1.1.1-1.7.1-1.3.2-2.5.2-3.8 0-.5.1-1 .1-1.6.4-1.9.4-3.7.4-5.5z" />',viewBox:"0 0 512 512"},go={name:"photos",content:'<path d="M256 288c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm96-64v192c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32zm-31.8 0c-.1-.1-.1-.1 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40 .3-149.9zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zm64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},bo={name:"align-to-grid",content:'<path d="M320 320H128V128h192v192zM96 0H64v512h32V0zm352 0h-32v512h32V0zm64 64H0v32h512V64zm0 352H0v32h512v-32z" />',viewBox:"0 0 512 512"},yo={name:"size-to-grid",content:'<path d="M384 384H128V128h256v256zM96 0H64v512h32V0zm352 0h-32v512h32V0zm64 64H0v32h512V64zm0 352H0v32h512v-32z" />',viewBox:"0 0 512 512"},wo={name:"make-same-size",content:'<path d="M288 192v96h-96v-96h96zM240.1 0l-48.4 64H224v64h33V64h31.6L240.1 0zM256 416v-64h-32v64h-32l48 64 48-64h-32zm224-175.9-64-48.4V224h-64v33h64v31.6l64-48.5zM64 224v-32L0 240l64 48v-32h64v-32H64zM128 0H0v128h32V32h96V0zm320 0h-96v32h96v96h32V0h-32zM32 448v-96H0v128h128v-32H32zm416-96v96h-96v32h128V352h-32z" />',viewBox:"0 0 512 512"},xo={name:"make-same-width",content:'<path d="M480 128H0V32h480v96zm-192 96h-96v96h96v-96zm192 48.1-64-48.4V256h-64v33h64v31.6l64-48.5zM64 256v-32L0 272l64 48v-32h64v-32H64zm384 96v96h-96v32h128V352h-32zM32 448v-96H0v128h128v-32H32z" />',viewBox:"0 0 512 512"},ko={name:"make-same-height",content:'<path d="M128 0v480H32V0h96zm96 192v96h96v-96h-96zM272.1 0l-48.4 64H256v64h33V64h31.6L272.1 0zM288 416v-64h-32v64h-32l48 64 48-64h-32zM448 0h-96v32h96v96h32V0h-32zm0 352v96h-96v32h128V352h-32z" />',viewBox:"0 0 512 512"},zo={name:"make-horizontal-spacing-equal",content:'<path d="M480 160v160h-96v-64h-96v160h-96V256H96v96H32V128h64v96h96V64h96v160h96v-64h96z" />',viewBox:"0 0 512 512"},Co={name:"increase-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zM335.7 352l-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 80-80-80-80zM64 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L144 352l-80 80z" />',viewBox:"0 0 512 512"},_o={name:"decrease-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zM111.6 352 89 374.6l57.4 57.4L89 489.4l22.6 22.6 80-80-80-80zM288 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L368 352l-80 80z" />',viewBox:"0 0 512 512"},Io={name:"remove-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zm-32.5 278.2-22.6-22.6-57.4 57.4-57.4-57.4-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4zm-256 0-22.6-22.6-57.4 57.4-57.4-57.4-22.6 22.6 57.4 57.4L31.5 489l22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4z" />',viewBox:"0 0 512 512"},Eo={name:"make-vertical-spacing-equal",content:'<path d="M256 320v96h96v64H128v-64h96v-96H64v-96h160v-96h-64V32h160v96h-64v96h160v96H256z" />',viewBox:"0 0 512 512"},So={name:"increase-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96H192zm320 48.1-22.6-22.6-57.4 57.3-57.4-57.4-22.6 22.7 80 80 80-80zM432 96l-80 80 22.6 22.6 57.4-57.4 57.4 57.4L512 176l-80-80z" />',viewBox:"0 0 512 512"},Mo={name:"decrease-vertical-spacing",content:'<path d="M191 320v96h96v64H63v-64h96v-96H-1v-96h160v-96H95V32h160v96h-64v96h160v96H191zm160 105.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-80-80-80 80zm80-226.8 80-80L488.4 96 431 153.4 373.6 96 351 118.6l80 80z" />',viewBox:"0 0 512 512"},Oo={name:"remove-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96H192zm320 22.6L489.4 320 432 377.4 374.6 320 352 342.6l57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4zm0-288L489.4 32 432 89.4 374.6 32 352 54.6l57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4L512 54.6z" />',viewBox:"0 0 512 512"},Ro={name:"eyedropper",content:'<path d="m461.1 56.9-6.2-6.2c-25-25-65.5-25-90.5 0l-60.8 60.8-4.3-4.3c-6.2-6.2-16.4-6.2-22.6 0l-9.4 9.4c-6.2 6.2-6.2 16.4 0 22.6l4.3 4.3L70.8 344.4c-8.2 8.2-14 18.5-16.8 29.7l-21.5 85.7c-2.2 8.6 3.1 17.4 11.7 19.5 2.6.6 5.2.6 7.8 0l85.7-21.4c11.3-2.8 21.5-8.6 29.7-16.8l200.8-200.8 4.4 4.4c6.2 6.2 16.4 6.2 22.6 0l9.4-9.4c6.2-6.2 6.2-16.4 0-22.6l-4.4-4.4 60.8-60.8c25-25 24.9-65.5.1-90.6zM224 320h-64l144-144 32 32-112 112z" />',viewBox:"0 0 512 512"},Ho={name:"snap-grid",content:'<path d="M480 128V96h-96V0h-32v96h-96V0h-32v96h-96V0H96v96H0v32h96v96H0v32h96v96H0v32h96v96h32v-96h96v96h32v-96h96v96h32v-96h96v-32h-96v-96h96v-32h-96v-96h96zm-352 0h96v96h-96v-96zm0 224v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96z" />',viewBox:"0 0 512 512"},Fo={name:"snap-to-gridlines",content:'<path d="M160 32H0v416h288V32H160zm-32 384H32v-96h96v96zm0-128H32v-96h96v96zm0-128H32V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96zm256 80c0 44.2-35.8 80-80 80h-32v-32h32c26.5 0 48-21.5 48-48s-21.5-48-48-48h-32v-32h32c44.2 0 80 35.8 80 80zm-160-48h32v-32h-32v32zm0 128h32v-32h-32v32z" />',viewBox:"0 0 512 512"},Vo={name:"snap-to-snaplines",content:'<path d="M224 128h96V96h-96V32h-32v64h-64V32H96v64H32v32h64v256H32v32h64v64h32v-64h64v64h32v-64h256v-32H224V128zm-32 256h-64V128h64v256zm208-64h-32v-32h32c26.5 0 48-21.5 48-48s-21.5-48-48-48h-32v-32h32c44.2 0 80 35.8 80 80s-35.8 80-80 80zm-48-160h-32v32h32v-32zm-32 160h32v-32h-32v32z" />',viewBox:"0 0 512 512"},Do={name:"dimensions",content:'<path d="M320 0H0v512h128V128h384V0H320zM32 32h64v64H32V32zm64 352H64v32h32v64H32V320h64v64zm0-192H64v32h32v64H32V128h64v64zm128-96V64h-32v32h-64V32h160v64h-64zm256 0h-64V64h-32v32h-64V32h160v64z" />',viewBox:"0 0 512 512"},Bo={name:"align-self-stretch",content:'<path d="M95 96h320v128H95V96zM31 480h32V32H31v448zm64-192h320v128H95V288zm32 96h256v-64H127v64zM447 32v448h32V32h-32z" />',viewBox:"0 0 512 512"},Ao={name:"align-self-stretch-alt",content:'<path d="M223 96v320H95V96h128zM31 480h448v-32H31v32zM415 96v320H287V96h128zm-32 32h-64v256h64V128zM31 32v32h448V32H31z" />',viewBox:"0 0 512 512"},No={name:"align-items-start",content:'<path d="M319 224H95V96h224v128zM31 480h32V32H31v448zm64-192v128h352V288H95z" />',viewBox:"0 0 512 512"},Lo={name:"align-items-center",content:'<path d="M415 416H255v64h-32v-64H63V288h160v-64h-96V96h96V32h32v64h96v128h-96v64h160v128z" />',viewBox:"0 0 512 512"},Po={name:"align-items-end",content:'<path d="M192 96h224v128H192V96zm256-64v448h32V32h-32zM64 416h352V288H64v128z" />',viewBox:"0 0 512 512"},To={name:"align-items-stretch",content:'<path d="M415 224H95V96h320v128zM31 480h32V32H31v448zM447 32v448h32V32h-32zM96 416h320V288H96v128z" />',viewBox:"0 0 512 512"},jo={name:"align-items-baseline",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32h-64zm-224 96h-64v-64h64v64zm192 64h-64V256h64v128z" />',viewBox:"0 0 512 512"},Uo={name:"align-items-start-alt",content:'<path d="M96 96h128v224H96V96zM32 32v32h448V32H32zm256 416h128V96H288v352z" />',viewBox:"0 0 512 512"},Ko={name:"align-items-center-alt",content:'<path d="M479 256h-64v160H287V256h-64v96H95v-96H31v-32h64v-96h128v96h64V64h128v160h64v32z" />',viewBox:"0 0 512 512"},Wo={name:"align-items-end-alt",content:'<path d="M223 417H95V193h128v224zM31 449v32h448v-32H31zM415 65H287v352h128V65z" />',viewBox:"0 0 512 512"},qo={name:"align-items-stretch-alt",content:'<path d="M223 96v320H95V96h128zM31 480h448v-32H31v32zm0-448v32h448V32H31zm256 63v320h128V95H287z" />',viewBox:"0 0 512 512"},$o={name:"align-items-baseline-alt",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288H255zm-32 96H95v-64h128v64zm0-192h-64v-64h64v64z" />',viewBox:"0 0 512 512"},Go={name:"justify-content-start",content:'<path d="M95 96h128v320H95V96zM31 480h32V32H31v448zM255 95v320h128V95H255z" />',viewBox:"0 0 512 512"},Yo={name:"justify-content-center",content:'<path d="M63 96h128v320H63V96zm160 384h32V32h-32v448zm64-385v320h128V95H287z" />',viewBox:"0 0 512 512"},Xo={name:"justify-content-end",content:'<path d="M128 96h128v320H128V96zm320-64v448h32V32h-32zM288 415h128V95H288v320z" />',viewBox:"0 0 512 512"},Zo={name:"justify-content-between",content:'<path d="M63 96h128v320H63V96zm416-64v448h32V32h-32zM319 415h128V95H319v320zM-1 480h32V32H-1v448z" />',viewBox:"0 0 512 512"},Jo={name:"justify-content-around",content:'<path d="M95 96h128v320H95V96zm384-64v448h32V32h-32zM287 415h128V95H287v320zM-1 480h32V32H-1v448z" />',viewBox:"0 0 512 512"},Qo={name:"justify-content-start-alt",content:'<path d="M415 224H95V96h320v128zM31 32v32h448V32H31zm65 352h320V256H96v128z" />',viewBox:"0 0 512 512"},ei={name:"justify-content-center-alt",content:'<path d="M415 192H95V64h320v128zM31 224v32h448v-32H31zm65 192h320V288H96v128z" />',viewBox:"0 0 512 512"},ti={name:"justify-content-end-alt",content:'<path d="M415 257H95V129h320v128zM31 449v32h448v-32H31zm65-32h320V289H96v128z" />',viewBox:"0 0 512 512"},ni={name:"justify-content-between-alt",content:'<path d="M95 64h320v128H95V64zM31 512h448v-32H31v32zm65-64h320V320H96v128zM31 0v32h448V0H31z" />',viewBox:"0 0 512 512"},ri={name:"justify-content-around-alt",content:'<path d="M95 96h320v128H95V96zM31 512h448v-32H31v32zm65-96h320V288H96v128zM31 0v32h448V0H31z" />',viewBox:"0 0 512 512"},oi={name:"file-wrench",content:'<path d="M470.7 480 448 502.7c-12.4 12.4-32.8 12.4-45.1-.1l-93.1-93.1c-11.8 4.2-24.5 6.5-37.8 6.5-61.9 0-112-50.1-112-112 0-13.2 2.3-25.9 6.5-37.6l48.9 48.9c12.4 12.4 32.8 12.4 45.3 0l22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-48.9-48.9c11.8-4.2 24.4-6.5 37.6-6.5 61.9 0 112 50.1 112 112 0 13.2-2.3 25.9-6.5 37.6l93.2 93.1c12.4 12.5 12.4 32.9 0 45.3zm-22.8-23-86.3-86.3c-6.4 8.6-14 16.2-22.6 22.6l86.4 86.3 22.6-22.5v-.1h-.1zM96 64h224v96h96v128h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h160v-32H96V64z" />',viewBox:"0 0 512 512"},ii={name:"bold",content:'<path d="M128 96h115.8c25.3 0 44.2 1.1 56.6 3.2 12.4 2.1 23.6 6.5 33.4 13.2 9.8 6.7 18 15.6 24.6 26.7 6.6 11.1 9.8 23.6 9.8 37.4 0 15-4.1 28.7-12.1 41.2-8.1 12.5-19.1 21.9-32.9 28.2 19.5 5.7 34.5 15.4 45 29s15.7 29.8 15.7 48.2c0 14.6-3.4 28.7-10.2 42.4-6.7 13.8-16 24.8-27.7 33s-26.1 13.3-43.3 15.2c-10.8 1.2-36.7 1.9-78 2.2H128V96zm64 53v74h30.9c25.2 0 40.8-.4 46.9-1.1 11.1-1.3 19.7-5.2 26.1-11.5 6.3-6.3 9.5-14.7 9.5-25 0-9.9-2.7-18-8.2-24.1-5.5-6.2-13.6-10-24.4-11.2-6.4-.7-24.8-1.1-55.2-1.1H192zm0 127.1V362h48.6c23.4 0 38.1-.7 44.5-2 9.6-1.8 17.5-6 23.6-12.8 6.1-6.8 9-15.9 9-27.3 0-9.6-2.3-17.9-7-24.6-4.7-6.7-11.4-11.6-20.3-14.7-8.8-3.1-28-4.6-57.5-4.6l-40.9.1z" />',viewBox:"0 0 512 512"},ai={name:"italic",content:'<path d="m377.2 128 6.8-32H198.8l-6.8 32h59.2l-54.4 256h-62l-6.8 32h185.2l6.8-32h-59.2l54.4-256h62z" />',viewBox:"0 0 512 512"},si={name:"underline",content:'<path d="M128 416h256v32H128v-32zM320 64v224c0 11.6-3.5 16-10.3 20.3-11.8 7.4-31.3 11.7-53.7 11.7s-41.9-4.3-53.7-11.7c-6.8-4.3-10.3-8.7-10.3-20.3V64h-64v224c0 70.4 64.3 96 128 96s128-25.6 128-96V64h-64z" />',viewBox:"0 0 512 512"},li={name:"font-family",content:'<path d="M224 416V160h-95l-.8-64H384v64h-96v256h-64z" />',viewBox:"0 0 512 512"},ci={name:"foreground-color",content:'<path d="M299.5 96h-87.1L96 416h64l23.3-64h145.4l23.3 64h64L299.5 96zm-92.9 192L256 152.2 305.4 288h-98.8z" />',viewBox:"0 0 512 512"},ui={name:"convert-lowercase",content:'<path d="M480.1 416H436v-36h-.7c-13.8 24-34.1 36-60.8 36-19.7 0-35.1-5.3-46.3-16-11.1-10.7-16.7-24.9-16.7-42.5 0-37.8 21.7-59.9 65.3-66.2l59.4-8.4c0-28.6-13.5-42.8-40.7-42.8-23.8 0-45.4 8.2-64.5 24.7V225c21.1-12.5 45.5-18.8 73.1-18.8 50.6 0 75.9 25 75.9 74.8v135h.1zM436 313.1l-42 5.9c-13 1.7-22.8 4.9-29.4 9.5s-9.9 12.7-9.9 24.3c0 8.5 3 15.4 9.1 20.8s14.2 8.1 24.3 8.1c13.8 0 25.2-4.8 34.3-14.5 9-9.7 13.6-21.9 13.6-36.6v-17.5zM240 416h48L184 96h-48L32 416h48l26-80h108l26 80zM121.6 288 160 169.8 198.4 288h-76.8z" />',viewBox:"0 0 512 512"},hi={name:"convert-uppercase",content:'<path d="M200.1 416H156v-36h-.7c-13.8 24-34.1 36-60.8 36-19.7 0-35.1-5.3-46.3-16-11.1-10.7-16.7-24.9-16.7-42.5 0-37.8 21.7-59.9 65.3-66.2l59.4-8.4c0-28.6-13.5-42.8-40.7-42.8-23.8 0-45.4 8.2-64.5 24.7V225c21.1-12.5 45.5-18.8 73.1-18.8 50.6 0 75.9 25 75.9 74.8v135h.1zM157 313.1l-42 5.9c-13 1.7-22.8 4.9-29.4 9.5s-9.9 12.7-9.9 24.3c0 8.5 3 15.4 9.1 20.8s14.2 8.1 24.3 8.1c13.8 0 25.2-4.8 34.3-14.5 9-9.7 13.6-21.9 13.6-36.6v-17.5zM432 416h48L376 96h-48L224 416h48l26-80h108l26 80zM313.6 288 352 169.8 390.4 288h-76.8z" />',viewBox:"0 0 512 512"},di={name:"strikethrough",content:'<path d="M393.9 320c.1-23.9 4.5-41.4 13.5-52.5 9.1-11.1 20.8-16.7 35.3-16.7 9.6 0 17.7 3.1 24.5 9.3 6.8 6.2 11.4 15.4 14.1 27.7l27.9-4.7c-3.3-18.4-10.8-32.7-22.5-42.7s-26.8-15-45.2-15c-14.5 0-28.1 3.6-40.4 11.1-12.4 7.4-21.6 18.5-27.7 33.2-5.9 14.4-8.9 31.2-9.1 50.4h-25.5v-2.2c0-13.2-1.7-25.6-5.1-37.1-3.4-11.5-8.1-21.4-14.2-29.6-6-8.1-13.7-14.5-23-19s-19.2-6.8-29.6-6.8c-18.9 0-34.3 8.2-46.4 24.6v-90H192v160h-45v-25.8c0-13.7-.5-23.3-1.4-28.5-1.7-8.5-4.7-15.5-9-21.1-4.3-5.5-10.9-10.2-19.9-13.8-9-3.6-20.8-5.5-35.3-5.5-14.6 0-27.4 2.1-38.5 6.4-11.1 4.3-19.5 10.4-25.4 18.4-5.8 8-10 18.4-12.6 31.4l28.1 4.1c3.1-13 7.8-22 14.3-27.1s16.4-7.7 29.9-7.7c14.5 0 25.4 3.5 32.7 10.5 5.4 5.1 8.1 14 8.1 26.6 0 1.1 0 3.8-.2 8.1-11 4.1-28 7.7-51.2 10.7-11.4 1.5-19.9 3-25.5 4.7-6.7 2-12.9 4.9-18.5 8.6H0v32h1.2c-.8 3.8-1.2 7.7-1.2 11.8 0 15.2 5 27.8 15 37.6S39.3 416 57.9 416c11.3 0 21.8-1.9 31.6-6s20.1-10.9 30.7-20.6h.1c.8 8.6 2.7 20.3 5.7 26.7h30c-3.6-7-6-18.4-7.3-26.1-1-6-1.6-18.7-1.8-37.9h45v64h26.6V389c11.4 18 27.1 27 47.1 27 20.1 0 37.3-8.5 51.7-25.6 8.6-10.2 14.6-23 18-38.3h31.8c3.3 16 9.4 29.2 18.3 39.5 14.1 16.3 32.7 24.5 55.9 24.5 18.5 0 34.1-6 46.8-17.8 12.1-11.3 19.8-26.7 23.2-46.2h.5v-32H393.9zm-280.7 42.6c-4.1 9-10.4 16.1-19 21.4-8.6 5.2-18.4 7.8-29.5 7.8-11.2 0-19.6-2.8-25.4-8.2-5.8-5.6-8.7-12.4-8.7-20.7 0-3.9.7-7.5 2.1-10.9h83.6c-.7 4.1-1.8 7.7-3.1 10.6zm105.1-43.3c0-22.2 4.6-39.2 13.7-50.9 9.1-11.8 20-17.6 32.5-17.6s23.1 5.6 31.8 17c8.8 11.3 13.1 28.7 13.2 52.3h-91.3c.1-.3.1-.6.1-.8zm77.6 53.6c-9.1 11.8-20 17.7-32.5 17.7-15.5 0-27.7-8-36.7-23.9-2.2-3.9-4-8.8-5.3-14.7H306c-2.4 8.3-5.7 15.3-10.1 20.9zm173.5 6.6c-7.5 7.5-16.9 11.2-28.2 11.2-14 0-25.4-5.6-34.1-16.7-4.4-5.6-7.7-12.9-9.9-21.9h85.5c-2.6 11.9-7 21.1-13.3 27.4z" />',viewBox:"0 0 512 512"},pi={name:"subscript",content:'<path d="m198.6 304 89.4 89.4-22.6 22.6-89.4-89.4L86.6 416 64 393.4l89.4-89.4L64 214.6 86.6 192l89.4 89.4 89.4-89.4 22.6 22.6-89.4 89.4zm167.7 144h81.4v32H320v-11.9c0-8 1.7-15.3 5-21.7 3.3-6.4 7.5-12.1 12.5-17.2s10.5-9.6 16.4-13.5c5.9-3.9 11.6-7.4 16.9-10.6 5.6-3.3 10.6-6.4 14.8-9.4 4.2-3 7.8-6 10.7-8.9 2.9-3 5.1-6 6.5-9 1.4-3 2.1-6.3 2.1-9.7 0-6.7-2.3-11.8-7-15.3-4.6-3.4-11.7-5.2-21.3-5.2-16.5 0-32.3 5.4-47.4 16.1v-30.5c16.7-8.9 35.5-13.3 56.5-13.3 9.7 0 18.5 1 26.2 3.1 7.7 2.1 14.3 5.1 19.6 8.9 5.4 3.9 9.4 8.6 12.3 14.1 2.8 5.5 4.2 11.7 4.2 18.5 0 7.2-1.4 13.7-4.1 19.3-2.7 5.6-6.3 10.8-10.8 15.4-4.5 4.6-9.7 8.8-15.6 12.7-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4-4 2.5-7.5 4.9-10.5 7.2-3.1 2.6-7.1 6.6-10 10.4z" />',viewBox:"0 0 512 512"},fi={name:"supscript",content:'<path d="m198.6 304 89.4 89.4-22.6 22.6-89.4-89.4L86.6 416 64 393.4l89.4-89.4L64 214.6 86.6 192l89.4 89.4 89.4-89.4 22.6 22.6-89.4 89.4zm167.7-112h81.4v32H320v-11.9c0-8 1.7-15.3 5-21.7s7.5-12.1 12.5-17.2 10.5-9.6 16.4-13.5 11.6-7.4 16.9-10.6c5.6-3.3 10.6-6.4 14.8-9.4 4.2-3 7.8-6 10.7-8.9 2.9-3 5.1-6 6.5-9s2.1-6.3 2.1-9.7c0-6.7-2.3-11.8-7-15.3-4.6-3.4-11.7-5.2-21.3-5.2-16.5 0-32.3 5.4-47.4 16.1V77.3c16.7-8.9 35.5-13.3 56.5-13.3 9.7 0 18.5 1 26.2 3.1s14.3 5.1 19.6 8.9c5.4 3.9 9.4 8.6 12.3 14.1 2.8 5.5 4.2 11.7 4.2 18.5 0 7.2-1.4 13.7-4.1 19.3-2.7 5.6-6.3 10.8-10.8 15.4-4.5 4.6-9.7 8.8-15.6 12.7-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4-4 2.5-7.5 4.9-10.5 7.2-3.1 2.5-7.1 6.5-10 10.3z" />',viewBox:"0 0 512 512"},mi={name:"div",content:'<path d="M0 416v-6h7.1c7.9 0 13.6-3 16.9-9.1 2-3.6 3-11.8 3-24.5V231.6c0-14-1.3-22.8-3.9-26.3-3.6-4.9-9-7.3-16.1-7.3H0v-6h77.6c28.5 0 50.2 3.8 65 11.4 14.9 7.6 26.8 20.3 35.8 38 9 17.7 13.6 38.2 13.6 61.5 0 31.2-8.1 57.2-24.2 78.1-18.1 23.3-45.6 35-82.6 35H0zm54-16.2c11.9 3.1 21.9 4.6 29.9 4.6 21.7 0 39.8-9 54.1-26.9 14.3-17.9 21.5-42.3 21.5-73 0-30.9-7.2-55.3-21.5-73.2-14.3-17.8-32.8-26.8-55.2-26.8-8.4 0-18 1.6-28.8 4.8v190.5zM298 410v6h-83v-6h6.7c7.8 0 13.5-2.7 17-8.1 2.2-3.5 3.3-12 3.3-25.5V231.6c0-11.4-.6-18.9-1.8-22.5-.9-2.8-2.8-5.1-5.7-7.1-4.1-2.6-8.4-4-12.8-4H215v-6h83v6h-7c-7.9 0-13.7 2.7-17.4 8.1-2.4 3.5-3.6 12-3.6 25.5v144.9c0 11.4.6 18.9 1.9 22.5 1 2.8 3 5.1 6 7.1 4.1 2.6 8.5 4 13.1 4h7zm214-218v6c-6.4 1.4-11.3 3.9-14.6 7.4-4.7 5.3-8.9 13.4-12.6 24.2L421.6 416h-4.9l-67.9-188.8c-3.5-9.7-5.9-15.6-7.4-17.8-2.2-3.3-5-5.9-8.2-7.8-3.3-1.9-7.6-3.1-13.2-3.6v-6h74v6c-8.4 1-13.8 2.7-16.3 5.2s-3.7 5.7-3.7 9.5c0 5.4 2 13.8 6.1 25.2l46.1 128.4L469 239.5c4.2-12.5 6.3-21.2 6.3-26 0-3.1-1.3-6.1-3.9-9-2.6-2.9-6.9-4.9-13.1-6.1-.4-.1-1.2-.3-2.3-.5v-6h56zm0-96H0v32h512V96z" />',viewBox:"0 0 512 512"},vi={name:"all",content:'<path d="M120.1 343H52l-12 34.4c-2.9 8.5-4.4 14.8-4.4 19 0 3.3 1.3 6.2 3.8 8.8s8.1 4.2 16.5 4.9v5.9H0v-6c7.4-1.6 12.2-3.7 14.4-6.3 4.4-5.2 9.4-15.7 14.8-31.5L91.4 192H96l61.6 182.2c5 14.6 9.5 24.1 13.5 28.5 4 4.4 9.7 6.8 16.9 7.3v6h-70v-5.9c7-.4 11.7-1.9 14.2-4.3 2.5-2.5 3.7-5.5 3.7-9 0-4.7-1.7-12.2-5.2-22.3L120.1 343zm-3.5-12-30-88.5L55.8 331h60.8zm227.7 23.1 4.3 1.2-15.1 60.7H197v-6h6.5c7.4 0 12.6-3.1 15.8-9.3 1.8-3.5 2.7-11.7 2.7-24.5V222.7c0-14-1.2-13.9-3.6-17.5-3.3-4.9-8.3-7.3-14.9-7.3H196v-6h80v6.1s-15.4 1-19.2 3.3c-3.8 2.3-6.4 5.2-7.8 8.8-1.4 3.5-2.1 3.1-2 16.5v149.6c-.1 9.1.6 15.4 2 18.8 1 2.3 2.7 4 4.8 5.1 2.2 1.1 9 1.7 20.4 1.9h12.9c13.6-.2 23.1-1.5 28.6-4s10.5-7 15-13.5 9.1-16.6 13.6-30.4zm163.4 0 4.3 1.2-15.1 60.7H360v-6h6.5c7.4 0 12.6-3.1 15.8-9.3 1.8-3.5 2.7-11.7 2.7-24.5V222.7c0-14-1.2-13.9-3.6-17.5-3.3-4.9-8.3-7.3-14.9-7.3H360v-6h80v6.1s-16.1 1-19.9 3.3-6.4 5.2-7.8 8.8c-1.4 3.5-2.1 3.1-2.4 16.5v149.6c.3 9.1 1 15.4 2.4 18.8 1 2.3 2.7 4 4.8 5.1s9 1.7 20.4 1.9h12.9c13.6-.2 23.1-1.5 28.6-4s10.5-7 15-13.5 9.2-16.6 13.7-30.4zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},gi={name:"h1",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm192-69.9 63-26.1h1v185.3c0 12.3.5 20 1.5 23s3.2 5.3 6.4 7 14.1 2.5 24.1 2.8v6h-96v-6c10.4-.2 20.9-1.1 23.9-2.7s5.1-3.7 6.3-6.3c1.2-2.6 1.8-10.5 1.8-23.7V258.8c0-16-.5-26.2-1.6-30.8-.8-3.5-2.1-6-4.1-7.6-2-1.6-4.4-2.4-7.2-2.4-4 0-9.5 1.7-16.7 5l-2.4-4.9zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},bi={name:"h2",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm336 86-15.3 42H320v-5.5c38.2-34.9 65.1-63.3 80.7-85.4 15.6-22.1 23.4-42.3 23.4-60.6 0-14-4.3-25.4-12.8-34.4-8.6-9-18.8-13.5-30.7-13.5-10.8 0-20.5 3.2-29.1 9.5-8.6 6.3-15 15.6-19.1 27.8h-6c2.7-20 9.7-35.4 20.9-46.1 11.2-10.7 25.2-16.1 42-16.1 17.9 0 32.8 5.7 44.7 17.2 12 11.5 17.9 25 17.9 40.6 0 11.1-2.6 22.3-7.8 33.4-8 17.5-21 36.1-39 55.7-27 29.4-43.8 47.2-50.5 53.3h56.9c11.8 0 20-.4 24.8-1.3 4.7-.9 9-2.6 12.8-5.3 3.8-2.7 7.1-6.5 10-11.4l4.9.1zm48-278H0v32h512V96z" />',viewBox:"0 0 512 512"},yi={name:"h3",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm195.6-50.6c6.4-14.5 14.5-25.7 24.3-33.6 9.8-7.9 22-11.9 36.6-11.9 18 0 31.9 5.6 41.5 16.9 7.3 8.4 11 17.3 11 26.9 0 15.7-10.3 31.9-30.9 48.7 13.8 5.2 24.3 12.6 31.4 22.3 7.1 9.7 10.6 21 10.6 34 0 18.7-6.2 34.8-18.6 48.5-16.2 17.8-39.6 26.7-70.2 26.7-15.2 0-25.5-1.8-31-5.4s-8.2-7.5-8.2-11.6c0-3.1 1.3-5.8 3.9-8.1 2.6-2.3 5.7-3.5 9.4-3.5 2.8 0 5.6.4 8.5 1.3 1.9.5 6.1 2.5 12.8 5.8 6.6 3.3 11.2 5.3 13.8 6 4.1 1.2 8.5 1.8 13.1 1.8 11.3 0 21.1-4.2 29.5-12.6s12.5-18.3 12.5-29.8c0-8.4-1.9-16.5-5.8-24.5-2.9-5.9-6-10.4-9.5-13.5-4.8-4.2-11.3-8.1-19.6-11.5s-16.8-5.2-25.4-5.2H358v-4.8c8.7-1.1 17.5-4.1 26.3-9.1s15.2-11 19.2-18 6-14.7 6-23.1c0-10.9-3.6-19.8-10.7-26.5s-16-10.1-26.6-10.1c-17.2 0-31.5 8.8-43 26.4l-5.6-2.5zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},wi={name:"h4",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm341 47v23h-29v58h-27v-58h-93v-20.7L422.1 192H440v143h29zm-56 0V226.1L336 335h77zm99-239H0v32h512V96z" />',viewBox:"0 0 512 512"},xi={name:"h5",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm320-96-12.6 28h-66L355 249.1c28.6 4.2 51.2 14.9 68 32 14.3 14.7 21.5 32 21.5 51.9 0 11.6-2.3 22.3-7 32.1s-10.6 18.2-17.7 25.2c-7.1 6.9-15 12.5-23.8 16.7-12.4 6-25.1 8.9-38.2 8.9-13.2 0-22.7-2.2-28.7-6.7s-9-9.4-9-14.9c0-3 1.2-5.7 3.7-8s5.6-3.5 9.4-3.5c2.8 0 5.3.4 7.4 1.3 2.1.9 5.7 3.1 10.8 6.7 8.1 5.6 16.3 8.4 24.6 8.4 12.6 0 23.7-4.8 33.3-14.4s14.3-21.2 14.3-35c0-13.3-4.3-25.7-12.8-37.3-8.5-11.5-20.3-20.4-35.3-26.7-11.8-4.9-27.8-7.7-48.1-8.4l42.1-85.5H448zm64-96H0v32h512V96z" />',viewBox:"0 0 512 512"},ki={name:"h6",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm316-96v5.9c-13.1 1.4-23.9 4.2-32.2 8.4s-16.5 10.6-24.6 19.2c-8.1 8.6-14.8 18.2-20.2 28.7-5.3 10.6-9.8 23.1-13.4 37.6 14.3-10.5 28.7-15.8 43.2-15.8 13.8 0 25.8 5.9 36 17.8S448 321 448 339.6c0 18-5.1 34.5-15.4 49.3-12.3 18-28.7 27-49 27-13.8 0-25.6-4.9-35.2-14.6-18.9-19-28.4-43.6-28.4-73.8 0-19.3 3.6-37.7 10.9-55s17.6-32.8 31.1-46.3 26.4-22.5 38.8-27.2 23.8-7 34.5-7h8.7zm-92.9 111.4c-1.8 14.3-2.7 25.9-2.7 34.7 0 10.2 1.8 21.2 5.3 33.2 3.5 11.9 8.8 21.4 15.8 28.4 5.1 5 11.3 7.5 18.5 7.5 8.7 0 16.4-4.3 23.2-13 6.8-8.7 10.2-21.1 10.2-37.2 0-18.1-3.4-33.8-10.2-47.1S394.8 290 382.4 290c-3.8 0-7.8.8-12.2 2.5-4.3 1.6-10.7 5.2-19.1 10.9zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},zi={name:"list-ordered",content:'<path d="M192 64h288v32H192V64zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM96 32v128H64V64c-1.5 1.3-14.9 7.8-22.1 10V50.8c7.2-2.1 13.9-4.8 20.3-8 6.3-3.3 12.1-6.8 17.2-10.7L96 32zM66.7 297h61.1v23H32v-9.5c0-6.4 1.2-12.2 3.7-17.3 2.5-5.1 5.6-9.7 9.3-13.8 3.7-4.1 7.8-7.7 12.3-10.8 4.5-3.1 8.7-6 12.7-8.5 4.2-2.6 7.9-5.1 11.1-7.6 3.2-2.4 5.9-4.8 8-7.2 2.2-2.4 3.8-4.8 4.9-7.2s1.6-5 1.6-7.8c0-5.4-1.7-9.5-5.2-12.2-3.5-2.8-8.8-4.1-16-4.1-12.4 0-24.2 4.3-35.5 12.9v-24.4c12.5-7.1 26.6-10.6 42.4-10.6 7.3 0 13.8.8 19.6 2.5 5.8 1.7 10.7 4.1 14.7 7.2 4 3.1 7.1 6.9 9.2 11.3 2.1 4.4 3.2 9.3 3.2 14.8 0 5.8-1 10.9-3.1 15.5-2 4.5-4.8 8.6-8.1 12.3-3.4 3.7-7.3 7.1-11.7 10.1-4.4 3.1-9 6-13.8 8.9-3.2 2-6.3 4-9.3 5.9-3 2-5.6 3.9-7.9 5.8s-4.1 3.8-5.4 5.6c-1.3 1.8-2 3.6-2 5.2zM32 473.8V450c10.1 6 21.8 9.1 35.3 9.1 8.5 0 15.1-1.5 19.8-4.5 4.7-3 7.1-7.2 7.1-12.5 0-5.5-2.9-9.8-8.8-12.8-5.8-3-13.9-4.5-24.1-4.5h-14V404h12.9c19.6 0 29.4-5.4 29.4-16.1 0-10.1-7.5-15.1-22.6-15.1-10.1 0-19.9 2.7-29.4 8v-22.3c10.6-4.4 22.9-6.6 37-6.6 15.4 0 27.4 2.8 36 8.5s12.9 13.1 12.9 22.2c0 16.2-10 26.3-29.9 30.4v.4c10.6 1.1 19 4.3 25.2 9.5 6.2 5.3 9.2 11.7 9.2 19.4 0 11.6-5.1 20.7-15.4 27.4S88.1 480 69.9 480c-15.5 0-28.2-2.1-37.9-6.2z" />',viewBox:"0 0 512 512"},Ci={name:"list-unordered",content:'<path d="M192 64h288v32H192V64zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM80 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},_i={name:"indent",content:'<path d="M480 64H32V32h448v32zm0 32H224v32h256V96zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H32v32h448v-32zM160 240 32 128v224l128-112z" />',viewBox:"0 0 512 512"},Ii={name:"outdent",content:'<path d="M480 64H32V32h448v32zm0 32H224v32h256V96zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H32v32h448v-32zm-320-64V128L32 240l128 112z" />',viewBox:"0 0 512 512"},Ei={name:"insert-top",content:'<path d="M192 320h192v32H192v-32zm0-128h288v-32H192v32zm192 64H192v32h192v-32zM32 64v224l96-112L32 64z" />',viewBox:"0 0 512 512"},Si={name:"insert-middle",content:'<path d="M192 128h192v32H192v-32zm0 128h288v-32H192v32zm192 64H192v32h192v-32zM32 128v224l96-112-96-112z" />',viewBox:"0 0 512 512"},Mi={name:"insert-bottom",content:'<path d="M192 224h192v32H192v-32zm0 128h288v-32H192v32zm192-192H192v32h192v-32zM32 224v224l96-112-96-112z" />',viewBox:"0 0 512 512"},Oi={name:"align-top",content:'<path d="M480 64H32V32h448v32zm-64 32H96v32h320V96zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},Ri={name:"align-middle",content:'<path d="M480 192H32v-32h448v32zm-64 32H96v32h320v-32zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},Hi={name:"align-bottom",content:'<path d="M480 352H32v-32h448v32zm-64 32H96v32h320v-32zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},Fi={name:"align-left",content:'<path d="M448 96H64V64h384v32zm-96 32H64v32h288v-32zm96 64H64v32h384v-32zm-96 64H64v32h288v-32zm96 64H64v32h384v-32zm-96 64H64v32h288v-32z" />',viewBox:"0 0 512 512"},Vi={name:"align-center",content:'<path d="M448 96H64V64h384v32zm-64 64H128v-32h256v32zm64 64H64v-32h384v32zm-64 64H128v-32h256v32zm64 64H64v-32h384v32zm-64 64H128v-32h256v32z" />',viewBox:"0 0 512 512"},Di={name:"align-right",content:'<path d="M64 192h384v32H64v-32zm384-96V64H64v32h384zm-288 64h288v-32H160v32zM64 320v32h384v-32H64zm96-32h288v-32H160v32zm0 96v32h288v-32H160z" />',viewBox:"0 0 512 512"},Bi={name:"align-justify",content:'<path d="M448 160H64v-32h384v32zm0-96H64v32h384V64zM64 352h384v-32H64v32zm0-64h384v-32H64v32zm0-64h384v-32H64v32zm0 192h384v-32H64v32z" />',viewBox:"0 0 512 512"},Ai={name:"align-remove",content:'<path d="m78.9 192 32 32H64v-32h14.9zM64 288h110.9l-32-32H64v32zm0 64h174.9l-32-32H64v32zm0 32v32h238.9l-32-32H64zm393.4 96 22.6-22.6-41.4-41.4h9.4v-32h-41.4l-32-32H448v-32H342.6l-32-32H448v-32H278.6l-32-32H448v-32H214.6l-32-32H448v-32H150.6l-32-32H448V64H86.6l-32-32L32 54.6" />',viewBox:"0 0 512 512"},Ni={name:"text-wrap",content:'<path d="M480 96v32H96V96h384zM352 256v224H32V256h320zm-32 32H64v160h256V288zm-32 32H96v32h192v-32zm0 96v-32H96v32h192zM64 64h288V32H32v160h320v-32H64V64z" />',viewBox:"0 0 512 512"},Li={name:"horizontal-rule",content:'<path d="M320 96H32V64h288v32zm96 32H32v32h384v-32zm64 96H32v64h448v-64zM320 352H32v32h288v-32zm96 64H32v32h384v-32z" />',viewBox:"0 0 512 512"},Pi={name:"table-align-top-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 64h192V64H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},Ti={name:"table-align-top-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 32H160v32h192V64zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},ji={name:"table-align-top-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 32H224v32h192V64zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},Ui={name:"table-align-middle-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 160h192v-32H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},Ki={name:"table-align-middle-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 128H160v32h192v-32zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},Wi={name:"table-align-middle-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 128H224v32h192v-32zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},qi={name:"table-align-bottom-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 256h192v-32H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},$i={name:"table-align-bottom-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 224H160v32h192v-32zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},Gi={name:"table-align-bottom-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 224H224v32h192v-32zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},Yi={name:"table-align-remove",content:'<path d="M32 0v480h448V0H32zm416 448H64V32h384v416zM131.6 224l29.9 32H128v-32h3.6zm-3.6 64h63.4l29.9 32H128v-32zm123.1 64 29.9 32H128v-32h123.1zM96 92l22.6-22.6L143.5 96H384v32H173.4l29.9 32H384v32H233.1l29.9 32h121v32h-91.2l29.9 32H384v32h-31.4l63.4 68-22.6 22.6L96 92z" />',viewBox:"0 0 512 512"},Xi={name:"borders-all",content:'<path d="M32 32v416h416V32H32zm32 32h160v160H64V64zm0 352V256h160v160H64zm352 0H256V256h160v160zm0-192H256V64h160v160z" />',viewBox:"0 0 512 512"},Zi={name:"borders-outside",content:'<path d="M128 256H96v-32h32v32zm64-32h-32v32h32v-32zm64 0h-32v32h32v-32zm0-64h-32v32h32v-32zm0-64h-32v32h32V96zm0 256h-32v32h32v-32zm0-64h-32v32h32v-32zm64-64h-32v32h32v-32zm64 0h-32v32h32v-32zm64-192v416H32V32h416zm-32 32H64v352h352V64z" />',viewBox:"0 0 512 512"},Ji={name:"borders-inside",content:'<path d="M64 64H32V32h32v32zm0 32H32v32h32V96zm0 64H32v32h32v-32zm0 128H32v32h32v-32zm0 64H32v32h32v-32zM448 96h-32v32h32V96zm0 64h-32v32h32v-32zm0 128h-32v32h32v-32zm0 64h-32v32h32v-32zM128 32H96v32h32V32zm64 0h-32v32h32V32zM64 416H32v32h32v-32zm64 0H96v32h32v-32zm64 0h-32v32h32v-32zm128 0h-32v32h32v-32zm64 0h-32v32h32v-32zm64 0h-32v32h32v-32zM320 32h-32v32h32V32zm64 0h-32v32h32V32zm64 0h-32v32h32V32zm0 192H256V32h-32v192H32v32h192v192h32V256h192v-32z" />',viewBox:"0 0 512 512"},Qi={name:"borders-inside-horizontal",content:'<path d="M448 224v32H32v-32h416zM64 32H32v32h32V32zm0 96H32V96h32v32zm0 64H32v-32h32v32zm0 128H32v-32h32v32zm0 64H32v-32h32v32zm384-256h-32V96h32v32zm0 64h-32v-32h32v32zm0 128h-32v-32h32v32zm0 64h-32v-32h32v32zM128 64H96V32h32v32zm64 0h-32V32h32v32zm64 0h-32V32h32v32zm0 64h-32V96h32v32zm0 64h-32v-32h32v32zm0 128h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM64 416H32v32h32v-32zm64 32H96v-32h32v32zm64 0h-32v-32h32v32zm128-32h-32v32h32v-32zm64 32h-32v-32h32v32zm64 0h-32v-32h32v32zM320 32h-32v32h32V32zm64 32h-32V32h32v32zm64 0h-32V32h32v32z" />',viewBox:"0 0 512 512"},ea={name:"borders-inside-vertical",content:'<path d="M256 448h-32V32h32v416zM448 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-128 0V32h32v32h-32zm-64 0V32h32v32H96zm256 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-128 0v-32h32v32h-32zm-64 0v-32h32v32H96zm320-320V96h32v32h-32zm0 64v-32h32v32h-32zm0 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-128 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm416-128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},ta={name:"border-top",content:'<path d="M448 32v32H32V32h416zM64 96H32v32h32V96zm0 96H32v-32h32v32zm0 64H32v-32h32v32zm0 64H32v-32h32v32zm0 64H32v-32h32v32zm384-192h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM128 256H96v-32h32v32zm64 0h-32v-32h32v32zm64-128h-32V96h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM64 416H32v32h32v-32zm64 32H96v-32h32v32zm64 0h-32v-32h32v32zm128-32h-32v32h32v-32zm64 32h-32v-32h32v32zm64 0h-32v-32h32v32zM320 224h-32v32h32v-32zm64 32h-32v-32h32v32zm64-128h-32V96h32v32z" />',viewBox:"0 0 512 512"},na={name:"border-bottom",content:'<path d="M32 448v-32h416v32H32zm32-96H32v32h32v-32zm0-32H32v-32h32v32zm0-64H32v-32h32v32zm0-64H32v-32h32v32zm0-64H32V96h32v32zm384 192h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32V96h32v32zM128 256H96v-32h32v32zm64 0h-32v-32h32v32zm64 128h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32V96h32v32zm0-64h-32V32h32v32zM64 32H32v32h32V32zm64 32H96V32h32v32zm64 0h-32V32h32v32zm128-32h-32v32h32V32zm64 32h-32V32h32v32zm64 0h-32V32h32v32zM320 224h-32v32h32v-32zm64 32h-32v-32h32v32zm64 128h-32v-32h32v32z" />',viewBox:"0 0 512 512"},ra={name:"border-left",content:'<path d="M32 32h32v416H32V32zm96 32V32H96v32h32zm32 0V32h32v32h-32zm64 0V32h32v32h-32zm64 0V32h32v32h-32zm64 0V32h32v32h-32zM160 448v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zM224 128V96h32v32h-32zm0 64v-32h32v32h-32zM96 256v-32h32v32H96zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm32-192V32h-32v32h32zm-32 64V96h32v32h-32zm0 64v-32h32v32h-32zm32 128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32zM256 320v-32h-32v32h32zm-32 64v-32h32v32h-32zM96 448v-32h32v32H96z" />',viewBox:"0 0 512 512"},oa={name:"border-right",content:'<path d="M448 448h-32V32h32v416zM384 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32H96zm192 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm128-320V96h32v32h-32zm0 64v-32h32v32h-32zm128 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm224-128v-32h-32v32h32zm-32 64v-32h32v32h-32zm128 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},ia={name:"borders-none",content:'<path d="M384 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32H96zm192 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm128-320V96h32v32h-32zm0 64v-32h32v32h-32zm128 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm384-192v-32h32v32h-32zm32-192V32h-32v32h32zm-32 64V96h32v32h-32zm0 64v-32h32v32h-32zm32 128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32zM256 320v-32h-32v32h32zm-32 64v-32h32v32h-32zm128 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},aa={name:"borders-show-hide",content:'<path d="M64 448h128v32H32V32h448v128h-32V64H64v384zm384 0h-64v32h96v-96h-32v64zM160 288v-64H96v64h64zm64 0h64v-64h-64v64zm160-32v-32h-32v32h32zM288 96h-64v64h64V96zm0 384L160 352l45-45 83 83 147-147 45 45-192 192z" />',viewBox:"0 0 512 512"},sa={name:"form",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 384H64V64h352v352zm32 64v-32h32v32h-32zm32-448h-32V0h32v32zM0 448h32v32H0v-32zM32 0v32H0V0h32z" />',viewBox:"0 0 512 512"},la={name:"form-element",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 384H64V64h352v352zm32 64v-32h32v32h-32zm32-448h-32V0h32v32zM0 448h32v32H0v-32zM32 0v32H0V0h32zm160 128H96v32h96v-32zm192 0H224v32h160v-32zm0 64H224v32h160v-32zm0 64H224v32h160v-32zm0 64H224v32h160v-32zm-192 0H96v32h96v-32zm0-64H96v32h96v-32zm0-64H96v32h96v-32z" />',viewBox:"0 0 512 512"},ca={name:"code-snippet",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 256v128H64V64h352v224zM32 0v32H0V0h32zM0 448h32v32H0v-32zm198.6-265.4L141.3 240l57.4 57.4L176 320l-80-80 80-80 22.6 22.6zM304 160l80 80-80 80-22.6-22.6 57.4-57.4-57.4-57.4L304 160zM480 32h-32V0h32v32zm-32 448v-32h32v32h-32z" />',viewBox:"0 0 512 512"},ua={name:"select-all",content:'<path d="M448 448h32v32h-32v-32zm0-448h32v32h-32V0zM0 448h32v32H0v-32zM0 0h32v32H0V0zm448 384h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32V64zM0 384h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0V64zm128 384h32v32h-32v-32zm-64 0h32v32H64v-32zm128 0h32v32h-32v-32zm64 0h32v32h-32v-32zm64 0h32v32h-32v-32zm64 0h32v32h-32v-32zM64 0h32v32H64V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm-96 64 53.4 53.4L240 218.9 138.6 117.4 192 64H64v128l53.5-53.5L218.9 240 117.5 341.5 64 288v128h128l-53.4-53.4L240 261.1l101.4 101.5L288 416h128V288l-53.5 53.5L261.1 240l101.4-101.5L416 192V64H288z" />',viewBox:"0 0 512 512"},ha={name:"button",content:'<path d="m130.1 130.1 36.1 93.9H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32v128c0 17.6-14.4 32-32 32h-73.8l-244.1-93.9zM480 299 185.8 185.8 299 480l22.6-113.1L434.7 480l45.3-45.3-113.1-113.1L480 299z" />',viewBox:"0 0 512 512"},da={name:"select-box",content:'<path d="M384 352H128v-32h256v32zm0 32H128v32h256v-32zm0-128H128v32h256v-32zm96-192v128c0 17.6-14.4 32-32 32v224c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V224c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32zM352 96l32 64 32-64h-64zm64 128H96v224h320V224z" />',viewBox:"0 0 512 512"},pa={name:"calendar-date",content:'<path d="M448 32h-64V0h-64v32H192V0h-64v32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 416-383.9.1-.1-.1V192h384v256zm0-288H64V64.1l.1-.1H128v32h64V64h128v32h64V64h63.9l.1.1V160zM192 270.6S171.9 288 142 288v-32c29.9 0 58-32 58-32h24v192h-32V270.6zM384 416H256v-14.2c0-9.7 1.6-18.4 4.8-26 3.3-7.7 7.3-14.6 12.2-20.7 4.8-6.1 10.2-11.5 15.9-16.2 5.7-4.7 11.3-8.9 16.4-12.7 5.5-3.9 10.3-7.7 14.4-11.3 4.2-3.6 7.6-7.2 10.4-10.7 2.8-3.5 4.9-7.1 6.3-10.8 1.4-3.6 2.1-7.5 2.1-11.7 0-8.1-2.3-14.1-6.8-18.4-4.5-4.1-11.5-6.2-20.7-6.2-16 0-31.5 6.4-46.1 19.4v-37.1c16.5-10.6 35-16.1 55.5-16.1 9.6 0 18.2 1.3 25.7 3.8 7.6 2.5 14.1 6.1 19.3 10.7s9.3 10.3 12.1 17c2.7 6.6 4.1 14.1 4.1 22.3 0 8.7-1.4 16.6-4 23.3-2.7 6.8-6.3 12.9-10.6 18.5-4.5 5.6-9.5 10.6-15.3 15.2-5.8 4.6-11.8 9.1-18 13.4-4.2 3-8.3 5.9-12.2 8.9-3.9 2.9-7.4 5.8-10.4 8.7-3 2.9-5.3 5.7-7.1 8.4-1.9 2.7-2.7 7.8-2.7 10.3H384V416z" />',viewBox:"0 0 512 512"},fa={name:"group-box",content:'<path d="M144 81.6c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H160v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zM316 115.7c-2.7-9.3-6.6-17.2-11.8-23.8-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V32H192v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-30.9zm-32.6 73.6c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM450 110c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6-3.3-5.8-7.6-10.5-12.7-14.2-5.2-3.9-11.2-6.8-18-8.8-6.9-2-14.2-3-22.2-3-10.3 0-19.5 1.6-28 4.9-8.5 3.3-15.7 8.1-21.8 14.4-6 6.3-10.7 14.1-14 23.3-3.3 9.2-4.9 19.7-4.9 31.5 0 11.9 1.6 22.5 4.9 31.7 3.1 9.2 7.8 17 13.9 23.2 6 6.3 13.3 11.1 21.8 14.4 8.3 3.3 17.9 5 28.2 5 8 0 15.3-1 22.2-3 6.8-2 12.8-4.9 18-8.8 5.1-3.9 9.4-8.8 12.7-14.4 3.3-5.6 5.5-12.1 6.4-19.6h-27c-.3 4.2-1.2 7.9-3 11.2-1.8 3.2-4.2 5.9-7 8.1-3 2.2-6.3 3.9-10.1 4.9-3.9 1.2-7.9 1.7-12.2 1.7-6.3 0-11.9-1.2-17-3.5-5.2-2.3-9.7-5.8-13.4-10.4-3.7-4.5-6.6-10.2-8.5-17-2.1-6.8-3.1-14.7-3.1-23.6 0-9.1 1-17.1 3.1-23.9 2.1-6.9 5.1-12.5 8.8-17.1 3.7-4.5 8-7.8 13.3-10.1 5.1-2.3 10.7-3.5 16.8-3.5 4.3 0 8.3.6 12.2 1.7 3.9 1.2 7.2 2.7 10.1 4.9 2.8 2.4 5.2 5.1 6.9 8.4zM128 256h256v32H128v-32zm0 64h256v32H128v-32zm0 64h256v32H128v-32zm256 32H128v-32h256v32zm0-128H128v-32h256v32zm0 64H128v-32h256v32zm32-96h32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V256h32v192h320V256z" />',viewBox:"0 0 512 512"},ma={name:"textarea",content:'<path d="M448 448h-32V256h32v192zM194 334c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6-3.3-5.8-7.6-10.5-12.7-14.2-5.2-3.9-11.2-6.8-18-8.8-6.9-2-14.2-3-22.2-3-10.3 0-19.5 1.6-28 4.9-8.5 3.3-15.7 8.1-21.8 14.4-6 6.3-10.7 14.1-14 23.3-3.3 9.2-4.9 19.7-4.9 31.5 0 11.9 1.6 22.5 4.9 31.7 3.1 9.2 7.8 17 13.9 23.2 6 6.3 13.3 11.1 21.8 14.4 8.3 3.3 17.9 5 28.2 5 8 0 15.3-1 22.2-3 6.8-2 12.8-4.9 18-8.8 5.1-3.9 9.4-8.8 12.7-14.4 3.3-5.6 5.5-12.1 6.4-19.6h-27c-.3 4.2-1.2 7.9-3 11.2-1.8 3.2-4.2 5.9-7 8.1-3 2.2-6.3 3.9-10.1 4.9-3.9 1.2-7.9 1.7-12.2 1.7-6.3 0-11.9-1.2-17-3.5-5.2-2.3-9.7-5.8-13.4-10.4-3.7-4.5-6.6-10.2-8.5-17-2.1-6.8-3.1-14.7-3.1-23.6 0-9.1 1-17.1 3.1-23.9 2.1-6.9 5.1-12.5 8.8-17.1 3.7-4.5 8-7.8 13.3-10.1 5.1-2.3 10.7-3.5 16.8-3.5 4.3 0 8.3.6 12.2 1.7 3.9 1.2 7.2 2.7 10.1 4.9 2.8 2.4 5.2 5.1 6.9 8.4zm14-252.4c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H224v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zM380 115.7c-2.7-9.3-6.6-17.2-11.8-23.8-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V32H256v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-30.9zm-32.6 73.6c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM256 370.6c0 11.8 1.6 22.5 4.6 32.1 3.2 9.5 7.5 17.6 13 24.4 5.6 6.6 12.1 11.8 19.7 15.5 7.5 3.6 15.7 5.4 24.5 5.4 15.7 0 29.1-5 40-14.8V448H384V256h-26.2v60.1c-11.5-13.6-25.3-20.5-41.7-20.5-9.5 0-18 1.7-25.5 5.2-7.3 3.6-13.7 8.6-18.7 15-5.2 6.6-9.1 14.5-11.8 23.8-2.8 9.2-4.1 19.5-4.1 31zm26.8 0c0-18.1 3.2-31.8 9.3-41 6.2-9.3 14.8-13.9 26.2-13.9 14.4 0 27.5 8.3 39.4 24.9v69.1c-11.1 11.9-23.9 17.8-38.4 17.8-11.2 0-20.2-4.7-26.8-14.2-6.4-9.4-9.7-23.8-9.7-42.7z" />',viewBox:"0 0 512 512"},va={name:"textbox",content:'<path d="M208 209.6c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H224v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zm170.3-89.9c-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V160H256v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-31-2.8-9.3-6.7-17.1-11.8-23.7zm-20.8 97.4c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM448 64v384h-32V64h32z" />',viewBox:"0 0 512 512"},ga={name:"textbox-hidden",content:'<path d="M0 160h32v64H0v-64zm0-32h32V64H0v64zm0 288h32v-64H0v64zm160 96h64v-32h-64v32zm-96 0h64v-32H64v32zM352 0h-64v32h64V0zm-96 0h-64v32h64V0zM0 512h32v-64H0v64zM448 0h-64v32h64V0zM160 0H96v32h64V0zM64 0H0v32h64V0zM0 320h32v-64H0v64zm480 128h32v-64h-32v64zm0-96h32v-64h-32v64zm0-96h32v-64h-32v64zm0-96h32V96h-32v64zm0-160v64h32V0h-32zm-32 512h64v-32h-64v32zm-192 0h64v-32h-64v32zm96 0h64v-32h-64v32zm-6-165.4c-7.4 3.6-15.6 5.4-24.3 5.4-15.6 0-28.9-5-39.7-14.8V352h-26V160h26v60.1c11.4-13.6 25.1-20.5 41.4-20.5 9.4 0 17.9 1.7 25.3 5.2 7.2 3.6 13.6 8.6 18.6 15 5.2 6.6 9 14.5 11.7 23.8 2.7 9.2 4 19.5 4 31 0 11.8-1.6 22.5-4.6 32.1-3.2 9.5-7.4 17.6-12.9 24.4-5.5 6.6-12 11.7-19.5 15.5zm10.9-72c0-18.1-3.2-31.8-9.3-41-6.2-9.3-14.8-13.9-26.2-13.9-14.4 0-27.5 8.3-39.4 24.9v69.1c11.1 11.9 23.9 17.8 38.4 17.8 11.2 0 20.2-4.7 26.8-14.2 6.4-9.4 9.7-23.8 9.7-42.7zM224 253.5V351h-26v-17.6S167.1 352 146.2 352c-7.3 0-13.9-1-20-3.2-6.2-2-11.6-4.9-16-8.7-4.5-3.8-8-8.1-10.4-13.4-2.5-5.2-3.8-10.8-3.8-17.2 0-34.2 29.8-51.4 89.1-51.5h12.8c0-5.2 0-9.9-.1-13.5-.3-3.8-.7-6.8-1.4-9.4-.7-2.6-1.7-4.8-3.2-6.6-1.6-1.7-3.6-3.5-6.2-5.1-5.2-3.2-13.4-4.8-24.4-4.8-23.2 0-35.3 8.2-36 24.4h-26.1c1.9-29.6 23.1-44.6 63.6-44.6 18.9 0 33.5 3.6 44.1 11.1 10.4 7.4 15.8 22 15.8 44zM198 277h-18c-38 0-56.9 10.3-56.9 30.9 0 7.4 2.8 13.1 8.3 17.2 5.5 3.9 12.9 5.9 22.5 5.9 4.2 0 8.6-.4 12.8-1.4s8.3-2.5 12.2-4.3c3.9-1.9 7.5-4.2 10.7-6.8 3.3-2.7 6.1-5.6 8.4-9V277zM448 64h-32v384h32V64z" />',viewBox:"0 0 512 512"},ba={name:"password",content:'<path d="M480 64v384h-32V64h32zM174.2 221.1l-11.3-11.3-34.9 34.9V192H96v52.7l-34.9-34.9-11.3 11.3L84.7 256H32v32h52.7l-34.9 34.9 11.3 11.3L96 299.3V352h32v-52.7l34.9 34.9 11.3-11.3-34.9-34.9H192v-32h-52.7l34.9-34.9zm224 0-11.3-11.3-34.9 34.9V192h-32v52.7l-34.9-34.9-11.3 11.3 34.9 34.9H256v32h52.7l-34.9 34.9 11.3 11.3 34.9-34.9V352h32v-52.7l34.9 34.9 11.3-11.3-34.9-34.9H416v-32h-52.7l34.9-34.9z" />',viewBox:"0 0 512 512"},ya={name:"paragraph-add",content:'<path d="M320 96h-64v352h-32V96h-64v352h-32V256c-53 0-96-43-96-96s43-96 96-96h192v32zm96 256v-64h-32v64h-64v32h64v64h32v-64h64v-32h-64z" />',viewBox:"0 0 512 512"},wa={name:"edit-tools",content:'<path d="m260.6 288 11.5 31.5 56.2-56.6L244.2 32H139.8L0 416h76.8l28-76.8 18.6-51.2h137.2zm-17.5-48H140.9L192 99.5 243.1 240zM224 413.3V480h66.7l169.7-168.5-67.9-67.9L224 413.3zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6-135.8 135.8zm223.4-178-22.6 22.6-67.9-67.9 22.5-22.7c12.5-12.4 32.9-12.4 45.3 0l22.7 22.7c12.4 12.4 12.4 32.8 0 45.3z" />',viewBox:"0 0 512 512"},xa={name:"template-manager",content:'<path d="M377.2 292.1c-5.5 5.3-7.2 6.4-7.4 6.6-.2.1-.4.2-.9.2-.1-.2-.3-.7-.5-1.7s-.5-4.2-.5-15.1v-31.7c0-9.9-.7-16.2-2.3-19.7-2.4-5.4-6.1-9.4-11.2-12-6.2-3.1-14-4.7-23.3-4.7-12.3 0-22.1 2.8-29 8.4-7.2 5.7-10.9 12.3-10.9 19.4 0 4.1 1.2 7.5 3.6 10 2.5 2.7 5.7 4 9.6 4 3.9 0 7.2-1.3 9.6-3.8 2.4-2.4 3.6-5.9 3.6-10.2l-.2-5.8c0-1.9.9-3.5 2.7-5.1 1.8-1.6 4.4-2.4 7.9-2.4 4.7 0 8.1 1.3 10.4 3.9 1.7 1.9 3.6 6.3 3.6 16.8v.9c-15.6 5.6-26.5 10.2-33.4 14.1-7.8 4.4-13.1 9.1-16.3 14.3-2.5 3.9-3.7 8.5-3.7 13.8 0 8.2 2.5 14.9 7.5 20 5 5.2 11.6 7.8 19.4 7.8 4.9 0 9.5-1 13.8-2.9 2.2-1 6.6-3.9 13.5-8.9.7 2.9 1.9 5.2 3.5 6.9 2.8 3.1 6.6 4.7 11.2 4.7 8.5 0 17.1-5.6 25.7-16.8l.8-1v-16.3l-6.8 6.3zm-35.2-.2c-8.9 6.7-14.1 8.1-16.9 8.1h-.1c-2.8 0-5.1-1.1-7.4-3.6-2.3-2.4-3.5-5.6-3.5-9.5 0-3 .9-5.8 2.8-8.4 2.1-2.8 5.7-5.6 10.6-8.2 2.4-1.3 7.2-3.4 14.4-6.2l.1 27.8zm-97.9 12.2c-1.3-1.4-4-5.6-7.9-17.9L195.6 160h-7.7l-41 124.9c-4.1 12.7-7 17.9-8.8 20.1-.3.4-1.8 1.8-7.4 3.1l-2.8.6V320h43v-11.7l-3.2-.3c-6.6-.6-8.3-2-8.6-2.3-.9-.9-1.3-1.9-1.3-3 0-1.6.5-4.8 2.6-11.5l5.3-16.2h42.1l4.6 14c2.6 8.1 3.1 12 3.1 13.8 0 1.3-.4 2.2-1.3 3.2-.3.4-1.9 1.6-7 1.9l-3.3.2V320h52v-11.8l-3.2-.3c-3.8-.3-6.6-1.5-8.6-3.8zM172.5 254l14.7-44.6 14.4 44.6h-29.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-224-32h-64v-64h64v64zm96 0h-64v-64h64v64zm96 0h-64v-64h64v64z" />',viewBox:"0 0 512 512"},ka={name:"change-manually",content:'<path d="m416 353 32-32v159H32V32h416v64h-32V64H64v384h352v-95zm-192-3.7V416h66.7l169.7-168.5-67.9-67.9L224 349.3zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6-135.8 135.8zM502.7 160 480 137.3c-12.4-12.4-32.8-12.4-45.3 0L412.2 160l67.9 67.9 22.6-22.6c12.4-12.5 12.4-32.9 0-45.3zM191.9 416H167v-22h-.6c-7.9 14.6-19.4 22-34.6 22-11.2 0-20-3.3-26.3-9.8S96 391 96 380.3c0-23.1 12.4-36.5 37.2-40.4l33.9-5.1c0-17.4-7.7-26.1-23.2-26.1-13.6 0-25.8 5-36.8 15v-24.2c12-7.6 25.9-11.5 41.7-11.5 28.8 0 43.3 15.2 43.3 45.6V416h-.2zM167 353.1l-23.9 3.6c-7.4 1-13 3-16.8 5.8s-5.6 7.8-5.6 14.9c0 5.2 1.7 9.4 5.2 12.7 3.5 3.3 8.1 5 13.9 5 7.9 0 14.4-3 19.5-8.9 5.2-5.9 7.7-13.4 7.7-22.4v-10.7z" />',viewBox:"0 0 512 512"},za={name:"track-changes",content:'<path d="m412.2 256 22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3L480 323.8 412.2 256zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6-67.9-67.9zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM288 160H160v32h128v-32zm64 64H160v32h192v-32zm-64 64H160v32h128v-32zm-64 64h-64v32h64v-32zm188.2-96 22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3L480 323.8 412.2 256zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6-67.9-67.9zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM96 416V64h224v96h96v32h32v-64l-96-96H96c-17.7 0-32 14.3-32 32v352c0 17.7 14.3 32 32 32h96v-32H96zM0 512h192v-32H0v32z" />',viewBox:"0 0 512 512"},Ca={name:"track-changes-enable",content:'<path d="M502.7 173.3 480 195.8 412.2 128l22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3zm-110.2-25.7 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3 135.8-135.8zM160 320h32v-32h-32v32zm0-64h96v-32h-96v32zm128-96H160v32h128v-32zM160 384h32v-32h-32v32zm256 64H96V64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32V448z" />',viewBox:"0 0 512 512"},_a={name:"track-changes-accept",content:'<path d="M128 128H96V64c0-17.7 14.3-32 32-32h224l64 64h-96V64H128v64zm122.9 193.2L224 349.3V416h66.7l28.1-26.9 141.6-141.6-67.9-67.9-141.6 141.6zm28.4 62.1L268 372l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM416 337.155l32-32V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288V337.155zM502.7 205.3 480 227.8 412.2 160l22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3zM288 144 112 320 0 208l45-45 67 67L243 99l45 45zm-96 272h-32v-32h32v32z" />',viewBox:"0 0 512 512"},Ia={name:"track-changes-accept-all",content:'<path d="M128 160H96V96c0-17.7 14.3-32 32-32h224l64 64h-96V96H128v64zm264.5 51.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3 135.8-135.8zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32V480zm86.7-288-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 192l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM160 448h32v-32h-32v32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32V32zm0 352H32v32c0 17.7 14.3 32 32 32v-64zm179-253L112 262l-67-67-45 45 112 112 176-176-45-45z" />',viewBox:"0 0 512 512"},Ea={name:"track-changes-reject",content:'<path d="M102.627 272 160 329.373 137.373 352 80 294.627 22.627 352 0 329.373 57.373 272 0 214.627 22.627 192 80 249.373 137.373 192 160 214.627 102.627 272zM192 384v-32h-32v32h32zm310.7-256-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 128l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM96 64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v96h32V64zm296.5 83.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3 135.8-135.8zM416 448H96v-64H64v64c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32V448z" />',viewBox:"0 0 512 512"},Sa={name:"track-changes-reject-all",content:'<path d="M102.627 272 160 329.373 137.373 352 80 294.627 22.627 352 0 329.373 57.373 272 0 214.627 22.627 192 80 249.373 137.373 192 160 214.627 102.627 272zM128 96h192v32h96l-64-64H128c-17.7 0-32 14.3-32 32v64h32V96zm264.5 115.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3 135.8-135.8zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32V480zm86.7-288-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 192l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM160 448h32v-32h-32v32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32V32zm0 352H32v32c0 17.7 14.3 32 32 32v-64z" />',viewBox:"0 0 512 512"},Ma={name:"document-manager",content:'<path d="M64 416h224v32H64v-32zm224-64H64v32h224v-32zM400 0C288 0 288 96 288 96v160s0 64 80 64 80-64 80-64V96s0-32-48-32-48 32-48 32v128h32V116c0-11 .6-20 16-20s16 9 16 20v140s0 32-48 32-48-32-48-32V96s0-64 80-64 80 64 80 64v128h32V96s0-96-112-96zM106.7 288 96 320H64l64-192h32l64 192h-32l-10.7-32h-74.6zm10.6-32h53.3L144 176l-26.7 80zM320 480H32V96h224V64H32C14.3 64 0 78.3 0 96v384c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V352h-32v128z" />',viewBox:"0 0 512 512"},Oa={name:"custom-icon",content:'<path d="M352 249H196.6c.6 23.8 7.2 42.2 19.8 55.2s30 18.8 52 19.4c4.9.1-1.1 28.8-12.4 28.8-30.9 0-51.6-9.7-69.3-29.1-17.8-19.4-26.7-46.8-26.7-82 0-33.3 9.7-60.4 29.1-81.4s43.5-31.4 72.4-31.4c28.8 0 51.1 9.1 66.9 27.2S352 199 352 231.1V249zm-36-29.9c-.1-19.8-5.1-35.2-14.7-46.2-9.7-11-23.1-16.5-40.3-16.5-16.6 0-30.7 5.8-42.4 17.3-11.6 11.6-18.8 26.7-21.5 45.3l118.9.1zM448 384V64c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h256l96-96zm-32-32h-96v96H96V64h320v288z" />',viewBox:"0 0 512 512"},Ra={name:"book",content:'<path d="M448 480V96h-32v352H128c-17.6 0-32-14.4-32-32s14.4-32 32-32h256V32H128c-35.2 0-64 28.8-64 64v320c0 23.6 12.9 44.2 32 55.3 9.4 5.5 20.4 8.7 32 8.7h320zM128 64h224v288H128V64zm192 64H160V96h160v32zm0 128H160v-32h160v32zm-32-64H160v-32h128v32z" />',viewBox:"0 0 512 512"},Ha={name:"image-add",content:'<path d="M272 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm80 112-16 16-64 64-128-128L32 336V96.1l.1-.1h383.8l.1.1-.1 191.9H448V96c0-17.6-14.4-32-32-32H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h256v-64h64V272zm128 144h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-32z" />',viewBox:"0 0 512 512"},Fa={name:"image-edit",content:'<path d="M304 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm-32.6 159.4L176 224 64 336V96.1l.1-.1h383.8l.1.1V160h32V96c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h128v-47.5l79.4-81.1zm189-7.9L290.7 480H224v-66.7l168.5-169.7 67.9 67.9zm-45.3 0-22.6-22.6-135.8 135.8 22.6 22.6 135.8-135.8zm64.9 25.6zM447.9 448c17.7 0 32.1-14.4 32.1-32v-78.9L369.1 448h78.8zm54.8-224L480 201.3c-12.4-12.4-32.8-12.4-45.3 0L412.2 224l67.9 67.9 22.6-22.6c12.4-12.5 12.4-32.9 0-45.3z" />',viewBox:"0 0 512 512"},Va={name:"image-map-editor",content:'<path d="M448 64H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zM96 384H64v-32h32v32zm96 0h-64v-32h64v32zm96 0h-64v-32h64v32zm96 0h-64v-32h64v32zm64 0h-32v-32h32v32zm-.1-48-64-64-80 80L176 224 64 336V192h32v-32H64V96.1l.1-.1H128v32h32V96h287.9l.1.1-.1 239.9zM352 208c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm-224-48h32v32h-32v-32z" />',viewBox:"0 0 512 512"},Da={name:"comment",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v416l96-96h320c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 319.942a.53.53 0 0 1-.058.058H114.745L64 402.745V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057v287.885z" />',viewBox:"0 0 512 512"},Ba={name:"comment-remove",content:'<path d="M114.745 352 64 402.745V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057V256h32V64c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v416l96-96h128v-32H114.745zM480 342.627 457.373 320 400 377.373 342.627 320 320 342.627 377.373 400 320 457.373 342.627 480 400 422.627 457.373 480 480 457.373 422.627 400 480 342.627z" />',viewBox:"0 0 512 512"},Aa={name:"comments-remove",content:'<path d="M480 64c0-17.6-14.4-32-32-32H160c-17.6 0-32 14.4-32 32v32h32V64.1l.1-.1H448l.1.1V256l-.1.1h32V64zM377.4 400l22.6 22.6-57.4 57.4-22.6-22.6 57.4-57.4zm0 0L320 342.6l22.6-22.6 57.4 57.4-22.6 22.6zm45.2 0 57.4 57.4-22.6 22.6-57.4-57.4-22.6-22.6 22.6-22.6 57.4-57.4 22.6 22.6-57.4 57.4zm-304.3-16L64 420.2V160.1l.1-.1H352l.1.1V256h32v-96c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v320l96-64h128v-32H118.3z" />',viewBox:"0 0 512 512"},Na={name:"silverlight",content:'<path d="M256 0 0 256l256 256 256-256L256 0zm-75.9 324c-21.6 0-40.5-6.3-52.1-13.7v-33.2c14.5 10.8 32.9 17.9 51.4 17.9 16.3 0 28.6-5 28.6-17.6 0-10.6-6.8-14.5-18.9-18.9l-23.6-7.9c-23.9-7.9-39.7-20.3-39.7-47 0-29.9 25.7-46.2 57.3-46.2 19.7 0 35.8 4.7 48.8 12.6v32.9c-13.9-10.2-29.1-16.8-47.8-16.8-14.5 0-25.5 4.9-25.5 16 0 9.9 6.5 13.9 17.9 17.6l25.2 8.6c27.1 9.2 39.4 23.9 39.4 47.8.2 31.9-26.8 47.9-61 47.9zm95.9-4V160h32v128h76v32H276z" />',viewBox:"0 0 512 512"},La={name:"media-manager",content:'<path d="M192 384V128l192 128-192 128zm32-319.3V0C108.2 14.4 14.4 108.2 0 224h64.7c13.5-80.3 79-145.8 159.3-159.3zm64 382.6V512c115.8-14.4 209.6-108.2 224-224h-64.7c-13.5 80.3-79 145.8-159.3 159.3zM64.7 288H0c14.4 115.8 108.2 209.6 224 224v-64.7c-80.3-13.5-145.8-79-159.3-159.3zm382.6-64H512C497.6 108.2 403.8 14.4 288 0v64.7c80.3 13.5 145.8 79 159.3 159.3z" />',viewBox:"0 0 512 512"},Pa={name:"video-external",content:'<path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm-64 384V128l192 128-192 128z" />',viewBox:"0 0 512 512"},Ta={name:"flash-manager",content:'<path d="M255.9 0C114.6 0 0 114.6 0 256.1 0 397.4 114.6 512 255.9 512 397.4 512 512 397.4 512 256.1 512 114.6 397.4 0 255.9 0zM384 160c-30.1.3-48.4-4.6-81.2 64H352v64h-64s-53.5 129.4-160 128c-.8-14.2 0-43.9 0-64 70.5-10.7 93.6-88.3 109.9-126.9C286.3 74.5 384 95.1 384 95.1V160z" />',viewBox:"0 0 512 512"},ja={name:"binoculars",content:'<path d="M480 288v96c0 17.7-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32v-64H192v64c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32v-96c0-17.7 14.3-32 32-32v-64c0-17.7 14.3-32 32-32v-32c0-17.7 14.3-32 32-32h64s32 0 32 32v128h64V128c0-32 32-32 32-32h64c17.7 0 32 14.3 32 32v32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32zM208 64h16V32h-96v32h80zm160 0h16V32h-96v32h80zM48 448H32v32h160v-32H48zm272 32h160v-32H320v32z" />',viewBox:"0 0 512 512"},Ua={name:"copy",content:'<path d="M384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zM64 384h64v32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h192l32 32H64v320z" />',viewBox:"0 0 512 512"},Ka={name:"cut",content:'<path d="M480 32h-45.3L256 210.7 210.7 256l-69.5 69.5c-9.1-3.6-18.9-5.5-29.2-5.5-44.2 0-80 35.8-80 80 0 10.3 2 20.2 5.5 29.2 8.1 20.7 24.6 37.1 45.3 45.3 9.1 3.6 18.9 5.5 29.2 5.5 44.2 0 80-35.8 80-80 0-10.3-2-20.2-5.5-29.2l69.5-69.5 69.5 69.5c-3.6 9.1-5.5 18.9-5.5 29.2 0 44.2 35.8 80 80 80 10.3 0 20.2-2 29.2-5.5 20.7-8.1 37.1-24.6 45.3-45.3 3.6-9.1 5.5-18.9 5.5-29.2 0-44.2-35.8-80-80-80-10.3 0-20.2 2-29.2 5.5L301.3 256 480 77.3V32zM160 400c0 26.5-21.5 48-48 48-.9 0-1.8 0-2.7-.1-24.4-1.3-43.9-20.9-45.3-45.3 0-.9-.1-1.8-.1-2.7 0-26.5 21.5-48 48-48 .9 0 1.8 0 2.7.1 24.4 1.3 43.9 20.9 45.3 45.3.1.9.1 1.8.1 2.7zm237.3-47.9c.9 0 1.8-.1 2.7-.1 26.5 0 48 21.5 48 48 0 .9 0 1.8-.1 2.7-1.3 24.4-20.9 43.9-45.3 45.3-.9 0-1.8.1-2.7.1-26.5 0-48-21.5-48-48 0-.9 0-1.8.1-2.7 1.4-24.5 20.9-44 45.3-45.3zM240 256c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16-16-7.2-16-16zm-74.5-45.3L32 77.3V32h45.3l133.5 133.5-45.3 45.2z" />',viewBox:"0 0 512 512"},Wa={name:"clipboard",content:'<path d="M416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},qa={name:"clipboard-code",content:'<path d="M214.6 361.4 192 384l-80-80 80-80 22.6 22.6-57.3 57.4 57.3 57.4zM448 64v384c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h104.6C211.7 12.9 232.3 0 256 0s44.3 12.9 55.4 32H416c17.7 0 32 14.3 32 32zm-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32zm192 0h-64v64H160V64H96v384h320V64zM297.4 246.6l57.4 57.4-57.4 57.4L320 384l80-80-80-80-22.6 22.6z" />',viewBox:"0 0 512 512"},$a={name:"clipboard-word",content:'<path d="m128 160 48.5 192h46.7L256 238.4 285.3 352h43.1L384 160h-73v35h19.3l-22.2 86-28.8-121h-45.4l-33.1 119.3-25-119.3H128zM416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384zm-32-32H128v-32h256v32z" />',viewBox:"0 0 512 512"},Ga={name:"clipboard-word-alt",content:'<path d="m128 160 48.5 192h46.7L256 238.4 285.3 352h43.1L384 160h-73v35h19.3l-22.2 86-28.8-121h-45.4l-33.1 119.3-25-119.3H128zM416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},Ya={name:"clipboard-html",content:'<path d="M214.6 361.4 192 384l-80-80 80-80 22.6 22.6-57.3 57.4 57.3 57.4zM448 64v384c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h104.6C211.7 12.9 232.3 0 256 0s44.3 12.9 55.4 32H416c17.7 0 32 14.3 32 32zm-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32zm192 0h-64v64H160V64H96v384h320V64zM271.2 183.9 209.8 416l30.9 8.3L302.2 192l-31-8.1zm26.2 62.7 57.4 57.4-57.4 57.4L320 384l80-80-80-80-22.6 22.6z" />',viewBox:"0 0 512 512"},Xa={name:"clipboard-markdown",content:'<path d="M226 224h30v128h-32v-72.8l-32.2 45.6L160 279v73h-32V224h32l31.8 46.2L226 224zm126 64h32l-48 64-48-64h32l.2-64H352v64zm64-256H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},Za={name:"clipboard-text",content:'<path d="M416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384zm-32-224H128v-32h256v32zm0 64H128v-32h256v32zm0 64H128v-32h256v32zm0 64H128v-32h256v32z" />',viewBox:"0 0 512 512"},Ja={name:"apply-format",content:'<path d="M380.984 313.69c12.445 12.445 12.445 32.81 0 45.255L266.529 470.658c-12.445 12.445-32.787 12.467-45.255 0L0 248.898c18.584 18.584 40.255-4.835 40.255-4.835L154.71 132.671c12.445-12.445 32.81-12.445 45.255 0L380.984 313.69zm89.682-227.101-45.255-45.255c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882-22.627-22.627c-12.445-12.445-32.81-12.445-45.255 0l-22.627 22.627 181.019 181.019 22.627-22.627c12.445-12.445 12.445-32.81 0-45.255l-22.627-22.627 67.882-67.882c12.445-12.446 12.445-32.81 0-45.255z" />',viewBox:"0 0 512 512"},Qa={name:"clear-css",content:'<path d="M402.784 290.235 221.765 109.216l22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627 67.882-67.882c12.445-12.445 32.81-12.445 45.255 0l45.255 45.255c12.445 12.445 12.445 32.81 0 45.255l-67.882 67.882 22.627 22.627c12.445 12.445 12.445 32.81 0 45.255l-22.627 22.627zm-21.8 23.455-181.02-181.019c-12.346-12.346-32.483-12.437-44.953-.287L54.627 32 32 54.627l100.074 100.074-91.819 89.362S18.585 267.482 0 248.898l221.274 221.76c12.467 12.467 32.81 12.445 45.255 0l91.851-89.651L457.373 480 480 457.373l-98.73-98.73c12.151-12.47 12.06-32.607-.286-44.953z" />',viewBox:"0 0 512 512"},es={name:"copy-format",content:'<path d="M96 480h160v32H64v-64H0V288h32v128h32v-64h32v128zm32-32h96v-32h-96v32zm0-96v32h32v-32h-32zm284.2-92.6L253.8 101c-12.4-12.4-32.9-12.4-45.3.1l-69.8 69.8-.2.2c-11.6 11.6-30 12.7-42.5 2.7l200.9 200.9c12.5 12.5 32.8 12.4 45.3 0l69.9-69.9c12.5-12.5 12.5-33 .1-45.4zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2z" />',viewBox:"0 0 512 512"},ts={name:"strip-all-formatting",content:'<path d="M32 480h224v32H0v.1V256h32v224zm32-32h159v-32H64v32zm97-96H63v32h98v-32zm-65-64H64v32h32v-32zm316.2-28.6L253.8 101c-12.4-12.4-32.9-12.4-45.3.1l-69.8 69.8-.2.2c-11.6 11.6-30 12.7-42.5 2.7l200.9 200.9c12.5 12.5 32.8 12.4 45.3 0l69.9-69.9c12.5-12.5 12.5-33 .1-45.4zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2z" />',viewBox:"0 0 512 512"},ns={name:"strip-css-format",content:'<path d="M0 288v224h416V288H0zm145 65.9c-10-6.2-21-9.3-33.4-9.3-13.6 0-24.5 4.6-32.9 13.7-8.3 9.1-12.5 21.5-12.5 37.1 0 15 3.9 26.9 11.8 35.8s18.4 13.3 31.7 13.3c12.7 0 24.3-3.3 34.3-9.9v31.8c-9.9 5.5-23.7 8.2-40.7 8.2-22.2 0-39.6-7-52.3-20.9-12.7-14-19-32.5-19-55.8 0-24.7 7.1-44.8 21.4-60.2 14.3-15.4 32.8-23.1 55.6-23.1 14.1 0 26 1.9 36 5.7v33.6zM260.6 450c-3.1 5.9-7.2 10.6-12.4 14.2-5.2 3.6-11.3 6.2-18.2 7.8-7 1.6-14.3 2.4-21.9 2.4-7.9 0-15.4-.7-22.5-2.2-7.2-1.4-13.4-3.6-18.5-6.5v-34.4c5.8 5.3 12.2 9.2 18.9 11.8 6.9 2.6 13.8 3.9 20.7 3.9 4.1 0 7.7-.4 10.7-1.2 3.1-.8 5.6-1.9 7.7-3.3 2-1.4 3.6-3.1 4.6-5 1-1.9 1.5-4 1.5-6.2 0-3-.8-5.7-2.4-8.1-1.6-2.4-3.8-4.6-6.6-6.6s-6.1-4-9.9-5.8c-3.8-1.9-8-3.8-12.4-5.7-11.3-5-19.6-11.2-25.1-18.4-5.5-7.3-8.3-15.9-8.3-26.2 0-8.1 1.5-15 4.5-20.7s7.1-10.6 12.3-14.3c5.2-3.7 11.2-6.5 18-8.3 6.9-1.8 14.1-2.6 21.7-2.6 7.5 0 14.2.5 19.9 1.5 5.8 1 11.2 2.5 16 4.5v32.2c-2.4-1.8-5.1-3.4-7.9-4.7-2.9-1.4-5.8-2.5-8.8-3.4s-6-1.6-9-2c-3-.4-5.8-.6-8.5-.6-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2-2.1 1.4-3.7 3-4.8 4.9-1.1 1.9-1.7 4-1.7 6.4 0 2.6.6 4.9 1.9 7 1.3 2.1 3.1 4 5.4 5.8 2.3 1.8 5.2 3.6 8.6 5.4s7.2 3.6 11.4 5.5c5.8 2.6 11 5.3 15.5 8.3 4.6 2.9 8.6 6.2 11.8 9.9 3.3 3.7 5.8 7.9 7.6 12.6 1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.6 15.7-4.6 21.5zm119 0c-3.1 5.9-7.2 10.6-12.4 14.2-5.2 3.6-11.3 6.2-18.2 7.8-7 1.6-14.3 2.4-21.9 2.4-7.9 0-15.4-.7-22.5-2.2-7.2-1.4-13.4-3.6-18.5-6.5v-34.4c5.8 5.3 12.2 9.2 18.9 11.8 6.9 2.6 13.8 3.9 20.7 3.9 4.1 0 7.7-.4 10.7-1.2 3.1-.8 5.6-1.9 7.7-3.3 2-1.4 3.6-3.1 4.6-5 1-1.9 1.5-4 1.5-6.2 0-3-.8-5.7-2.4-8.1-1.6-2.4-3.8-4.6-6.6-6.6s-6.1-4-9.9-5.8c-3.8-1.9-8-3.8-12.4-5.7-11.3-5-19.6-11.2-25.1-18.4-5.5-7.3-8.3-15.9-8.3-26.2 0-8.1 1.5-15 4.5-20.7 3-5.8 7.1-10.6 12.3-14.3 5.2-3.7 11.2-6.5 18-8.3 6.9-1.8 14.1-2.6 21.7-2.6 7.5 0 14.2.5 19.9 1.5 5.8 1 11.2 2.5 16 4.5v32.2c-2.4-1.8-5.1-3.4-7.9-4.7-2.9-1.4-5.8-2.5-8.8-3.4-3-.9-6-1.6-9-2-3-.4-5.8-.6-8.5-.6-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2-2.1 1.4-3.7 3-4.8 4.9-1.1 1.9-1.7 4-1.7 6.4 0 2.6.6 4.9 1.9 7 1.3 2.1 3.1 4 5.4 5.8 2.4 1.8 5.2 3.6 8.6 5.4 3.4 1.8 7.2 3.6 11.4 5.5 5.8 2.6 11 5.3 15.5 8.3 4.6 2.9 8.5 6.2 11.8 9.9 3.3 3.7 5.8 7.9 7.6 12.6 1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.5 15.7-4.6 21.5zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2zm-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9L255.8 101.9z" />',viewBox:"0 0 512 512"},rs={name:"strip-font-elements",content:'<path d="M502.666 31.961 480.039 9.334c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882-22.627-22.627c-12.445-12.445-32.81-12.445-45.255 0l-22.627 22.627 158.392 158.392 22.627-22.627c12.445-12.445 12.445-32.81 0-45.255l-22.627-22.627 67.882-67.882c12.444-12.446 12.444-32.811-.001-45.256zm-246.848 69.936c-12.445-12.445-32.81-12.445-45.255 0l-79.706 79.706c-12.445 12.445-32.81 12.445-45.255 0L160 256h249.921L255.818 101.897zM176 348.121 200.706 416h-49.412L176 348.121zM0 288v224h352V288H0zm224 192-11.647-32h-72.706L128 480H96l58.235-160h43.53L256 480h-32z" />',viewBox:"0 0 512 512"},os={name:"strip-span-elements",content:'<path d="M96 288 0 400l96 112h256V288H96zm170.3 167.5c-3.9 5.9-9.3 10.6-16.1 14.2-6.8 3.6-14.6 6.2-23.6 7.8-9 1.6-18.4 2.4-28.4 2.4-10.2 0-20-.7-29.2-2.2-9.2-1.4-17.2-3.6-24-6.5v-34.5c7.5 5.2 15.7 9.2 24.6 11.8 8.8 2.6 17.8 3.9 26.8 3.9 5.3 0 9.9-.4 13.9-1.2 3.9-.8 7.2-1.9 9.9-3.3 2.6-1.4 4.6-3.1 5.9-5 1.3-1.9 2-4 2-6.2 0-3-1-5.7-3.1-8.1-2.1-2.4-4.9-4.6-8.5-6.6-3.6-2-7.9-4-12.8-5.8-4.9-1.9-10.3-3.8-16-5.7-14.6-5-25.4-11.2-32.6-18.4-7.2-7.3-10.7-16-10.7-26.3 0-8.1 2-15 5.9-20.8 3.9-5.8 9.2-10.5 15.9-14.3 6.7-3.7 14.5-6.5 23.3-8.3 8.8-1.8 18.2-2.6 28.1-2.6 9.7 0 18.3.5 25.8 1.5s14.4 2.5 20.7 4.5v32.3c-3.1-1.8-6.5-3.4-10.2-4.7-3.7-1.4-7.5-2.5-11.4-3.4-3.9-.9-7.8-1.6-11.6-2-3.9-.4-7.5-.6-11-.6-4.8 0-9.1.4-13 1.1-3.9.8-7.2 1.8-9.9 3.2-2.7 1.4-4.8 3-6.2 4.9-1.5 1.9-2.2 4-2.2 6.4 0 2.6.8 4.9 2.5 7 1.6 2.1 4 4 7 5.8 3 1.8 6.7 3.6 11.1 5.4 4.3 1.8 9.2 3.6 14.7 5.4 7.5 2.6 14.2 5.3 20.1 8.3 5.9 2.9 11 6.2 15.3 9.9 4.2 3.7 7.5 7.9 9.8 12.6 2.3 4.7 3.4 10.2 3.4 16.4-.3 8.6-2.3 15.9-6.2 21.7zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2zm-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9L255.8 101.9z" />',viewBox:"0 0 512 512"},is={name:"strip-word-formatting",content:'<path d="M0 288v224h352V288H0zm239.3 192h-37.7L176 385.4 147.4 480h-40.9L64 320h40.6l21.9 100.4L155.8 320h40.4l25.2 100.4 19.4-71.4H224v-29h64l-48.7 160zM502.7 77.2l-67.9 67.9 22.6 22.6c12.4 12.4 12.4 32.8 0 45.3l-22.6 22.6L276.4 77.2 299 54.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6 67.9-67.9c12.4-12.4 32.8-12.4 45.3 0L502.7 32c12.4 12.4 12.4 32.8 0 45.2zM409.9 256H160l-74.4-74.4c12.4 12.4 32.8 12.4 45.3 0l79.7-79.7c12.4-12.4 32.8-12.4 45.3 0l154 154.1z" />',viewBox:"0 0 512 512"},as={name:"format-code-block",content:'<path d="M224 352v160h288V352H224zm102.6 105.4L304 480l-48-48 22.6-22.6L304 384l22.6 22.6-25.3 25.4 25.3 25.4zM432 480l-22.6-22.6 25.4-25.4-25.4-25.4L432 384l25.4 25.4L480 432l-48 48zM192 160V32c0-17.6-14.4-32-32-32h-32c-17.6 0-32 14.4-32 32v128L0 256h288l-96-96zm96 128H0v192h64V320h32v160h32V320h32v160h32V320h96v-32z" />',viewBox:"0 0 512 512"},ss={name:"building-blocks",content:'<path d="M127.9 289V128H160V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h64V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h32v160l-256.1 1zM96 320v-48c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v48H0v128h224V320H96zm384 0v-48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H288v128h224V320h-32z" />',viewBox:"0 0 512 512"},ls={name:"puzzle-piece",content:'<path d="M480 352c0 1 0 2-.1 2.9v.8c0 .8-.1 1.7-.2 2.5v.5c-.1 1-.2 1.9-.4 2.8-.1.4-.1.9-.2 1.3s-.1.8-.2 1.2c-.1.4-.2.7-.2 1.1l-.6 2.7c-.1.4-.2.7-.3 1.1 0 .2-.1.5-.2.7-.2.5-.4 1.1-.5 1.7-.3.9-.6 1.8-.9 2.6 0 .1-.1.2-.1.3-.3.8-.6 1.6-.9 2.3-.1.2-.2.5-.3.7-.3.8-.7 1.5-1 2.3 0 .1-.1.2-.1.2-.4.8-.8 1.6-1.3 2.4l-.6 1.2c-.2.4-.4.7-.6 1.1-.2.3-.3.6-.5.8-.5.8-1 1.5-1.5 2.3l-.6.9c-.2.4-.5.7-.7 1-.2.3-.5.6-.7.9-.5.7-1.1 1.4-1.7 2.1l-.3.3-1.5 1.8c-.2.2-.3.4-.5.5-.6.7-1.2 1.3-1.9 2-.6.6-1.3 1.3-2 1.9-.4.3-.7.7-1.1 1-.3.3-.7.6-1 .9-.2.1-.3.3-.5.4-.7.6-1.4 1.1-2.1 1.7-.3.3-.7.5-1 .8-.3.2-.6.5-1 .7l-.9.6c-.8.5-1.5 1-2.3 1.5-.2.1-.5.3-.7.4-.4.2-.7.4-1.1.6-.4.2-.8.5-1.3.7-.8.4-1.6.9-2.4 1.3-.1.1-.2.1-.3.2-.3.2-.7.4-1 .5-.6.2-1.2.5-1.9.8-.8.3-1.6.6-2.3.9-.1 0-.2.1-.3.1-.9.3-1.7.6-2.6.9-.6.2-1.2.3-1.7.6-.2.1-.5.1-.7.2-.4.1-.7.2-1.1.3l-2.7.6c-.3.1-.5.1-.8.2-.5.1-1.1.2-1.7.3-.4.1-.8.1-1.2.2-.9.1-1.9.3-2.8.4-.2 0-.5 0-.7.1-.4.1-.9.1-1.3.1-.6 0-1.1.1-1.7.1-1 0-2 .1-2.9.1-1.2 0-2.3 0-3.5-.1-.4 0-.7-.1-1.1-.1-.8-.1-1.6-.1-2.3-.2-.4 0-.9-.1-1.3-.2l-2.1-.3c-.4-.1-.9-.2-1.3-.2-.7-.1-1.4-.3-2-.4-.4-.1-.9-.2-1.3-.3-.7-.2-1.4-.3-2-.5l-1.2-.3c-.7-.2-1.4-.4-2.1-.7-.4-.1-.7-.2-1.1-.4-.8-.3-1.5-.6-2.3-.9-.3-.1-.5-.2-.8-.3-1-.4-1.9-.8-2.8-1.2-.1 0-.1-.1-.2-.1-3.1-1.5-6-3.2-8.8-5.1-.1 0-.1-.1-.2-.2-.8-.6-1.7-1.2-2.5-1.8-.1-.1-.2-.2-.3-.2-.8-.6-1.6-1.2-2.3-1.9-.3-.2-.6-.5-.8-.7-.5-.4-1-.8-1.4-1.3l-.5-.5c-.8-.8-1.6-1.5-2.3-2.3l-1.5-1.5c-.3-.3-.5-.6-.7-.9-.1-.2-.2-.3-.4-.5-4.9-5.7-12-8.9-19.5-8.9h-1.4c-14.3 0-25.9 11.6-25.9 25.9v70H217.9c-14.3 0-25.9-11.6-25.9-25.9v-1.4c0-7.5 3.3-14.6 8.9-19.5 15-12.5 24.2-31.6 23-52.9-1.8-32.5-28.3-58.7-60.9-60.2-36.7-1.7-67 27.6-67 63.9 0 19.6 8.8 37.1 22.6 48.8 5.9 5 9.4 12.2 9.4 19.9v1.4c0 14.3-11.6 25.9-25.9 25.9H32V192h70.1c14.3 0 25.9-11.6 25.9-25.9v-1.4c0-7.5-3.3-14.6-8.9-19.5l-.3-.3c-.7-.5-1.4-1.1-2-1.7l-.6-.6c-.8-.8-1.6-1.5-2.3-2.3l-.2-.2c-.7-.7-1.4-1.5-2.1-2.3-.1-.1-.2-.2-.2-.3-.7-.8-1.3-1.5-1.9-2.3-.1-.1-.2-.2-.2-.3-.6-.8-1.2-1.6-1.8-2.5l-.2-.2c-1.9-2.8-3.6-5.7-5.1-8.8 0-.1-.1-.1-.1-.2-.4-.9-.9-1.9-1.2-2.8-.1-.3-.2-.5-.3-.8-.3-.8-.6-1.5-.9-2.3-.1-.3-.2-.7-.4-1.1-.2-.7-.5-1.4-.7-2.1l-.3-1.2c-.2-.7-.4-1.4-.5-2-.1-.4-.2-.9-.3-1.3-.1-.7-.3-1.4-.4-2-.1-.4-.2-.9-.2-1.3l-.3-2.1c-.1-.4-.1-.9-.2-1.3-.1-.8-.1-1.6-.2-2.3 0-.4-.1-.7-.1-1.1-.1-1.2-.1-2.3-.1-3.5 0-1 0-2 .1-2.9 0-.4 0-.9.1-1.3 0-.7.1-1.4.2-2v-.4c.1-.9.2-1.9.4-2.8 0-.2.1-.4.1-.7.1-.8.3-1.6.4-2.4 0-.2.1-.4.1-.5l.6-2.7c0-.1.1-.3.1-.4.2-.7.4-1.4.6-2.2l.3-.9c.3-.9.6-1.8.9-2.6 0-.1.1-.2.1-.3.3-.8.6-1.6.9-2.3.1-.2.2-.5.3-.7.3-.8.7-1.5 1-2.3 0-.1.1-.2.1-.3.4-.8.8-1.6 1.3-2.4l.3-.6c.4-.7.7-1.3 1.1-1.9.1-.2.2-.3.3-.5.5-.8 1-1.5 1.5-2.3.1-.1.2-.3.3-.4.4-.6.9-1.2 1.3-1.8.1-.2.3-.4.4-.6.5-.7 1.1-1.4 1.7-2.1l.3-.3 1.5-1.8c.2-.2.3-.4.5-.5.6-.7 1.2-1.3 1.9-2 .6-.6 1.3-1.3 2-1.9.2-.2.4-.3.5-.5l1.8-1.5.3-.3c.7-.6 1.4-1.1 2.1-1.7.2-.1.3-.3.5-.4.6-.5 1.3-.9 1.9-1.3.2-.1.3-.2.5-.3.8-.5 1.5-1 2.3-1.5.1-.1.3-.2.4-.2.6-.4 1.3-.8 1.9-1.1.2-.1.5-.3.7-.4.8-.4 1.6-.9 2.4-1.3.1 0 .2-.1.2-.1.8-.4 1.5-.7 2.3-1 .2-.1.5-.2.7-.3.8-.3 1.5-.6 2.3-.9.1 0 .2-.1.3-.1.9-.3 1.7-.6 2.6-.9.3-.1.6-.2.8-.3.7-.2 1.4-.4 2.2-.6.2 0 .3-.1.5-.1l2.7-.6c.2 0 .4-.1.6-.1.8-.2 1.6-.3 2.3-.4.2 0 .5-.1.7-.1.9-.1 1.9-.3 2.8-.4.2 0 .4 0 .5-.1.8-.1 1.6-.1 2.5-.2h.7c1 0 1.9-.1 2.9-.1s2 0 3 .1h.7c.9.1 1.8.1 2.7.2h.2c30 3.1 53.9 26.9 57.1 57 0 .3.1.7.1 1 .1.7.1 1.4.2 2.1 0 .5 0 .9.1 1.4v5c0 .5-.1 1-.1 1.4 0 .6-.1 1.2-.1 1.7s-.1 1-.2 1.5c-.1.6-.1 1.1-.2 1.7-.1.5-.1 1-.2 1.5s-.2 1.1-.3 1.6l-.3 1.5c-.1.5-.2 1-.4 1.5-.1.5-.2 1-.4 1.5-.1.5-.3.9-.4 1.4-.2.5-.3 1-.5 1.5-.1.4-.3.9-.4 1.3-.2.5-.4 1.1-.6 1.6-.1.4-.3.8-.5 1.2-.2.6-.4 1.1-.7 1.7-.1.3-.3.7-.4 1-.3.6-.5 1.2-.8 1.8-.1.2-.2.5-.4.7-.3.7-.7 1.3-1 2 0 .1-.1.2-.1.2-3.8 6.7-8.7 12.7-14.5 17.7h-.1c-5.8 5-9.4 12.2-9.4 19.9v1.4c0 14.3 11.6 25.9 25.9 25.9H320v116.7c0 6.3 5.1 11.3 11.3 11.3H357c5.2 0 9.1-4.1 10-9.2 0-.1.1-.1.1-.2 5-5.8 10.9-10.8 17.7-14.5.1 0 .2-.1.2-.1.7-.4 1.3-.7 2-1 .2-.1.5-.2.7-.4.6-.3 1.2-.6 1.8-.8.3-.1.7-.3 1-.4.6-.2 1.1-.5 1.7-.7.4-.2.8-.3 1.2-.5.5-.2 1.1-.4 1.6-.6.4-.2.9-.3 1.3-.4.5-.2 1-.3 1.5-.5.5-.1.9-.3 1.4-.4.5-.1 1-.3 1.5-.4.5-.1 1-.2 1.5-.4l1.5-.3c.5-.1 1.1-.2 1.6-.3.5-.1 1-.2 1.5-.2.6-.1 1.1-.1 1.7-.2.5-.1 1-.1 1.5-.2.6-.1 1.1-.1 1.7-.1.5 0 1-.1 1.4-.1h5c.5 0 .9 0 1.4.1.7 0 1.4.1 2.1.2.3 0 .7.1 1 .1 30 3.1 53.9 27 57 57.1v.2c.1.9.2 1.8.2 2.7v.7c.2.4.2 1.4.2 2.4z" />',viewBox:"0 0 512 512"},cs={name:"link-add",content:'<path d="M384 384zm64 32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-64zM96 256c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32zm-32 0c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.4 0-64 28.6-64 64zm416 84.7c19.9-22.6 32-52.2 32-84.7 0-70.7-57.3-128-128-128-47.3 0-88.7 25.8-110.8 64H384c35.3 0 64 28.6 64 64s-28.6 64-64 64h96v20.7zM384 320H273.2c22.1 38.2 63.4 64 110.8 64v-64z" />',viewBox:"0 0 512 512"},us={name:"globe-link",content:'<path d="M161.7 412.6C69.1 391.2 0 308.1 0 209 0 93.6 93.6 0 209 0s209 93.6 209 209c0 58.2-23.8 110.8-62.2 148.7-20.5-23.1-50.4-37.7-83.8-37.7-3.9 0-7.8.2-11.6.6 12-15.9 26.4-28.8 41.3-33 22.6-18.6 21.6-35.2 18.6-50.2-7-12.6-38.7-23.6-68.8-49.7-18.1-4-40.2 7.5-48.7-3.5-8.5-11.1-48.7-27.1-31.1-44.7s44.2.5 54.8-35.7C236.9 67.6 259 82.6 270 82.6c11.1 0 13.1-26.1-7.5-35.7-20.6-9.5-49.7-19.6-100.5-14.6-50.7 5-86.4 27.6-75.4 47.7 11.1 20.1 44.2 83.9 81.4 94.5 37.2 10.6 35.7 20.2 41.7 27.1 6 7-11.3 22.2 5.1 50.8 8.9 12 17 5 21 25.1 1.9 9.4-2.7 30.3-6.4 50.8-34.9 14.4-61 46-67.7 84.3zM224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16z" />',viewBox:"0 0 512 512"},hs={name:"globe-unlink",content:'<path d="M161.7 412.6C69.1 391.2 0 308.1 0 209 0 93.6 93.6 0 209 0s209 93.6 209 209c0 58.2-23.8 110.8-62.2 148.7-20.5-23.1-50.4-37.7-83.8-37.7-3.9 0-7.8.2-11.6.6 12-15.9 26.4-28.8 41.3-33 22.6-18.6 21.6-35.2 18.6-50.2-7-12.6-38.7-23.6-68.8-49.7-18.1-4-40.2 7.5-48.7-3.5-8.5-11.1-48.7-27.1-31.1-44.7s44.2.5 54.8-35.7C236.9 67.6 259 82.6 270 82.6s13.1-26.1-7.5-35.7c-20.6-9.5-49.7-19.6-100.5-14.6-50.7 5-86.4 27.6-75.4 47.7 11.1 20.1 44.2 83.9 81.4 94.5 37.2 10.6 35.7 20.2 41.7 27.1 6 7-11.3 22.2 5.1 50.8 8.9 12 17 5 21 25.1 1.9 9.4-2.7 30.3-6.4 50.8-34.9 14.4-61 46-67.7 84.3M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48m208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80" />',viewBox:"0 0 512 512"},ds={name:"envelop-link",content:'<path d="M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16zM32 0C14.3 0 0 14.3 0 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H32zm23.7 32L224 200.3 392.3 32c11 2.9 19.7 11.6 22.6 22.6L310.6 158.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L288 181.5l-64 64-64-64L55.7 285.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L33.1 54.6C36 43.6 44.7 34.9 55.7 32z" />',viewBox:"0 0 512 512"},ps={name:"anchor",content:'<path d="m352 288 44.5 44.5c-22.3 40.7-61.7 70.7-108.5 80.3V151.4c19.1-11.1 32-31.8 32-55.4 0-35.3-28.7-64-64-64s-64 28.7-64 64c0 23.6 12.9 44.3 32 55.4v261.4c-46.8-9.5-86.2-39.6-108.5-80.3L160 288H32v128l36.9-36.9C108.9 439.9 177.8 480 256 480s147.1-40.1 187.1-100.9L480 416V288H352zM256 64c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32z" />',viewBox:"0 0 512 512"},fs={name:"table-add",content:'<path d="M448 320V32H32v416h288V320h128zm-288 96H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96zm32-96h96v96h-96V64zm0 224v-96h96v96h-96zm192 128v32h-64v64h-32v-64h-64v-32h64v-64h32v64h64z" />',viewBox:"0 0 512 512"},ms={name:"table",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm0 128v96h-96v-96h96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},vs={name:"table-properties",content:'<path d="m502.666 77.216-22.627 22.627-67.882-67.882 22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627c12.445 12.445 12.445 32.81 0 45.255zM392.483 51.635l67.882 67.882L290.66 288H224v-66.66L392.483 51.635zm22.627 67.882L392.483 96.89 256.719 232.654l22.627 22.627L415.11 119.517zM384 256l32-32v288H0V96h288l-32 32h-96v224h224v-96zM128 384H32v96h96v-96zm0-128H32v96h96v-96zm0-128H32v96h96v-96zm128 256h-96v96h96v-96zm128 0h-96v96h96v-96z" />',viewBox:"0 0 512 512"},gs={name:"table-cell",content:'<path d="M32 32v416h416V32H32zm128 384H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm128 256h-96v-96h96v96zm0-256h-96V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},bs={name:"table-cell-properties",content:'<path d="m502.666 77.216-22.627 22.627-67.882-67.882 22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627c12.445 12.445 12.445 32.81 0 45.255zM384 256l32-32v288H0V96h288l-32 32h-96v96h32v96h96v32h96v-96zM128 384H32v96h96v-96zm0-128H32v96h96v-96zm0-128H32v96h96v-96zm128 256h-96v96h96v-96zm128 0h-96v96h96v-96zm8.483-332.365 67.882 67.882-141.588 141.588L290.66 288H224v-66.66l26.895-28.118L392.483 51.635zm22.627 67.882L392.483 96.89 256.719 232.654l11.314 11.314 11.314 11.314L415.11 119.517z" />',viewBox:"0 0 512 512"},ys={name:"table-column-insert-left",content:'<path d="M32 480V0h128v480H32zM480 32v416H192V32h288zM224 160h96V64h-96v96zm0 128h96v-96h-96v96zm0 128h96v-96h-96v96zm224-96h-96v96h96v-96zm0-32v-96h-96v96h96zm0-224h-96v96h96V64z" />',viewBox:"0 0 512 512"},ws={name:"table-column-insert-right",content:'<path d="M352 480V0h128v480H352zM320 32v416H32V32h288zm-32 32h-96v96h96V64zm0 128h-96v96h96v-96zm0 128h-96v96h96v-96zM64 416h96v-96H64v96zm96-128v-96H64v96h96zM64 160h96V64H64v96z" />',viewBox:"0 0 512 512"},xs={name:"table-row-insert-above",content:'<path d="M480 160H0V32h480v128zM32 192h416v288H32V192zm32 32v96h96v-96H64zm128 0v96h96v-96h-96zm128 0v96h96v-96h-96zm96 224v-96h-96v96h96zm-128-96h-96v96h96v-96zm-128 96v-96H64v96h96z" />',viewBox:"0 0 512 512"},ks={name:"table-row-insert-below",content:'<path d="M480 480H0V352h480v128zM32 32h416v288H32V32zm128 256v-96H64v96h96zm128 0v-96h-96v96h96zm128 0v-96h-96v96h96zM320 64v96h96V64h-96zm-32 0h-96v96h96V64zM64 64v96h96V64H64z" />',viewBox:"0 0 512 512"},zs={name:"table-column-delete",content:'<path d="M192 288v224h128V288H192zm0-288v64h128V0H192zm160 32h128v416H352V32zm96 288h-64v96h64v-96zm0-128h-64v96h64v-96zm0-128h-64v96h64V64zM32 32h128v416H32V32zm96 288H64v96h64v-96zm0-128H64v96h64v-96zm0-128H64v96h64V64zm128 89.373L313.373 96 336 118.627 278.627 176 336 233.373 313.373 256 256 198.627 198.627 256 176 233.373 233.373 176 176 118.627 198.627 96 256 153.373z" />',viewBox:"0 0 512 512"},Cs={name:"table-row-delete",content:'<path d="M224 192H0v128h224V192zm288 0h-64v128h64V192zm-32 160v128H64V352h416zm-288 96v-64H96v64h96zm128 0v-64h-96v64h96zm128 0v-64h-96v64h96zm32-416v128H64V32h416zm-288 96V64H96v64h96zm128 0V64h-96v64h96zm128 0V64h-96v64h96zm-89.373 128L416 313.373 393.373 336 336 278.627 278.627 336 256 313.373 313.373 256 256 198.627 278.627 176 336 233.373 393.373 176 416 198.627 358.627 256z" />',viewBox:"0 0 512 512"},_s={name:"table-cell-delete",content:'<path d="M96 192h160v128H96V192zM32 352h160v128H32V352zm32 32v64h96v-64H64zm128-224H32V32h160v128zm-32-96H64v64h96V64zm262.627 192L480 313.373 457.373 336 400 278.627 342.627 336 320 313.373 377.373 256 320 198.627 342.627 176 400 233.373 457.373 176 480 198.627 422.627 256z" />',viewBox:"0 0 512 512"},Is={name:"table-delete",content:'<path d="M32 32v416h416V32H32zm384 128h-64v32h64v96h-64v32h64v96h-96v-64h-32v64h-96v-64h-32v64H64v-96h64v-32H64v-96h64v-32H64V64h96v64h32V64h96v64h32V64h96v96zm-153.4 80 57.4 57.4-22.6 22.6-57.4-57.4-57.4 57.4-22.6-22.6 57.4-57.4-57.4-57.4 22.6-22.6 57.4 57.4 57.4-57.4 22.6 22.6-57.4 57.4z" />',viewBox:"0 0 512 512"},Es={name:"cells-merge",content:'<path d="M32 32v448h416V32H32zm160 32h96v64h-96V64zM64 64h96v64H64V64zm96 384H64v-64h96v64zm128 0h-96v-64h96v64zm128 0h-96v-64h96v64zm0-96H64V160h352v192zm0-224h-96V64h96v64z" />',viewBox:"0 0 512 512"},Ss={name:"cells-merge-horizontally",content:'<path d="M32 32v416h416V32H32zm160 32h96v96h-96V64zM64 64h96v96H64V64zm96 352H64v-96h96v96zm128 0h-96v-96h96v96zm128 0h-96v-96h96v96zm0-128H64v-96h352v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Ms={name:"cells-merge-vertically",content:'<path d="M32 448h416V32H32v416zm32-160v-96h96v96H64zm0 128v-96h96v96H64zm352-96v96h-96v-96h96zm0-128v96h-96v-96h96zm0-128v96h-96V64h96zm-128 0v352h-96V64h96zm-128 0v96H64V64h96z" />',viewBox:"0 0 512 512"},Os={name:"cell-split-horizontally",content:'<path d="M32 32v416h416V32H32zm32 32h160v64H64V64zm160 160h-64v-64h64v64zM64 160h64v64H64v-64zm0 96h160v64H64v-64zm0 160v-64h160v64H64zm192-256h64v64h-64v-64zm160 256H256v-64h160v64zm0-96H256v-64h160v64zm0-96h-64v-64h64v64zm0-96H256V64h160v64z" />',viewBox:"0 0 512 512"},Rs={name:"cell-split-vertically",content:'<path d="M32 448h416V32H32v416zm32-32V256h64v160H64zm160-160v64h-64v-64h64zm-64 160v-64h64v64h-64zm96 0V256h64v160h-64zm160 0h-64V256h64v160zM160 224v-64h64v64h-64zM416 64v160h-64V64h64zm-96 0v160h-64V64h64zm-96 0v64h-64V64h64zm-96 0v160H64V64h64z" />',viewBox:"0 0 512 512"},Hs={name:"table-unmerge",content:'<path d="M32 32v416h416V32H32zm160 32h96v96h-96V64zm96 128v96h-96v-96h96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm96 224H64v-96h96v96zm128 0h-96v-96h96v96zm128 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Fs={name:"pane-freeze",content:'<path d="M32 32v416h416V32H32zm256 32 96 96h-64l-96-96h64zm-128 0 96 96h-64L96 64h64zM64 96l96 96v64l-96-96V96zm0 128 96 96v64l-96-96v-64zm0 192v-64l64 64H64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm128 128h-96v-96h96v96zm0-128h-96v-96h96v96zM352 64h64v64l-64-64z" />',viewBox:"0 0 512 512"},Vs={name:"row-freeze",content:'<path d="M32 448h416V32H32v416zM64 96l64 64H64V96zm96-32 96 96h-64L96 64h64zm128 0 96 96h-64l-96-96h64zm128 64-64-64h64v64zm-96 160v-96h96v96h-96zm-128 0v-96h96v96h-96zm-32 0H64v-96h96v96zm160 128v-96h96v96h-96zm-128 0v-96h96v96h-96zm-128 0v-96h96v96H64z" />',viewBox:"0 0 512 512"},Ds={name:"column-freeze",content:'<path d="M32 32v416h416V32H32zm128 32v64L96 64h64zM64 96l96 96v64l-96-96V96zm0 128 96 96v64l-96-96v-64zm0 192v-64l64 64H64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm-96-128V64h96v96h-96zm224 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Bs={name:"toolbar-float",content:'<path d="M64 352h416v128H64V352zm96 32H96v64h96v-64h-32zm160 0h-96v64h96v-64zm32 0v64h96v-64h-96zM63.961 131.844l90.51 90.51 45.255-45.255-90.51-90.51-45.255 45.255zm0 0 90.51 90.51 45.255-45.255-90.51-90.51-45.255 45.255zm158.392 67.882 67.882-67.882-22.627-22.627-22.627 22.627-90.51-90.51c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882c-12.445 12.445-12.445 32.81 0 45.255l90.51 90.51-22.627 22.627 22.627 22.627 67.882-67.882L297.373 320 320 297.373l-97.647-97.647zm-67.882 22.627-90.51-90.51 45.255-45.255 90.51 90.51-45.255 45.255zM480 256h-64v64h64v-64z" />',viewBox:"0 0 512 512"},As={name:"spell-checker",content:'<path d="M113.2 206.2c-7.4 6.2-15.6 10.7-24.6 13.5s-19.3 4.2-31 4.2c-8.4 0-16.1-1-23.1-2.9s-13.1-4.9-18.2-8.8c-5.1-3.9-9.1-8.8-12-14.6C1.4 192 0 185.2 0 177.5c0-18.9 8.1-32.9 24.4-41.9s40.9-13.5 74-13.5h13.7c0-2.6 0-5.3-.1-8.2-.1-2.9-.3-5.4-.7-7.6-.8-7.6-3.5-13.2-8-17-4.5-3.7-11.8-5.6-21.7-5.6-10.4 0-18.1 1.9-23.3 5.8s-7.8 9.5-7.8 16.8H7c2.4-32.7 27.8-49 76.3-49 6.6 0 12.6.2 17.9.6 5.3.4 10.2 1.1 14.6 2 4.4 1 8.6 2.2 12.5 3.7 3.9 1.5 7.6 3.4 11.4 5.7 3.5 2.2 6.4 4.7 9 7.4 2.5 2.8 4.6 6.1 6.4 9.9 1.7 3.9 3 8.3 3.8 13.3s1.2 10.8 1.2 17.4V224h-46.8l-.1-17.8zm-1-58H96.8c-16.2 0-28.4 2-36.5 5.9s-12.2 10.6-12.2 20.2c0 7.3 2.5 12.7 7.5 16.2s11.5 5.2 19.4 5.2c7.6 0 14.6-1.5 21.2-4.5s11.9-6.9 15.8-11.7v-31.3h.2zm125.2-61.6c5.5-7.2 12.3-12.8 20.2-16.7C265.5 66 274 64 283.1 64c10.2 0 19.2 1.9 26.8 5.7 7.7 3.8 14.1 9.2 19.3 16.3 5.2 7.1 9.1 15.7 11.7 25.9s4 21.6 4 34.3-1.2 19-4.3 29.4c-3 10.4-7.6 17.9-13.3 25.2-5.7 7.3-12.6 13-20.7 17.1s-17.3 6.1-27.5 6.1c-17.5 0-31.9-5.2-43.3-15.6V224H192V0h45.4v86.6zm0 91.7c4.4 4.1 9.1 7.2 14.1 9.4 5 2.1 10.5 3.2 16.5 3.2 9.8 0 17.4-4.3 22.7-12.8 5.3-8.6 7.9-14.7 7.9-31.8 0-32.7-9.6-49-28.7-49-6.2 0-12 1.9-17.4 5.6s-10.5 9-15.1 15.8v59.6zM442.2 224c-12.4 0-23.4-1.8-33.3-5.4-9.8-3.6-18.1-8.8-25-15.6-6.8-6.8-12-15.2-15.7-25.1-3.7-9.9-5.5-21.3-5.5-34s1.8-24 5.5-33.9 8.9-18.2 15.9-25.1c6.9-6.9 15.3-12.1 25.2-15.6 9.9-3.6 21.1-5.4 33.6-5.4 20 0 36 4.7 48 14.1s19 23 21 40.9h-41c-1-7-3.9-12.7-8.8-16.9-4.9-4.2-11.2-6.3-19.2-6.3-10.2 0-18.4 3.9-24.5 11.6s-9.2 19.9-9.2 36.6c0 16.5 3.1 28.7 9.2 36.5s14.3 11.7 24.5 11.7c7.9 0 14.4-2.1 19.3-6.3s7.8-9.8 8.7-16.9h41c-2.5 17.7-9.7 31.2-21.5 40.7-11.6 9.6-27.7 14.4-48.2 14.4zm69.8 0L224 512 64 352l64-64 96 96 288-160" />',viewBox:"0 0 512 512"},Ns={name:"validation-xhtml",content:'<path d="M192 224h-54l-26.2-96L86 224H32L0 64h42l22 96 22-96h52l22 96 22-96h42l-32 160zm272.5-121.8c4.7 4.2 7.4 9.8 8.5 16.8h38.9c-2-17.9-8.6-31.3-19.9-40.8-11.5-9.3-26.5-14-45.6-14-11.9 0-22.5 1.7-32 5.3-9.4 3.6-17.4 8.9-23.9 15.7-6.7 6.9-11.6 15.2-15.1 25-3.5 10-5.3 21.2-5.3 33.8 0 12.8 1.8 24 5.3 33.8 3.5 10 8.3 18.4 14.8 25.1 6.5 6.7 14.5 11.8 23.8 15.4 9.4 3.6 20 5.4 31.6 5.4 19.4 0 34.7-4.8 45.9-14.3 11.2-9.5 18-23 20.4-40.5H473c-.9 7-3.7 12.6-8.3 16.8-4.7 4.3-10.7 6.3-18.3 6.3-9.8 0-17.5-3.9-23.5-11.7-5.8-7.8-8.6-19.9-8.6-36.3 0-16.7 2.8-28.7 8.6-36.5 5.9-7.8 13.6-11.5 23.5-11.5 7.5 0 13.6 2 18.1 6.2zM316.7 219.8c7.3-2.3 13.6-5.8 18.9-10.2l.1-.1c5.2-4.6 9.1-9.9 11.8-16.1 2.8-6 4.2-12.7 4.2-20.7 0-10-2.7-18.4-8-25.3-3.5-4.4-7.9-7.9-13.2-10.5.3-.3.7-.5 1-.8 3.1-2.4 5.5-5 7.6-8.1 2-3 3.5-6.2 4.5-9.4 1-3.5 1.5-6.9 1.5-10.4 0-6.6-1.3-12.6-3.9-18.1-2.6-5.4-6.4-10.3-11.4-14.2-4.8-4.2-10.5-7.2-17-9.1-6.3-1.8-13.7-2.8-22.1-2.8-7.4 0-14.3 1-20.8 3.1-6.3 2.1-11.7 5.2-16.9 9.3-5 4.1-9 9.2-11.9 15.1-3 5.9-4.9 12.7-5.6 20.3l-.5 5.1h38.2l.5-4.4c1.6-14.6 9.9-16.5 16.9-16.5 4.8 0 8.3 1.1 10.7 3.3l.1.1c2.7 2.5 3.3 7.1 3.3 10.4 0 5.6-1.2 9.4-3.8 11.4l-.1.1c-2.8 2.4-7.2 3.5-13.4 3.5H276v31h13.7c7.4 0 12.8 1.4 16.3 4 3.3 2.7 4.9 6.5 4.9 12.2 0 2.9-.5 5.6-1.4 8-.9 2.3-2.1 4.1-3.9 5.9-1.4 1.5-3.4 2.7-5.9 3.6-2.4.9-5.2 1.4-8.4 1.4-3.4 0-6.3-.4-9-1.3-2.2-.8-4.1-2-5.7-3.5-1.6-1.6-2.8-3.3-3.7-5.2-.8-1.9-1.2-4.1-1.5-6.7l-.4-4.2h-39.1l.3 5c.5 7.4 2.3 14.5 5.3 21 3.1 6.1 7.8 11.8 14.2 16.6 4.9 3.8 10.8 6.6 17.8 8.4h.4c6.4 1.5 13.8 2.3 22.1 2.3 9.5 0 17.5-1.2 24.7-3.5zM64 352l64-64 96 96 288-160-288 288L64 352z" />',viewBox:"0 0 512 512"},Ls={name:"validation-data",content:'<path d="m64 352 64-64 96 96 288-160-288 288L64 352zm48.6-193.6c0 13-2.5 24.4-7.6 34.4s-12.3 17.7-21.8 23.1c-9.4 5.4-20.3 8.1-32.7 8.1H0V96h49.5c42.1 0 63.1 20.8 63.1 62.4zm-38 .3c0-6.3-1.2-12-3.5-17-2.4-5-5.7-8.9-10.1-11.7-4.4-2.7-9.6-4.1-15.6-4.1H36v68h10.1c8.6 0 15.6-3.2 20.7-9.5 5.2-6.4 7.8-14.9 7.8-25.7zM216.2 224l-5.5-24h-37.2l-5.9 24H128l42.3-128h45.9L256 224h-39.8zm-23.6-100h-.9c-.1 1.4-.5 3.8-1.2 7.1s-4.1 17.2-10.4 41.9h23.4l-8.6-34.7c-1.1-5-1.9-9.8-2.3-14.3zm127.4 4v96h-32v-96h-32V96h98v32h-34zm120.2 96-5.5-24h-37.2l-5.9 24H352l42.3-128h45.9L480 224h-39.8zm-23.6-100h-.9c-.1 1.4-.5 3.8-1.2 7.1s-4.1 17.2-10.4 41.9h23.4l-8.6-34.7c-1.1-5-1.9-9.8-2.3-14.3z" />',viewBox:"0 0 512 512"},Ps={name:"toggle-full-screen-mode",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v288c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 319.942a.53.53 0 0 1-.058.058H64.058a.454.454 0 0 1-.058-.058V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057v287.885zM384 480H128c35.346 0 64-28.654 64-64h128c0 35.346 28.654 64 64 64zm32-160H96c58.263-113.973 183.21-192 320-192v192z" />',viewBox:"0 0 512 512"},Ts={name:"formula-fx",content:'<path d="m214 183.4-24.7 110c-11.5 53.4-22.7 92.1-33.7 116.1-11 24-23.8 41.8-38.4 53.2-14.7 11.6-31.5 17.3-50.5 17.3-12 0-20.7-2.7-26.3-8-5.6-5.3-8.4-11.5-8.4-18.7 0-6.7 2.3-12.5 7-17.4 4.7-4.9 10.8-7.3 18.3-7.3 6.3 0 11.2 1.9 14.5 5.6 3.4 3.7 5.1 8.5 5.1 14.2 0 5.2-1 9.1-3.2 11.6-2.1 2.5-3.2 4.2-3.2 5l1 1.7c.8.8 1.8 1.2 3 1.2 4.2 0 7.8-1.5 10.8-4.7 7.4-7.7 13-17 16.6-27.9 2.5-7.5 7.4-27.4 14.5-59.5l43-192.6h-29.3l7-28.7c10.5.2 18.2-1.4 23-4.7 4.8-3.3 9.8-10.6 15.2-22 15.4-33.1 31.7-60.1 48.9-74.4S260.4 32 281.5 32c13.5 0 23.3 3 29.4 9.1 6.1 6.1 9.2 13.9 9.2 23.5 0 8.5-2 15.2-6.1 20.2-4.1 5.1-9.2 7.5-15.2 7.5-5.6 0-10.3-2-13.9-6.1-3.6-4.1-5.5-9-5.5-14.7 0-4.1 1.1-8.4 3.5-13 2.3-4.6 3.5-7.7 3.5-9.3 0-1.8-.5-3.3-1.6-4.4-1-1.1-2.4-1.7-4.1-1.7-8.3 0-16.8 5.9-25.5 17.9-14.3 19.1-25.9 52.5-34.5 93.8h30.5l-7.4 28.7-29.8-.1zm78.7 22.7 68.9-14.1c12.5 23.3 21.3 48.9 26.5 76.9 12.9-22.7 22.7-38.6 29.3-47.6 8.8-12.2 16.1-20.1 21.8-23.8 5.8-3.7 11.9-5.5 18.3-5.5 7.2 0 12.8 2.4 16.7 7 3.9 4.7 5.8 11 5.8 19 0 7.5-2 13.6-5.8 18.4-3.9 4.7-8.7 7.1-14.5 7.1-4.2 0-9-.9-14.5-2.7-5.4-1.8-9.3-2.7-11.3-2.7-5.6 0-10.8 2.4-15.8 7-6.8 6.4-15.2 20.1-25.3 41 11.2 46.9 20.1 75.5 26.9 85.8 3.9 6.1 7.9 9.2 12.1 9.2 3.4 0 6.4-1 8.9-3 3.8-3.3 9.7-11.5 17.6-24.6l7.1 4.9c-11.6 22.2-22.9 37.9-34 46.9-8.4 7-16.7 10.6-24.9 10.6-8.4 0-15.4-2.3-21-6.7-5.6-4.5-10.6-11.7-14.9-21.8-4.4-10-9.5-26.2-15.4-48.4-15.4 23.3-27.5 40.3-36.3 51-8.7 10.7-16 17.7-21.8 21-5.8 3.3-12 4.9-18.6 4.9-6.8 0-12.3-2.4-16.3-7-4-4.7-6-10.8-6-18.3 0-7.9 2.2-14.5 6.5-19.6 4.3-5.2 9.9-7.7 16.6-7.7 3.6 0 7.6 1.3 12.1 3.7 6.6 3.8 11.3 5.7 14.2 5.7 3.8 0 7.2-.9 10.3-2.8 3.9-2.4 9-7.4 15-15.3 3.7-4.8 10.5-15.1 20.4-31-12.6-55.8-22.5-89.1-29.6-100-4.5-7-10.2-10.6-17-10.6-3.6 0-7.9.6-13 1.9l1-8.8z" />',viewBox:"0 0 512 512"},js={name:"sum",content:'<path d="M416 64v128l-64-64H160l128 128-128 128h192l64-64v128H96v-64l128-128L96 128V64h320z" />',viewBox:"0 0 512 512"},Us={name:"symbol",content:'<path d="m448 416 32-32v96H320V375.8c11.4-5.1 22.2-11.5 32-19 38.9-29.7 64-76.9 64-130.1C416 136.8 344.4 64 256 64S96 136.8 96 226.7c0 53.2 25.1 100.5 64 130.1 9.8 7.5 20.6 13.9 32 19V480H32v-96l32 32h96v-18.5C84.3 366.7 32 300.6 32 224 32 118 132.3 32 256 32s224 86 224 192c0 76.6-52.3 142.7-128 173.5V416h96z" />',viewBox:"0 0 512 512"},Ks={name:"dollar",content:'<path d="M326.6 273c-8.3-7.3-18.4-13.6-30.4-19.1-11.8-5.4-25.2-10.2-40.2-14.5V131.3c6.5.8 13 2.2 17.7 4.2 7.5 3.3 13.7 7.8 18.8 13.7 5.1 5.8 8.9 12.7 11.4 20.7 2.6 8 3.8 16.7 3.8 26.2H352c0-29.2-7.5-52-22.5-68.8s-36-26.8-62.9-30.1c0 0-5-.4-10.6-.8V32h-32v66.2c-11.9 1.5-22.6 4.3-32.2 8.4-10.6 4.5-19.6 10.3-27.1 17.5-7.5 7.2-13.2 15.6-17.2 25.4-4 9.7-6 20.5-6 32.2 0 12.7 2.2 23.8 6.7 33.4s11 18.2 19.5 25.6 18.8 13.8 30.9 19.3c7.8 3.5 16.3 6.8 25.4 9.7v110.7c-2.7-.4-5.4-.9-8.1-1.5-7.9-1.8-15.2-5.1-21.7-9.8-6.5-4.7-11.8-11-15.8-19s-6-18-6-30H128c0 16.2 2.6 30 7.9 41.6 5.3 11.6 12.4 21.2 21.3 28.6 8.9 7.5 19.1 13.3 30.6 17.3s23.4 6.5 35.7 7.5c0 0 .2 0 .5.1V480h32v-64.7c1.9-.2 3.1-.3 3.1-.3 14.1-1.3 26.9-4.1 38.4-8.3 11.5-4.3 21.3-10 29.4-17.1 8.1-7.1 14.3-15.6 18.6-25.4 4.3-9.8 6.5-20.9 6.5-33.2 0-12.5-2.2-23.5-6.5-33-4.3-9.4-10.6-17.8-18.9-25zm-104.7-46.2c-8.8-4.1-15.9-8.4-21.2-12.9s-9.1-9.6-11.3-15c-2.2-5.5-3.4-11.6-3.4-18.5 0-7.4 1.2-14.1 3.6-20.3 2.4-6.1 6-11.3 10.8-15.7 4.8-4.3 10.9-7.7 18.3-10.1 1.7-.6 3.5-1 5.3-1.5v94.9c-.6-.2-1.4-.5-2.1-.9zm81 125.2c-3 6.2-7.5 11.4-13.2 15.8-5.8 4.3-12.8 7.7-21.2 10-3.9 1.1-8.1 1.9-12.5 2.5V279.2c5.6 2 10.7 4.1 15.3 6.2 8.6 4 15.6 8.3 20.9 13 5.4 4.7 9.3 9.7 11.7 15.1 2.4 5.4 3.6 11.3 3.6 17.7 0 7.7-1.5 14.7-4.6 20.8z" />',viewBox:"0 0 512 512"},Ws={name:"percent",content:'<path d="M352 64h32L160 448h-32L352 64zm16 160c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112zm0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80zM144 64c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112zm0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80z" />',viewBox:"0 0 512 512"},qs={name:"custom-format",content:'<path d="M128 128v224H80V182.4s-13.1 19.1-48 19.1v-40.6c34.9 0 61.7-32.9 61.7-32.9H128zm94.4 184H320v40H169v-16.6c.3-11.3 2.2-21.4 6-30.3 3.8-9 8.6-17 14.3-24.1s12-13.4 18.8-18.9 13.3-10.4 19.4-14.8c6.5-4.6 12.1-9 17-13.2s9-8.4 12.3-12.5 5.8-8.3 7.5-12.6c1.6-4.2 2.5-8.8 2.5-13.6 0-9.4-2.7-16.5-8-21.4-5.3-4.8-13.5-7.2-24.4-7.2-18.9 0-37.1 7.5-54.4 22.6v-42.7c19.2-12.4 40.8-18.6 64.8-18.6 11.2 0 21.2 1.5 30 4.4 8.9 2.9 16.4 7.1 22.5 12.5s10.8 12 14.1 19.7c3.2 7.7 4.8 16.4 4.8 25.9 0 10.1-1.6 19.2-4.7 27-3.1 7.9-7.3 15.1-12.4 21.5-5.2 6.5-11.1 12.4-17.9 17.7-6.8 5.4-13.8 10.6-21 15.6-4.9 3.5-9.7 6.9-14.2 10.4-4.6 3.4-8.6 6.8-12.1 10.1s-6.2 6.6-8.3 9.8c-2.2 3.1-3.2 9.3-3.2 9.3zM341 341.2v-41.7s32.1 15.8 51.5 15.8c12.2 0 21.8-2.6 28.6-7.9 6.8-5.3 10.2-12.5 10.2-21.9 0-9.7-4.2-17.1-12.7-22.3-8.4-5.3-20-7.9-34.8-7.2H364v-37h17.7c28.4 0 42.6-9.4 42.6-28.1 0-17.6-10.9-26.4-32.7-26.4-14.7 0-28.8 4.7-42.6 14v-38.9c15.4-7.7 33.1-11.5 53.6-11.5 22.3 0 39.6 5 52.1 14.9 12.4 10 18.7 22.9 18.7 38.8 0 28.3-14.5 46-43.4 53.2v.3c15.5 1.9 27.6 7.5 36.5 16.8 8.9 9.2 13.3 20.6 13.3 34 0 20.3-7.4 36.4-22.4 48.2-15 11.8-35.5 17.7-61.7 17.7-22.3.1-40.6-3.5-54.7-10.8z" />',viewBox:"0 0 512 512"},$s={name:"decimal-increase",content:'<path d="M384 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7v-42.7c0-23.5 14.4-42.6 32-42.6 17.7 0 32 19.1 32 42.6V374zM384 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7v-42.7c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7V150zM224 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64s64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7s-32-19.1-32-42.7v-42.7c0-23.5 14.3-42.6 32-42.6s32 19.1 32 42.6V374zM96 416h32v32H96v-32zm160-224h32v32h-32v-32zM192 32v192L64 128l128-96z" />',viewBox:"0 0 512 512"},Gs={name:"decimal-decrease",content:'<path d="M384 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.6-64-64-64zm32 116.7c0 23.5-14.3 42.6-32 42.6-17.6 0-32-19.1-32-42.6V106c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7v42.7zM384 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 116.7c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7V330c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7v42.7zM224 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm32 116.7c0 23.5-14.3 42.6-32 42.6s-32-19.1-32-42.6V106c0-23.6 14.3-42.7 32-42.7s32 19.1 32 42.7v42.7zM128 224H96v-32h32v32zm128 192h32v32h-32v-32zM64 256l128 96-128 96V256z" />',viewBox:"0 0 512 512"},Ys={name:"font-size",content:'<path d="M97 224 32 416h29l16.9-50H146l16.9 50h29l-65-192H97zm-8.9 112 23.9-70.6 23.9 70.6H88.1zM376 96h-48L224 416h48l26-80h108l26 80h48L376 96zm-62.4 192L352 169.8 390.4 288h-76.8z" />',viewBox:"0 0 512 512"},Xs={name:"image-absolute-position",content:'<path d="M416 240c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm96-80v320c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32zm-32 26.7c0-14.7-11.9-26.7-26.7-26.7H186.7c-14.7 0-26.7 11.9-26.7 26.7V384l96-96 96 96 64-64 64 64V186.7zM32 0H0v512h32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32V32h96v32h32V32h64v32h32V32h64v32h32V32h64v32h32V32h64V0H32z" />',viewBox:"0 0 512 512"},Zs={name:"table-wizard",content:'<path d="M160 384V160h224v96l32 32V0H0v416h288l-32-32h-96zM288 32h96v96h-96V32zm-128 0h96v96h-96V32zm-32 352H32v-96h96v96zm0-128H32v-96h96v96zm0-128H32V32h96v96zm376.6 362.1-15.5 15.5c-8.6 8.6-22.4 8.6-31 0l-124-124c-8.6-8.6-8.6-22.4 0-31l15.5-15.5c8.6-8.6 22.4-8.6 31 0l124 124c8.6 8.5 8.6 22.4 0 31zm-158.5-209-21-14.8c-3.2-2.3-5.1-6-5.1-10l.3-25.7c.1-6.6-5.2-12.1-11.8-12.2-2.6 0-5.2.8-7.3 2.4l-20.6 15.4c-3.2 2.4-7.3 3-11 1.8l-24.3-8.3c-6.8-2.3-14.3 1.9-15.7 9.3-.4 2.1-.1 4.2.5 6.2l8.2 24.1c1.3 3.7.6 7.8-1.8 11l-15.4 20.6c-4.3 5.8-2.6 14.2 4 17.8 1.9 1 4 1.4 6.1 1.4l25.4-.3c3.9-.1 7.7 1.8 10 5.1l14.8 21c4.2 5.9 12.7 6.9 18.1 1.7 1.5-1.5 2.6-3.3 3.2-5.3l7.5-24.3c1.2-3.8 4.1-6.7 7.9-7.9l24.5-7.6c6.3-2 9.8-8.7 7.9-15-.7-2.7-2.3-4.9-4.4-6.4z" />',viewBox:"0 0 512 512"},Js={name:"crosstab",content:'<path d="M192.3 32H32v160h1v288h447V32H192.3zm-.3 416H96v-96h96v96zm0-128H96v-96h96v96zm0-128H96V96h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V96h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V96h96v96z" />',viewBox:"0 0 512 512"},Qs={name:"crosstab-wizard",content:'<path d="M192 416V192h224v96l32 32V0H0v160h1v288h318.7l-31.9-32H192zM320 64h96v96h-96V64zm-128 0h96v96h-96V64zm-32 352H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm344.6 330.1-15.5 15.5c-8.6 8.6-22.4 8.6-31 0l-124-124c-8.6-8.6-8.6-22.4 0-31l15.5-15.5c8.6-8.6 22.4-8.6 31 0l124 124c8.6 8.5 8.6 22.4 0 31zM221.2 300.8c-4.3 5.8-2.6 14.2 4 17.8 1.9 1 4 1.4 6.1 1.4l25.4-.3c3.9-.1 7.7 1.8 10 5.1l14.8 21c4.2 5.9 12.7 6.9 18.1 1.7 1.5-1.5 2.6-3.3 3.2-5.3l7.5-24.3c1.2-3.8 4.1-6.7 7.9-7.9l24.5-7.6c6.3-2 9.9-8.7 7.9-15-.8-2.5-2.4-4.7-4.5-6.2l-21-14.8c-3.2-2.3-5.1-6-5.1-10l.3-25.7c.1-6.6-5.2-12.1-11.8-12.2-2.6 0-5.2.8-7.3 2.4l-20.6 15.4c-3.2 2.4-7.3 3-11 1.8l-24.3-8.3c-6.8-2.3-14.3 1.9-15.7 9.3-.4 2.1-.1 4.2.5 6.2l8.2 24.1c1.3 3.7.6 7.8-1.8 11l-15.3 20.4z" />',viewBox:"0 0 512 512"},el={name:"table-body",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm128 256v64L224 192h64l128 128zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-64l64 64h-64zm128 0L192 288v-64l192 192h-64zm96-160-64-64h64v64zm0-96h-96V64h96v96z" />',viewBox:"0 0 512 512"},tl={name:"table-column-groups",content:'<path d="M32 32v416h416V32H32zm256 32v64l-64-64h64zm0 320-96-96v-64l96 96v64zM192 96l96 96v64l-96-96V96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-64l64 64h-64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},nl={name:"table-corner",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm0 128v96h-96v-96h96zM160 64v64L96 64h64zM64 96l64 64H64V96zm0 96h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},rl={name:"table-row-groups",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm-64 128h64l96 96h-64l-96-96zm32 96h-64l-96-96h64l96 96zM64 64h96v96H64V64zm0 160 64 64H64v-64zm0 192v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-160-64-64h64v64zm0-96h-96V64h96v96z" />',viewBox:"0 0 512 512"},ol={name:"globe-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zM64 256c0-57 24.8-108.2 64.3-143.3.3 1.8 1 3.6 1.9 5.4 11.9 22.1 47.7 92.5 87.8 104.1 40.1 11.6 38.6 22.2 45 29.9 6.5 7.7-12.2 24.4 5.6 55.9 9.6 13.2 18.3 5.5 22.6 27.6 4.1 21-20.6 95-7.8 110.4-9 1.3-18.1 2-27.4 2-106 0-192-86-192-192zm222.4 189.6c10.5-37 41.8-89.2 75.8-98.9 24.4-20.5 23.3-38.8 20.1-55.4-7.6-13.9-41.7-26-74.3-54.8-19.5-4.4-43.4 8.3-52.6-3.9-9.2-12.2-52.6-29.9-33.6-49.3s47.7.6 59.1-39.3 35.2-23.2 47.2-23.2S342.2 92 320 81.5c-16.7-7.9-38.6-16.1-71.7-17.4 2.6-.1 5.2-.2 7.8-.2 106 0 192 86 192 192C448 351.7 378 431 286.4 445.6z" />',viewBox:"0 0 512 512"},il={name:"globe",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm106.2 314.7c-34.7 10-66.7 64.2-76.4 101.3-17.9-9.4 9.8-90.2 5.4-112.4-4.3-22.1-13-14.4-22.6-27.6-17.8-31.5.9-48.3-5.6-55.9-6.5-7.7-4.9-18.3-45-29.9-40.1-11.6-75.9-81.9-87.8-104.1-11.9-22.1 26.6-47 81.3-52.6 10.3-1 19.7-1.5 28.4-1.5 37.8.1 61.9 9 80 17.5 22.2 10.5 20.1 39.3 8.1 39.3s-35.8-16.6-47.2 23.2-40.1 19.9-59.1 39.3 24.4 37.1 33.6 49.3c9.2 12.2 33.1-.6 52.6 3.9 32.6 28.8 66.7 41 74.3 54.8 3.3 16.6 4.4 34.9-20 55.4z" />',viewBox:"0 0 512 512"},al={name:"map-marker",content:'<path d="M256 0C158.8 0 80 78.8 80 176s176 336 176 336 176-238.8 176-336S353.2 0 256 0zm0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112z" />',viewBox:"0 0 512 512"},sl={name:"map-marker-target",content:'<path d="M256 0C158.8 0 80 78.8 80 176s176 336 176 336 176-238.8 176-336S353.2 0 256 0zm0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112zm48-112c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48z" />',viewBox:"0 0 512 512"},ll={name:"pin",content:'<path d="M320 256V96c0-17.6-14.4-32-32-32h-96c-17.6 0-32 14.4-32 32v160H96v32h128v160h32V288h128v-32h-64zm-128 0V96h64v160h-64z" />',viewBox:"0 0 512 512"},cl={name:"unpin",content:'<path d="M256 320h160c17.6 0 32-14.4 32-32v-96c0-17.6-14.4-32-32-32H256V96h-32v128H64v32h160v128h32v-64zm0-128h160v64H256v-64z" />',viewBox:"0 0 512 512"},ul={name:"share",content:'<path d="M480 432c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-10.6 2.1-20.7 5.8-30l-158.6-88.1C152.9 327.6 133.4 336 112 336c-44.2 0-80-35.8-80-80s35.8-80 80-80c21.4 0 40.9 8.4 55.2 22.1L325.8 110c-3.8-9.3-5.8-19.4-5.8-30 0-44.2 35.8-80 80-80s80 35.8 80 80-35.8 80-80 80c-22 0-41.9-8.9-56.4-23.3l-158 87.8c4.1 9.7 6.4 20.3 6.4 31.5s-2.3 21.8-6.4 31.5l158 87.8C358.1 360.9 378 352 400 352c44.2 0 80 35.8 80 80z" />',viewBox:"0 0 512 512"},hl={name:"user",content:'<path d="M352 128c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96zm-96 128c-106 0-192 86-192 192 0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32 0-106-86-192-192-192z" />',viewBox:"0 0 512 512"},dl={name:"inbox",content:'<path d="M384 32H128L32 288v160c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V288L384 32zM150.2 64h211.6l84 224H352l-32 64H192l-32-64H66.2l84-224z" />',viewBox:"0 0 512 512"},pl={name:"blogger",content:'<path d="M188.9 64C119.9 64 64 119.5 64 188v136.1C64 392.5 119.9 448 188.9 448h134.4c69 0 124.7-55.5 124.7-123.9v-87.9c0-13.7-11-28.2-24.8-28.2h-21.5c-13.2 0-24.7-11.2-25.6-24 0-68.5-55.2-120-124.2-120h-63zm-4.9 96h72c13.2 0 24 10.8 24 24s-10.8 24-24 24h-72c-13.2 0-24-10.8-24-24s10.8-24 24-24zm0 144h144c13.2 0 24 10.8 24 24s-10.8 24-24 24H184c-13.2 0-24-10.8-24-24s10.8-24 24-24z" />',viewBox:"0 0 512 512"},fl={name:"blogger-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-31 280.7c0 57.1-46.6 103.3-104.2 103.3H200.4C142.7 416 96 369.8 96 312.7V199.3C96 142.2 142.7 96 200.4 96h52.1C310 96 356 138.9 356 196c.7 10.7 10.4 20 21.4 20h18c11.5 0 20.7 12.1 20.6 23.5l1 73.2zM196 216h60c11 0 20-9 20-20s-9-20-20-20h-60c-11 0-20 9-20 20s9 20 20 20zm120 80H196c-11 0-20 9-20 20s9 20 20 20h120c11 0 20-9 20-20s-9-20-20-20z" />',viewBox:"0 0 512 512"},ml={name:"delicious",content:'<path d="M256 32h224v224H256V32zM32 256h224v224H32V256z" />',viewBox:"0 0 512 512"},vl={name:"delicious-box",content:'<path d="M480 448V64c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32zm-224-32V256H96V96h160v160h160v160H256z" />',viewBox:"0 0 512 512"},gl={name:"digg",content:'<path d="M96 96v64H32v160h96V96H96zm64 0v32h32V96h-32zm0 64v160h32V160h-32zm64 0v160h64v32h-64v32h96V160h-96zm128 0v160h64v32h-64v32h96V160h-96zM64 192h32v96H64v-96zm192 0h32v96h-32v-96zm128 0h32v96h-32v-96z" />',viewBox:"0 0 512 512"},bl={name:"digg-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM160 203.5V352H64V192h64v-64h32v75.5zM212 352h-32V192h32v160zm0-192h-32v-32h32v32zm119 153.7V416h-96v-32h64v-32h-64V192h96v121.7zm117 0V416h-96v-32h64v-32h-64V192h96v121.7zM96 224h32v96H96v-96zm171 0h32v96h-32v-96zm117 0h32v96h-32v-96z" />',viewBox:"0 0 512 512"},yl={name:"envelop",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm23.7 32L256 296.3 424.3 128c11 2.9 19.7 11.6 22.6 22.6L342.6 254.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L320 277.5l-64 64-64-64L87.7 381.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L65.1 150.6c2.9-11 11.6-19.7 22.6-22.6z" />',viewBox:"0 0 512 512"},wl={name:"envelop-box",content:'<path d="m377 182.4-88.8 88.8-31.2 29-33.2-29-88.8-88.8c-7.7 2-13.8 8.1-15.8 15.8l73 73-73 73c2 7.7 8.1 13.8 15.8 15.8l73-73 49 44.8 47-44.8 73 73c7.7-2 13.8-8.1 15.8-15.8l-73-73 73-73c-2-7.7-8.1-13.8-15.8-15.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-32 329.6c0 12.4-10 22.4-22.4 22.4H118.4C106 384 96 374 96 361.6V182.4c0-12.4 10-22.4 22.4-22.4h275.2c12.4 0 22.4 10 22.4 22.4v179.2z" />',viewBox:"0 0 512 512"},xl={name:"facebook",content:'<path d="M290 32c-59.8 0-96 32-96 96v64h-66v96h66v192h96V288h80l14-96h-94v-32c0-32 32-32 32-32h62V34.9c-7.2-.9-65.4-2.9-94-2.9z" />',viewBox:"0 0 512 512"},kl={name:"facebook-box",content:'<path d="M57.6 32C43.6 32 32 43.5 32 57.6v396.8c0 14 11.5 25.6 25.6 25.6h396.8c14 0 25.6-11.5 25.6-25.6V57.6c0-14-11.5-25.6-25.6-25.6H57.6zm315.8 65.5c24.1 0 42 2.3 42 2.3L414 155s-18.2-.2-38.1-.2c-21.5 0-24.9 9.9-24.9 26.1V224h64.1l-2.8 59H351v165h-63V283h-44v-59h44v-50.5c0-39.6 25.8-76 85.4-76z" />',viewBox:"0 0 512 512"},zl={name:"google",content:'<path d="M268.3 33c-16.1-1-33.4 1-52 4.9s-36.4 12.8-53.2 26.5c-12.6 11-21.9 23.4-28.3 37.3-6.3 13.9-9.4 27.7-9.4 41.5 0 11.4 2.1 22.7 6.5 33.8 4.3 11.1 10.6 21.1 18.8 29.7 8.2 8.6 18.4 15.6 30.6 20.9 12.2 5.3 26.1 7.9 41.8 7.9 3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3-1.2 3.3-1.8 7.6-1.8 12.6 0 9 1.9 16.5 5.6 22.6s7.7 11.9 12 17.4c-6.7.4-14.5 1-23.5 1.8s-18.6 2.1-28.8 4.1-20.5 4.6-30.9 7.9-20.1 7.7-29.1 13.2c-17.2 10.2-29.1 22-35.6 35.6-6.5 13.6-9.7 25.6-9.7 36.2 0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7c10.6 7.9 23.8 14.1 39.7 18.8 15.9 4.7 34.4 7 55.5 7 25.1 0 47.3-3.2 66.7-9.7s35.6-14.9 48.5-25.3 22.7-22.3 29.4-35.6c6.7-13.3 10-26.9 10-40.6 0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2-4.5-6.3-9.8-12.2-15.9-17.7s-12.3-11-18.5-16.5l-21.1-16.5c-3.2-2.8-6.5-6-10-9.7s-5.3-8.9-5.3-15.6c0-6.7 1.8-12.2 5.3-16.5s7.2-8.4 11.2-12.4c6.2-4.7 12.4-9.7 18.2-15 5.9-5.3 11.2-11.2 15.9-17.6 4.7-6.5 8.4-13.8 11.2-22.1 2.7-8.2 4.1-17.9 4.1-28.8s-1.5-20.8-4.7-29.5c-3.1-8.6-6.8-16.2-11.2-22.7-4.3-6.5-8.8-12-13.5-16.5S315.3 52 315.3 52H352l31.7-20-115.4 1zm-37.1 17.8c12.2 0 22.8 3.6 32 10.9s17 16.4 23.2 27.5c6.2 11 11 22.8 14.1 35.4s4.7 24.2 4.7 34.8c0 5.5-.8 12.4-2.3 20.7s-5.7 15.7-12.4 22.4c-4.7 4.7-10.7 8.7-18 11.8-7.3 3.2-14.6 4.7-22 4.7-12.5 0-23.4-3.6-32.6-10.9-9.2-7.3-16.9-16.3-22.9-26.8-6.1-10.6-10.6-22-13.5-34.2s-4.4-23.2-4.4-33.1c0-7.9.9-15.5 2.7-23S185 76.6 190 70.3c4.7-5.9 10.8-10.6 18.2-14.1 7.5-3.6 15.1-5.4 23-5.4zM260 314h7.3c1.8 0 3.8.2 6.2.6 11 7.8 20.6 14.9 28.8 21.2 8.2 6.2 14.9 12.4 20 18.2 5.1 5.9 8.9 11.8 11.5 18 2.5 6 3.8 12.8 3.8 20.3 0 18.4-7.3 33.6-22 45.6-14.7 11.9-36.2 17.9-64.4 17.9-31.8 0-57-6.7-75.6-20s-27.9-30.6-27.9-51.7c0-10.6 2.1-19.4 6.2-26.5 4.1-7 8.9-12.9 14.4-17.6s11.1-8.3 16.8-10.8c5.7-2.6 10.1-4.4 13.2-5.6 6.3-2 12.7-3.6 19.4-5s12.9-2.4 18.8-3c5.9-.6 11-1 15.3-1.2 4.2-.2 7-.3 8.2-.4z" />',viewBox:"0 0 512 512"},Cl={name:"google-box",content:'<path d="M212.6 236.1c5.1-5.1 8.2-10.8 9.4-17.1s1.8-11.6 1.8-15.8c0-8.1-1.2-17-3.6-26.6s-6-18.6-10.8-27-10.7-15.4-17.7-21-15.2-8.4-24.4-8.4c-6 0-11.8 1.3-17.5 4.1s-10.3 6.3-13.9 10.8c-3.9 4.8-6.5 10-7.8 15.7s-2 11.6-2 17.6c0 7.5 1.1 15.9 3.4 25.2 2.3 9.3 5.7 18 10.3 26.1s10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3 5.7 0 11.3-1.2 16.8-3.6s10-5.2 13.6-8.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM270.9 394.1c-5.1 10.2-12.6 19.3-22.4 27.2s-22.2 14.4-37 19.4c-14.8 4.9-31.8 7.4-50.9 7.4-16.2 0-30.3-1.8-42.4-5.4s-22.2-8.4-30.3-14.4-14.1-12.8-18-20.4-5.9-15.6-5.9-24c0-8.1 2.5-17.2 7.4-27.6s14-19.4 27.2-27.2c6.8-4.2 14.3-7.6 22.2-10.1s15.8-4.6 23.6-6c7.8-1.5 15.1-2.5 22-3.1s12.9-1.1 18-1.3c-3.3-4.2-6.4-8.6-9.2-13.3s-4.3-10.4-4.3-17.3c0-3.9.4-7.1 1.3-9.7s1.9-5.2 3.1-7.9c-2.4.3-4.8.5-7.2.7s-4.8.2-7.2.2c-12 0-22.6-2-31.9-6-9.3-4-17.1-9.3-23.4-15.9-6.3-6.6-11.1-14.1-14.3-22.7s-4.9-17.2-4.9-25.8c0-10.5 2.4-21 7.2-31.6s12-20.1 21.6-28.5c12.8-10.5 26.4-17.2 40.6-20.2s27.5-4.5 39.7-4.6H288l-28.7 16h-27.8c2.7 1.9 5.8 4.7 9.4 8.1 3.6 3.5 7 7.6 10.3 12.6s6.1 10.7 8.5 17.3 3.6 14.1 3.6 22.5-1.1 15.7-3.1 22c-2.1 6.3-4.9 11.9-8.5 16.9s-7.6 9.4-12.1 13.5-9.2 7.9-13.9 11.5c-3 3-5.9 6.1-8.5 9.4s-4 7.5-4 12.6 1.3 9.1 4 11.9 5.2 5.3 7.6 7.4l16.2 12.6c4.8 4.2 9.5 8.4 14.1 12.6 4.6 4.2 8.7 8.7 12.1 13.5 3.5 4.8 6.2 10.1 8.3 16.2s3.2 12.9 3.2 20.7c-.1 10.2-2.6 20.5-7.8 30.8zm-34.1-42.6c-3.9-4.5-9-9.1-15.3-13.9s-13.6-10.2-22-16.2c-1.8-.3-3.4-.4-4.7-.4h-5.6c-.9 0-3 .1-6.3.2s-7.2.4-11.7.9-9.3 1.2-14.3 2.3-10 2.3-14.8 3.8c-2.4.9-5.8 2.3-10.1 4.3s-8.6 4.7-12.8 8.3-7.8 8.1-11 13.5c-3.1 5.4-4.7 12.1-4.7 20.2 0 16.2 7.1 29.3 21.3 39.5s33.4 15.3 57.7 15.3c21.5 0 37.9-4.5 49.2-13.7s16.8-20.7 16.8-34.8c0-5.7-1-10.8-2.9-15.5s-4.9-9.3-8.8-13.8z" />',viewBox:"0 0 512 512"},_l={name:"google-plus",content:'<path d="M204.3 33c-16.1-1-33.4 1-52 4.9s-36.4 12.8-53.2 26.5c-12.6 11-22 23.4-28.3 37.3s-9.4 27.7-9.4 41.5c0 11.4 2.1 22.7 6.5 33.8 4.3 11.1 10.6 21.1 18.8 29.7 8.2 8.6 18.4 15.6 30.6 20.9 12.2 5.3 26.1 7.9 41.8 7.9 3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3-1.2 3.3-1.8 7.6-1.8 12.6 0 9 1.9 16.5 5.6 22.6s7.7 11.9 12 17.4c-6.7.4-14.5 1-23.5 1.8s-18.6 2.1-28.8 4.1-20.5 4.6-30.9 7.9-20.1 7.7-29.1 13.2c-17.2 10.2-29.1 22-35.6 35.6-6.5 13.6-9.7 25.6-9.7 36.2 0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7C73.8 462 87 468.3 102.9 473s34.4 7 55.6 7c25.1 0 47.3-3.2 66.7-9.7s35.6-14.9 48.5-25.3 22.7-22.3 29.4-35.6c6.7-13.3 10-26.9 10-40.6 0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2-4.5-6.3-9.8-12.2-15.9-17.7s-12.3-11-18.5-16.5l-21.2-16.5c-3.2-2.8-6.5-6-10-9.7s-5.3-8.9-5.3-15.6c0-6.7 1.8-12.2 5.3-16.5s7.2-8.4 11.2-12.4c6.2-4.7 12.4-9.7 18.2-15 5.9-5.3 11.2-11.2 15.9-17.6 4.7-6.5 8.4-13.8 11.2-22.1 2.7-8.2 4.1-17.9 4.1-28.8s-1.5-20.8-4.7-29.5c-3.1-8.6-6.8-16.2-11.2-22.7-4.3-6.5-8.8-12-13.5-16.5S251.3 52 251.3 52H288l31.7-20-115.4 1zm-37 17.8c12.2 0 22.8 3.6 32 10.9s17 16.4 23.2 27.5c6.2 11 11 22.8 14.1 35.4s4.7 24.2 4.7 34.8c0 5.5-.8 12.4-2.3 20.7-1.6 8.3-5.7 15.7-12.4 22.4-4.7 4.7-10.7 8.7-18 11.8-7.3 3.2-14.6 4.7-22 4.7-12.5 0-23.4-3.6-32.6-10.9-9.2-7.3-16.9-16.3-22.9-26.8-6.1-10.6-10.6-22-13.5-34.2s-4.4-23.2-4.4-33.1c0-7.9.9-15.5 2.7-23S121 76.6 126 70.3c4.7-5.9 10.8-10.6 18.2-14.1 7.5-3.6 15.2-5.4 23.1-5.4zM196.1 314h7.3c1.8 0 3.8.2 6.2.6 11 7.8 20.6 14.9 28.8 21.2 8.2 6.2 14.9 12.4 20 18.2 5.1 5.9 8.9 11.8 11.5 18 2.5 6 3.8 12.8 3.8 20.3 0 18.4-7.3 33.6-22 45.6-14.7 11.9-36.2 17.9-64.4 17.9-31.8 0-57-6.7-75.6-20s-27.9-30.6-27.9-51.7c0-10.6 2.1-19.4 6.2-26.5s8.9-12.9 14.4-17.6 11.1-8.3 16.8-10.8c5.7-2.6 10.1-4.4 13.2-5.6 6.3-2 12.7-3.6 19.4-5s12.9-2.4 18.8-3c5.9-.6 11-1 15.3-1.2 4.2-.2 6.9-.3 8.2-.4zM384 32v64h-64v32h64v64h32v-64h64V96h-64V32h-32z" />',viewBox:"0 0 512 512"},Il={name:"google-plus-box",content:'<path d="M212.6 236.1c5.1-5.1 8.2-10.8 9.4-17.1s1.8-11.6 1.8-15.8c0-8.1-1.2-17-3.6-26.6s-6-18.6-10.8-27-10.7-15.4-17.7-21-15.2-8.4-24.4-8.4c-6 0-11.8 1.3-17.5 4.1s-10.3 6.3-13.9 10.8c-3.9 4.8-6.5 10-7.8 15.7s-2 11.6-2 17.6c0 7.5 1.1 15.9 3.4 25.2 2.3 9.3 5.7 18 10.3 26.1s10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3 5.7 0 11.3-1.2 16.8-3.6s10-5.2 13.6-8.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM270.9 394.1c-5.1 10.2-12.6 19.3-22.4 27.2s-22.2 14.4-37 19.4c-14.8 4.9-31.8 7.4-50.9 7.4-16.2 0-30.3-1.8-42.4-5.4s-22.2-8.4-30.3-14.4-14.1-12.8-18-20.4-5.9-15.6-5.9-24c0-8.1 2.5-17.2 7.4-27.6s14-19.4 27.2-27.2c6.8-4.2 14.3-7.6 22.2-10.1s15.8-4.6 23.6-6c7.8-1.5 15.1-2.5 22-3.1s12.9-1.1 18-1.3c-3.3-4.2-6.4-8.6-9.2-13.3s-4.3-10.4-4.3-17.3c0-3.9.4-7.1 1.3-9.7s1.9-5.2 3.1-7.9c-2.4.3-4.8.5-7.2.7s-4.8.2-7.2.2c-12 0-22.6-2-31.9-6-9.3-4-17.1-9.3-23.4-15.9-6.3-6.6-11.1-14.1-14.3-22.7s-4.9-17.2-4.9-25.8c0-10.5 2.4-21 7.2-31.6s12-20.1 21.6-28.5c12.8-10.5 26.4-17.2 40.6-20.2s27.5-4.5 39.7-4.6H288l-28.7 16h-27.8c2.7 1.9 5.8 4.7 9.4 8.1 3.6 3.5 7 7.6 10.3 12.6s6.1 10.7 8.5 17.3 3.6 14.1 3.6 22.5-1.1 15.7-3.1 22c-2.1 6.3-4.9 11.9-8.5 16.9s-7.6 9.4-12.1 13.5-9.2 7.9-13.9 11.5c-3 3-5.9 6.1-8.5 9.4s-4 7.5-4 12.6 1.3 9.1 4 11.9 5.2 5.3 7.6 7.4l16.2 12.6c4.8 4.2 9.5 8.4 14.1 12.6 4.6 4.2 8.7 8.7 12.1 13.5 3.5 4.8 6.2 10.1 8.3 16.2s3.2 12.9 3.2 20.7c-.1 10.2-2.6 20.5-7.8 30.8zM448 192h-64v64h-32v-64h-64v-32h64V96h32v64h64v32zM236.8 351.5c-3.9-4.5-9-9.1-15.3-13.9s-13.6-10.2-22-16.2c-1.8-.3-3.4-.4-4.7-.4h-5.6c-.9 0-3 .1-6.3.2s-7.2.4-11.7.9-9.3 1.2-14.3 2.3-10 2.3-14.8 3.8c-2.4.9-5.8 2.3-10.1 4.3s-8.6 4.7-12.8 8.3-7.8 8.1-11 13.5c-3.1 5.4-4.7 12.1-4.7 20.2 0 16.2 7.1 29.3 21.3 39.5s33.4 15.3 57.7 15.3c21.5 0 37.9-4.5 49.2-13.7s16.8-20.7 16.8-34.8c0-5.7-1-10.8-2.9-15.5s-4.9-9.3-8.8-13.8z" />',viewBox:"0 0 512 512"},El={name:"linkedin",content:'<path d="M112 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zM64 160v288h96V160H64zm128 0v288h96V288c0-32 32-32 32-32s32 0 32 32v160h96V290.9c0-66.5-13.6-130.9-96-130.9-36.2 0-62.9 32-64 44.9V160h-96z" />',viewBox:"0 0 512 512"},Sl={name:"linkedin-box",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zM160 416H96V192h64v224zm-32-256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm288 256h-64V288c0-17.7-14.3-32-32-32s-32 14.3-32 32v128h-64V192h64v39.7c13.2-18.1 33.4-39.7 56-39.7 39.8 0 72 35.8 72 80v144z" />',viewBox:"0 0 512 512"},Ml={name:"myspace",content:'<path d="M400 64c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm-176 64c-35.4 0-64 28.6-64 64s28.6 64 64 64 64-28.6 64-64-28.6-64-64-64zM80 192c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm320 64c-44.2 0-80 36.1-80 80.5V448h160V336.5c0-44.5-35.8-80.5-80-80.5zm-176 32c-35.4 0-64 31.5-64 70.3V448h128v-89.7c0-38.8-28.6-70.3-64-70.3zM80 320c-26.5 0-48 21.8-48 48.7V448h96v-79.3c0-26.9-21.5-48.7-48-48.7z" />',viewBox:"0 0 512 512"},Ol={name:"myspace-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 416H64v-63.5c0-17.9 14.3-32.5 32-32.5s32 14.5 32 32.5V416zM96 288c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm160 128h-96v-75.3c0-29.1 21.5-52.7 48-52.7s48 23.6 48 52.7V416zm-48-160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm208 160H288v-92.9c0-37.1 27.2-67.1 64-67.1s64 30 64 67.1V416zm-64-192c-35.4 0-64-28.6-64-64s28.6-64 64-64 64 28.6 64 64-28.6 64-64 64z" />',viewBox:"0 0 512 512"},Rl={name:"pinterest",content:'<path d="M250.7 32C126.6 32 64 119.7 64 192.7c0 44.3 17 83.6 53.5 98.3 6 2.4 11.4.1 13.1-6.4 1.2-4.5 4.1-15.9 5.3-20.7 1.8-6.5 1.1-8.7-3.7-14.3-10.5-12.2-17.2-28.1-17.2-50.5 0-65.1 49.4-123.3 128.6-123.3 70.2 0 108.7 42.2 108.7 98.6 0 74.2-33.3 136.8-82.8 136.8-27.3 0-47.8-22.2-41.2-49.6 7.9-32.6 23.1-67.8 23.1-91.3 0-21.1-11.5-38.7-35.2-38.7-27.9 0-50.4 28.5-50.4 66.6 0 24.3 8.3 40.7 8.3 40.7s-28.6 119.3-33.6 140.2c-10 41.6-1.5 92.7-.8 97.8.5 3 4.4 3.7 6.2 1.5 2.6-3.3 35.9-43.8 47.2-84.2 3.2-11.4 18.4-70.8 18.4-70.8 9.1 17.1 35.6 32.1 63.8 32.1 84 0 141-75.4 141-176.4C416 103 350.3 32 250.7 32z" />',viewBox:"0 0 512 512"},Hl={name:"pinterest-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM276.6 327.3c-19.8 0-38.5-10.8-44.9-22.9 0 0-10.7 42.4-12.9 50.5-8 28.9-31.4 57.8-33.2 60.2-1.3 1.6-4.1 1.1-4.4-1.1-.5-3.7-6.5-40.1.5-69.9 3.5-14.9 23.6-100.2 23.6-100.2s-5.9-11.7-5.9-29.1c0-27.2 15.8-47.6 35.5-47.6 16.7 0 24.8 12.5 24.8 27.6 0 16.8-10.7 41.9-16.2 65.2-4.6 19.5 9.8 35.4 29 35.4 34.8 0 58.3-44.7 58.3-97.7 0-40.3-27.1-70.4-76.5-70.4-55.7 0-90.5 41.6-90.5 88 0 16 4.7 27.3 12.1 36.1 3.4 4 3.9 5.6 2.6 10.2-.9 3.4-2.9 11.5-3.7 14.8-1.2 4.6-5 6.3-9.2 4.6-25.6-10.4-37.6-38.5-37.6-70.2C128 158.6 172 96 259.4 96c70.2 0 116.4 50.8 116.4 105.3-.1 72.1-40.2 126-99.2 126z" />',viewBox:"0 0 512 512"},Fl={name:"reddit",content:'<path d="M420.3 33c-7 0-14.5 1-22.4 3h-1.7c-12.4 4.8-21.9 12.3-28.8 22.5-17-7-34-10.4-50.7-10.4-6.3 0-12.6.6-19.1 1.9H296c-8.8 2.1-16.5 5.8-23.3 11s-12.4 11.6-16.6 19.1c-5.3 8.7-8.9 31.3-10.5 41.1-1.7 9.8-2.6 25-2.6 34.7-20.9 1.5-41.8 4.5-62.8 9.1s-40.6 11.9-59 21.9c-1.3.4-2.5.9-3.5 1.3s-2 .9-2.9 1.3c-6.2-4.5-13-8-20.5-10.6-7.8-2.6-16.1-3.9-24.9-3.9h-5.8c-8.7 0-16.7 1.6-24.1 4.8s-14.1 7.7-20.3 13.4c-5.8 5.8-10.3 12.2-13.9 19.4-3.6 7.3-5.3 14.8-5.3 22.7.4 10.8 4.4 21.3 11.8 31.4 5.7 8.3 13.8 15.4 24.3 21.1-.5 2.1-.7 4.4-1 6.8-.2 2.5-.3 4.8-.3 6.9 0 10 1.5 20 4.5 30.1 3 10.1 7.4 19.4 13.1 28.1 10.9 16.6 24.5 30.5 40.9 41.6 16.4 11 33.8 20.2 52.1 27.2 17.5 6.6 35.5 11.6 54 14.8 18.6 3.3 37.4 5 56.6 5 12.5 0 25.1-.8 37.5-2.4 12.5-1.6 25-3.7 37.6-6.3 23.2-5.5 45.5-13.9 66.8-25.1s39.4-26 54.3-44.3c17.1-20.5 25.6-43.4 25.6-68.8 0-2.6-.1-5.1-.4-7.5-.3-2.4-.5-4.7-.9-6.8 10-4.9 18.3-11.9 24.9-21.1 7.1-9.6 10.6-20.3 10.6-32v-3c-1.2-13.4-6.8-25.1-16.3-34.9-9.8-10-21.2-16.7-34.2-20.1h-.6c-6-1.3-11.6-1.9-16.9-1.9-14.1-.2-26.6 3.2-37.4 10.2-2.3 1.1-5.2 2.8-8.6 5.4-.8-.9-1.8-1.3-2.6-1.3l-.7-.6c-18.2-9.6-37.5-16.9-57.7-21.8-20.1-4.9-40.6-8-61.6-9.3 0-7.7.7-34.2 1.8-41.9s3.7-14.8 7.5-21.4c4.9-9.6 13.4-15.1 25.6-16.4h5.8c7.4 0 14.7 1.1 21.7 3 7.1 2 14.1 4.3 21.2 6.9v1.9c0 7.5 1.5 14.2 4.5 20.3 2.9 6 6.9 11.6 11.8 16.5 10.3 10.4 22.8 16.3 37.7 17.5h7.3c14.9 0 28.1-4.8 39.8-14.4 5.3-4.4 9.7-9.6 13.1-15.5s5.5-12.5 6.4-20c.4-1.3.6-3.2.6-5.8.2-11-3.3-21.4-10.3-30.9-7.1-9.2-15.8-15.7-26.2-19.5h-.5c-6.5-2.7-14.1-4.1-22.9-4zm1.2 27.4c7.2.1 13.2 2.7 18.3 7.7C446 73 449 79.2 449 86.7V88c-.8 6.8-3.9 12.7-9.3 17.6-5.5 4.9-11.9 7.4-19.1 7.4h-1.9c-7.1 0-13.4-2.5-19.4-7.4-5.5-4.7-8.3-10.6-8.3-17.6v-1.3c0-6.6 2.1-12.1 6.5-16.6 3.8-4.7 8.9-7.7 15.1-8.9 2-.4 4.4-.6 7.5-.6.4-.2.9-.2 1.4-.2zm-165 125.7c10 0 20.3.5 30.8 1.6 10.6 1.1 20.9 2.7 30.8 4.8l9.9 2.6 10.2 2.6c17.5 4.9 34.1 11.9 49.9 21.1 15.8 9.2 29 20.8 40 34.9 5.1 7.3 9.2 14.9 12.3 23 3.1 8.1 4.6 16.5 4.6 25.3v7.6c0 2.3-.4 4.6-1.3 6.7-2.8 12.4-8.5 24-17.3 34.9-7.4 10-17 19.2-28.8 27.5-17.5 11.7-36.4 20.7-56.9 26.9-20.4 6.2-41.3 10.1-62.7 11.8-3.6.5-7.3.6-10.8.6h-10.8c-21.3 0-42.4-2.2-63.1-6.6-20.8-4.4-40.3-11.4-58.6-21l-4.5-2.6-4.8-2.2c-13-8.3-24.4-17.5-34.5-27.5-10.2-11.5-17.2-24-21.1-37.4-1.7-5.2-2.6-11.2-2.6-18.2 0-18.1 5.6-34.2 16.9-48.3 11-14.1 24.4-25.8 40.1-35.2s32.2-16.5 49.7-21.4c26.2-7.7 53.7-11.6 82.6-11.5zM65.7 204h3.2c3.2 0 6.1.4 8.8 1.3 2.6.9 5.4 1.7 8.4 2.6-8.7 7-16.5 14.6-23.5 22.7-6.9 8.1-12.8 17-17.7 26.6-2.8-2-5.2-4.8-7.4-8.6-3-3.5-4.5-7.8-4.5-13.1v-2.1c.7-7.7 4-14.4 10.3-20.2 7.1-5.3 14.6-8.3 22.4-9.2zm377.6-.4c6.4 0 12.7 1.5 18.9 4.4 6.1 3.5 10.8 7.8 13.7 13.2 2.1 4.5 3.2 8.6 3.2 12.5 0 5.3-1.2 10.1-3.8 14.4-2.4 3.6-5 6.7-8 9.2-4.7-10-10.6-19.1-17.6-27.2-7-8.1-14.9-15.6-23.6-22.7 5.3-2.6 11-3.8 17.2-3.8zm-107.6 43.2c-3.6 0-7.4.7-11.2 1.9-6.2 2.2-11.2 5.9-15 11.2-4 4.7-6.1 10.3-6.1 16.9 0 2.4.2 4.2.6 5.5v.6c1.3 7.5 5.1 13.1 11.2 17 6.2 4.7 13.2 7 21.1 7 2.5 0 5.5-.6 9-1.9h.9c5.6-1.1 11-4.5 16.3-10.2 3.8-5.3 5.8-11.4 5.8-18 0-3-.6-6.2-2-9.6-1.6-6.2-5.6-11.3-11.8-15.3-5.9-3.3-12.2-5.1-18.8-5.1zm-158.8-.1c-2.6 0-4.7.2-6.3.7-5.8.9-10.8 3.1-15.2 6.9-4.4 3.7-7.4 8.3-9.1 13.6-.9 1.2-1.3 2.7-1.3 4.1v4.2c0 7 1.9 13.2 5.8 18.6 4.2 5.1 9.6 8.5 16.3 10.2 3 1.2 6.3 1.9 9.9 1.9 8.3 0 15.8-2.8 22.4-8.3 7.1-5.7 10.6-12.8 10.6-21.1v-2c0-7.9-3.3-14.6-9.9-20.1-7.2-5.8-14.9-8.7-23.2-8.7zm-1.6 94c-1.2 0-3.2.5-5.7 1.3h-.8c-2.6.8-5 2.7-7.3 5.7-1.2 2.1-1.9 4.8-1.9 8 0 2.6.6 5.2 1.9 8 1.3 2.2 3.2 3.9 5.8 5.1 24.5 15.4 51.4 23.1 80.7 23.1h4.8c14.1 0 27.8-1.3 41-4s26.1-6.9 38.5-12.6c1.7-.9 3.5-1.7 5.4-2.6 1.9-.8 3.9-1.9 6-3.2 2.2-.9 4-2.1 5.5-3.8 2.1-2.1 3.3-4.4 3.8-6.8.4-.8.7-1.9.7-3.2 0-1.3-.4-3.2-1.3-5.8-1.3-3.2-3.5-5.4-6.4-6.7-3.3-1.7-6.2-2.6-8.6-2.6-2.5 0-5.3.6-8 2-23.2 13-48.6 19.6-76 19.8-20.4 0-39.5-3.9-57-11.8-2.5-.9-5.7-2.9-9.2-6.1-.9-.4-1.8-.8-2.8-1.3-1-.5-2.2-.9-3.3-1.3-2.7-.8-4.6-1.3-5.8-1.2z" />',viewBox:"0 0 512 512"},Vl={name:"reddit-box",content:'<path d="M111.1 244.9c-5.2 6.1-9.6 12.7-13.2 19.9-2.1-1.5-3.9-3.6-5.5-6.5-2.3-2.6-3.4-5.9-3.4-9.8v-1.4c.5-5.8 3-10.8 7.7-15.1 5.3-4 10.9-6.3 16.8-7h2.4c2.4 0 4.6.3 6.6 1 2 .6 4.1 1.3 6.3 1.9a124.3 124.3 0 0 0-17.7 17zm252.1-94.3c4.4 3.7 9.1 5.4 14.4 5.4h1.4c5.3 0 10-1.8 14.2-5.4 4-3.7 6.3-8 6.9-13.1v-1c0-5.5-2.3-10.1-6.9-13.8-3.8-3.8-8.3-5.6-13.6-5.7h-1.1c-2.2 0-4.1.1-5.5.5-4.6.9-8.4 3.2-11.2 6.6-3.3 3.4-4.8 7.4-4.8 12.4v1c0 5.1 2 9.5 6.2 13.1zM394.5 279c2.3 6.1 3.5 12.4 3.5 19v5.7c0 1.8-.3 3.4-1 5-2.1 9.3-6.4 18-13 26.2-5.6 7.5-12.8 14.4-21.6 20.6-13.1 8.8-27.3 15.5-42.7 20.2-15.4 4.7-31 7.6-47 8.9-2.7.4-5.5.5-8.1.5h-8.1c-16 0-31.8-1.6-47.4-4.9s-30.2-8.5-44-15.7l-3.4-1.9-3.6-1.7c-9.8-6.2-18.3-13.1-25.8-20.6-7.7-8.6-12.9-18-15.8-28.1-1.3-3.9-1.9-8.4-1.9-13.7 0-13.6 4.2-25.7 12.7-36.3 8.3-10.6 18.3-19.3 30.1-26.4 11.8-7 24.2-12.4 37.3-16.1 19.6-5.7 40.2-8.7 61.8-8.7h.1c7.5 0 15.2.4 23.1 1.2s15.6 2 23.1 3.6l7.4 1.9 7.7 1.9c13.1 3.7 25.6 9 37.4 15.8 11.9 6.9 21.8 15.6 30 26.2 3.8 5.6 6.9 11.4 9.2 17.4zm-205.9 21.9c2.3.9 4.7 1.4 7.5 1.4 6.3 0 12-2.1 16.9-6.3 5.3-4.3 8-9.7 8-15.9v-1.5c0-5.9-2.5-11-7.5-15.2-5.3-4.3-11.2-6.6-17.4-6.6-1.9 0-3.5.1-4.7.5-4.3.6-8.2 2.3-11.5 5.2-3.3 2.8-5.5 6.3-6.9 10.3-.7.9-1 2-1 3.1v3.1c0 5.3 1.4 10 4.3 14 3.3 4 7.3 6.7 12.3 7.9zm139.5 38.2c0-1-.3-2.4-1-4.3-1-2.4-2.6-4.1-4.7-4.9-2.5-1.3-4.6-1.9-6.4-1.9-1.9 0-4 .5-5.9 1.5-17.2 9.6-36 14.5-56.2 14.7-15.1 0-29.3-3-42.2-8.8-1.9-.6-4.2-2.2-6.8-4.6-.6-.3-1.3-.6-2.1-1s-1.6-.6-2.4-1c-1.9-.6-3.4-1-4.3-1v.1c-.9 0-2.4.4-4.3 1h-.5c-1.9.6-3.7 2-5.4 4.3-.9 1.6-1.4 3.6-1.4 5.9 0 1.9.5 3.9 1.4 5.9 1 1.6 2.4 2.9 4.3 3.8 18.2 11.4 38.1 17.1 59.8 17.1h3.6c10.5 0 20.6-1 30.4-3 9.8-2 19.3-5.1 28.5-9.4 1.2-.6 2.6-1.3 4.1-1.9 1.4-.6 3-1.4 4.5-2.4 1.6-.7 3-1.6 4.1-2.9 1.6-1.6 2.5-3.3 2.9-5-.2-.4 0-1.2 0-2.2zm12.2-59.2c0-2.2-.5-4.6-1.5-7.2-1.2-4.6-4.2-8.4-8.8-11.5-4.5-2.6-9.2-3.9-14.1-3.9-2.7 0-5.5.5-8.4 1.4-4.6 1.6-8.4 4.4-11.3 8.4-3 3.5-4.6 7.8-4.6 12.7 0 1.8.2 3.1.4 4.1v.5c1 5.6 3.8 9.8 8.4 12.7 4.6 3.5 9.9 5.3 15.8 5.3 1.9 0 4.1-.5 6.7-1.4h.7c4.2-.8 8.2-3.4 12.2-7.7 3-3.9 4.5-8.4 4.5-13.4zM480 64v384c0 17.6-14.4 32-32 32H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32zm-32.3 181c-.9-10.3-5.2-19.1-12.4-26.6-7.4-7.6-16.2-12.7-26-15.4h-.1c-4.5-1-8.7-1.4-12.7-1.4-10.6-.2-19.8 2.4-28 7.7-1.7.8-3.9 2.1-6.5 4.1-.6-.6-1.3-1-1.9-1l-.5-.5c-13.7-7.2-28-12.7-43.1-16.3-15.1-3.7-30.4-6-46.1-7 0-5.8.5-25.5 1.4-31.3.9-5.8 2.8-11.1 5.6-16.1 3.6-7.2 10.1-11.3 19.1-12.3h4.3c5.6 0 11 .8 16.3 2.3s10.6 3.2 15.9 5.2v1.5c0 5.6 1.1 10.8 3.4 15.3 2.2 4.5 5.2 8.7 8.8 12.5 7.7 7.8 17.1 12.3 28.4 13.3h5.5c11.2 0 21.1-3.6 30.1-10.9 4-3.3 7.3-7.2 9.8-11.7 2.6-4.4 4.2-9.4 4.8-15.1.3-1 .5-2.4.5-4.3.2-8.3-2.4-16.2-7.7-23.4-5.3-6.9-11.9-11.9-19.7-14.7h-.5c-4.9-2.3-10.7-3.4-17.3-3.4-5.4 0-11.1.8-17.1 2.4h-.4c-9.7 3.8-17.1 9.7-22.5 17.6-13.3-5.4-26.5-8-39.5-8-4.9 0-9.9.5-14.9 1.4h.9c-6.6 1.6-12.4 4.4-17.5 8.3-5.1 3.9-9.3 8.7-12.5 14.3-4 6.5-6.6 23.5-7.9 30.9-1.3 7.3-1.9 18.7-1.9 26-15.7 1.1-31.3 3.4-47.2 6.8-15.7 3.5-30.4 8.9-44.2 16.4-1 .3-1.8.7-2.6 1s-1.5.6-2.2 1c-4.7-3.4-9.7-6-15.4-7.9-5.9-1.9-12.1-2.9-18.6-2.9h-4.3c-6.5 0-12.6 1.2-18.1 3.6s-10.6 5.8-15.2 10.1c-4.3 4.3-7.8 9.2-10.4 14.5-2.7 5.4-3.9 11-3.9 16.9.3 8.1 3.3 16 8.9 23.5 4.3 6.2 10.4 11.5 18.2 15.8-.4 1.6-.6 3.3-.7 5.1-.1 1.8-.2 3.6-.2 5.2 0 7.5 1.1 15 3.4 22.6 2.3 7.5 5.5 14.6 9.8 21.1 8.1 12.5 18.4 22.9 30.7 31.2s25.3 15.1 39.1 20.4c13.1 5 26.6 8.7 40.5 11.1 13.9 2.5 28.1 3.7 42.4 3.7 9.4 0 18.8-.6 28.1-1.8 9.4-1.2 18.8-2.8 28.2-4.7 17.4-4.1 34.1-10.4 50.2-18.8s29.5-19.5 40.8-33.2c12.8-15.4 19.2-32.6 19.2-51.7 0-1.9-.1-3.8-.3-5.6-.2-1.8-.4-3.6-.7-5.1 7.5-3.7 13.7-8.9 18.7-15.8 5.3-7.2 7.9-15.2 7.9-24V245h-.2zm-37.1-17c-4.7-2.2-9.4-3.3-14.1-3.3-4.6 0-8.9.9-12.9 2.9 6.5 5.3 12.5 10.9 17.7 17 5.3 6.1 9.7 12.9 13.2 20.4 2.2-1.9 4.2-4.2 6-6.9 1.9-3.2 2.9-6.8 2.9-10.8 0-2.9-.9-6-2.4-9.4-2.3-4-5.8-7.3-10.4-9.9z" />',viewBox:"0 0 512 512"},Dl={name:"stumble-upon",content:'<path d="m288.1 256 26.8 8.4L352 256v64c1.1 18.9 12.8 32 32 32s30.9-13.1 32-32v-64h64v64s0 96-96 96-96-96-96-96l.1-64zm26.8-23.2L288 224v-32s0-32-32-32-32 32-32 32v128s0 96-96 96-96-96-96-96v-64h64v64c1.1 18.9 12.8 32 32 32 19.1 0 30.9-13.2 32.1-32h-.1V192s0-96 96-96 96 96 96 96v32l-37.1 8.8z" />',viewBox:"0 0 512 512"},Bl={name:"stumble-upon-box",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm191.5 96.3c82.5 0 82.5 87.3 82.5 87.3v8.4l-31.9 8-23.1-8v-8.6s0-29.2-27.5-29.2-27.5 29.2-27.5 29.2v81.5s0 87-82 87-82-87-82-87V256h55v41h-.9c.9 17.2 11 29.1 27.5 29.1s26.6-12 27.6-29.1h-.2v-81.4s0-87.3 82.5-87.3zM283.1 256l23 7.6L338 256v40.7c.9 17.2 11 29.1 27.5 29.1s26.6-11.9 27.5-29.1V256h55v40.7s0 87.3-82.5 87.3-82.5-87.3-82.5-87.3l.1-40.7z" />',viewBox:"0 0 512 512"},Al={name:"tell-a-friend",content:'<path d="M383.5 64c-31.7 0-57.5 24-57.5 53.5v2.1c0 14.9-12.2 30.3-28.5 33.3-5.5.5-9.9 4.8-9.9 10.1 0 2.6 1.1 5 2.9 6.8 13.3 10.5 28.3 22.2 92.5 22.2s80.1-11.7 93.3-22.2c1.8-1.8 2.9-4.1 2.9-6.8 0-5.3-4.3-9.6-9.9-10.1-16.3-3-28.5-18.4-28.5-33.3v-2.1c0-29-25-52.7-55.9-53.5h-.5.2-1.1c.2 0 0 0 0 0zm.6 0h.9-.9zM128 224c-64.9 0-96 70-96 128v96h192v-96c0-52.7-34-128-96-128zm256 0c-96 0-96 224-96 224h192s0-224-96-224zm-192-96c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64z" />',viewBox:"0 0 512 512"},Nl={name:"tell-a-friend-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM144 96c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm80 320H64v-96c0-48.3 26-96 80.2-96 51.7 0 79.8 52.1 79.8 96v96zm223.6 0H288s0-192 80-192 79.6 192 79.6 192zm-2-240.7c-11.1 7.9-24.3 16.7-78 16.7s-66.3-8.8-77.3-16.7c-1.5-1.3-2.4-3.1-2.4-5.1 0-4 3.6-7.2 8.2-7.5 13.6-2.3 23.8-13.8 23.8-25v-1.6c0-22.1 21.4-40.1 48-40.1h.9c26.1.4 47.1 18.2 47.1 40.1v1.6c0 11.2 10.2 22.7 23.8 25 4.6.4 8.2 3.6 8.2 7.5.1 2-.8 3.8-2.3 5.1z" />',viewBox:"0 0 512 512"},Ll={name:"tumblr",content:'<path d="M192.6 32c-2.8 23.1-8.1 42.1-15.7 57.1s-17.7 27.8-30.3 38.5-33 18.9-50.6 24.6V224h61v148.7c0 20.5 2.1 36.1 6.4 46.9s12 21 23.1 30.6c11.1 9.5 25 16.9 40.7 22.1s27.8 7.7 48.3 7.7c18 0 34.8-1.8 50.4-5.4 15.5-3.6 39.1-10.9 58.2-19.9V384c-22.3 14.8-51 22.9-73.7 22.9-12.8 0-24-3-33.9-8.9-7.5-4.4-14.3-12-17-19.2-2.8-7.4-2.4-22.3-2.4-48.2V224h96v-96h-96V32h-64.5z" />',viewBox:"0 0 512 512"},Pl={name:"tumblr-box",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm-96.1 366c-12.7 6.4-28.5 11.6-38.9 14.2-10.4 2.6-21.6 3.9-33.7 3.9-13.7 0-21.8-1.9-32.3-5.5-10.5-3.7-19.9-9-27.3-15.8-7.4-6.9-12.6-14.1-15.4-21.8-2.9-7.7-4.3-18.9-4.3-33.5V224h-40v-42.2c11.7-4.1 25.3-9.9 33.6-17.6 8.4-7.6 15.1-16.8 20.2-27.5s8.6-24.3 10.5-40.8H267v64h53v64h-53v85.2c0 18.6-.2 29.3 1.6 34.5 1.8 5.2 6.4 10.7 11.4 13.8 6.6 4.2 14.2 6.4 22.7 6.4 15.1 0 34.3-5.9 49.3-16.5V398h-.1z" />',viewBox:"0 0 512 512"},Tl={name:"twitter",content:'<path d="M342 64c-50.8 0-91.9 41.2-91.9 91.9 0 7.2.8 14.2 2.4 21-76.4-3.8-144.1-40.4-189.4-96-7.9 13.6-12.4 29.3-12.4 46.2 0 31.9 16.2 60 40.9 76.5-15.1-.5-29.2-4.6-41.6-11.5v1.2c0 44.5 31.7 81.7 73.7 90.1-7.7 2.1-15.8 3.3-24.2 3.3-5.9 0-11.7-.6-17.3-1.6 11.7 36.5 45.6 63.1 85.9 63.8-31.7 24.5-71.3 39.2-114.3 39.2-7.4 0-14.8-.4-22-1.3 40.7 26 89 41.3 140.9 41.3 169.1 0 261.5-140.1 261.5-261.5 0-4-.1-8-.2-11.9 18-12.9 33.5-29.1 45.9-47.6-16.5 7.3-34.2 12.3-52.8 14.5 19-11.4 33.6-29.4 40.4-50.8-17.8 10.5-37.4 18.2-58.4 22.3C392.3 75.1 368.4 64 342 64z" />',viewBox:"0 0 512 512"},jl={name:"twitter-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-64.7 159.7c.1 2.8.2 5.6.2 8.4 0 85.4-66 183.9-186.8 183.9-37.1 0-71.6-10.7-100.6-29.1 5.1.6 10.4.9 15.7.9 30.8 0 59.1-10.4 81.5-27.7-28.7-.5-53-19.2-61.3-44.9 4 .7 8.1 1.2 12.4 1.2 6 0 11.8-.8 17.3-2.3-30-5.9-52.7-32-52.7-63.3v-.8c8.9 4.8 19 7.7 29.7 8.1-17.6-11.6-29.2-31.4-29.2-53.8 0-11.8 3.2-22.9 8.9-32.5 32.4 39.1 80.8 64.8 135.3 67.5-1.1-4.7-1.7-9.7-1.7-14.7 0-35.7 29.4-64.6 65.6-64.6 18.9 0 36 7.8 47.9 20.4 14.9-2.9 29-8.3 41.7-15.7-4.9 15.1-15.3 27.7-28.9 35.7 13.3-1.6 26-5.1 37.7-10.2-8.9 13.1-19.9 24.5-32.7 33.5z" />',viewBox:"0 0 512 512"},Ul={name:"yammer",content:'<path d="M263.9 32.1c-10.1-.2-19.6 6.8-23.2 18-.1.4-.3 1-.5 1.9 0 .1-.1.3-.1.4-8 25.9-73.6 235.6-73.6 235.6h-1.2l-84-239.2C75.6 35.3 61.6 28.7 48.9 34c-13 5.5-19.7 21.5-15.4 36.2 10.1 29 105.8 290.4 105.8 290.4l-6.3 15.6c-10.6 32.1-31.6 53.8-63.2 53.8-3.1 0-13.7-.7-14.4-.8-10.2-.6-19.7 6.9-22.5 18.4-3.1 13.1 3.7 26.6 15.3 30.4 8.4 1.6 17 2.2 24.7 2.2 58.3 0 86.8-37.7 106-92.8 0 0 101-300.5 105.8-312.9.8-2 1.4-3.7 2-5.4l-.1-.1c.1-.4.3-.7.4-1.1 4.1-14.5-3-29.9-15.8-34.5-2.5-.8-4.9-1.3-7.3-1.3zM383.5 96c-6.3.1-13.3 2.5-20.4 9.6-21.5 21.6-43 86.4-43 86.4s64.6-21.6 86.4-43.5-.4-42.8-.4-42.8-9.7-9.8-22.6-9.7zm64.6 128c-32 0-96 32-96 32s64 32 96.4 32 31.5-32 31.5-32 .1-32-31.9-32zm-128 96s21.5 64.8 43 86.4 43-.1 43-.1 22.1-21 .4-42.8c-21.8-21.9-86.4-43.5-86.4-43.5z" />',viewBox:"0 0 512 512"},Kl={name:"yammer-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM332.5 148.6c15.4-15.4 30.7 0 30.7 0s15.8 15 .3 30.6-61.7 31.1-61.7 31.1 15.4-46.3 30.7-61.7zm-54.7-26.4c-.1.3-.2.5-.3.8h.1c-.4 1.2-.9 2.4-1.4 3.8-3.5 8.8-75.5 223.1-75.5 223.1-13.7 39.3-34 66.2-75.6 66.2-5.5 0-11.6-.4-17.6-1.6-8.3-2.7-13.2-12.3-10.9-21.7 2-8.2 8.8-13.6 16.1-13.2.5.1 8.1.6 10.3.6 22.6 0 37.5-15.5 45.1-38.3l4.5-11.1s-68.2-186.3-75.5-207c-3-10.5 1.7-22 11-25.9 9.1-3.8 19.1.9 23.2 10.6l.8 2.4L191.3 279h.9s46.7-149.5 52.5-168c0-.1 0-.2.1-.3.2-.6.3-1.1.4-1.3 3.2-9.8 12.7-15.1 21.6-11.9 8.9 3.4 14 14.4 11 24.7zm85.4 241.2s-15.3 15.5-30.7 0-30.8-61.7-30.8-61.7 46.1 15.4 61.7 31.1-.2 30.6-.2 30.6zm30.3-84.6c-23.2 0-68.9-22.8-68.9-22.8s45.7-22.8 68.6-22.8S416 256 416 256s.7 22.8-22.5 22.8z" />',viewBox:"0 0 512 512"},Wl={name:"behance",content:'<path d="M448 128H304V96h144v32zM245.335 254.873c7.09 11.573 10.665 25.65 10.665 42.197 0 17.067-4.069 32.379-12.176 45.903-5.178 9.005-11.62 16.58-19.358 22.691-8.723 7.022-18.988 11.833-30.855 14.467C181.744 382.732 168.89 384 155.02 384H32V96h131.927c33.321.504 56.901 10.744 70.803 30.705 8.323 12.24 12.515 26.869 12.515 43.936 0 17.588-4.192 31.729-12.607 42.425-4.716 5.982-11.683 11.443-20.868 16.385 13.963 5.364 24.474 13.817 31.565 25.422zm-158.9-45.318H152.8c11.867 0 21.484-2.406 28.913-7.152 7.367-4.763 11.097-13.215 11.097-25.292 0-13.426-4.901-22.285-14.672-26.609-8.446-2.991-19.204-4.486-32.273-4.486h-59.43v63.539zm111.923 83.452c0-15.019-5.795-25.292-17.385-30.917-6.504-3.121-15.597-4.746-27.31-4.876H86.435v76.787h66.303c11.836 0 21.084-1.69 27.68-5.071 11.96-6.275 17.94-18.238 17.94-35.923zM479.932 288H330.824c.813 21.182 7.938 34.778 21.409 43.322 8.157 5.287 18.002 7.931 29.503 7.931 12.189 0 22.096-3.224 29.722-9.704 4.157-3.482 7.813-8.318 11.001-14.541h54.693c-1.438 12.541-8.095 25.276-19.846 38.204C438.959 373.748 413.269 384 380.266 384c-27.253 0-51.286-8.64-72.132-25.985-20.846-17.28-31.222-45.522-31.222-84.532 0-36.624 9.376-64.672 28.19-84.21C323.917 169.785 348.294 160 378.328 160c17.814 0 33.847 3.288 48.129 9.898 14.282 6.593 26.096 17.023 35.378 31.24 8.407 12.573 13.876 27.114 16.346 43.685 1.438 9.704 2.033 24.929 1.751 43.177zm-55.567-37.696c-.969-14.669-5.72-25.759-14.283-33.4-8.532-7.576-19.095-11.348-31.753-11.348-13.72 0-24.377 3.998-31.94 12.058-7.563 8.028-12.314 18.957-14.282 32.691h92.258z" />',viewBox:"0 0 512 512"},ql={name:"behance-box",content:'<path d="M167.543 228.938h-56.884v-56.479h50.939c11.202 0 20.423 1.329 27.663 3.988 8.376 3.844 12.576 11.718 12.576 23.652 0 10.735-3.197 18.249-9.511 22.482-6.368 4.219-14.612 6.357-24.783 6.357zm220.527 11.836c-7.313-6.494-16.367-9.727-27.217-9.727-11.76 0-20.895 3.427-27.378 10.335-6.483 6.881-10.555 16.249-12.242 28.021h79.079c-.83-12.573-4.902-22.079-12.242-28.629zm-196.379 34.862c-5.575-2.774-13.369-4.219-23.409-4.335h-57.624v68.255h56.831c10.146 0 18.072-1.503 23.726-4.508 10.251-5.577 15.377-16.211 15.377-31.931 0-13.35-4.967-22.482-14.901-27.481zM480 64v384c0 17.664-14.336 32-32 32H64c-17.664 0-32-14.336-32-32V64c0-17.664 14.336-32 32-32h384c17.664 0 32 14.336 32 32zm-176 96h112v-32H304v32zm-48 146.729c0-14.709-3.065-27.221-9.142-37.509-6.078-10.316-15.087-17.829-27.056-22.597 7.873-4.392 13.845-9.247 17.887-14.564 7.213-9.507 10.806-22.077 10.806-37.711 0-15.171-3.593-28.175-10.727-39.055-11.916-17.743-32.128-26.846-60.689-27.293H64v256h105.445c11.889 0 22.907-1.127 33.079-3.439 10.172-2.341 18.97-6.618 26.447-12.859 6.632-5.433 12.154-12.166 16.592-20.17C252.512 335.51 256 321.899 256 306.729zm190.442-42.024c-2.117-14.204-6.804-26.667-14.01-37.444-7.956-12.187-18.082-21.126-30.324-26.777-12.242-5.665-25.985-8.484-41.254-8.484-25.744 0-46.638 8.387-62.765 25.091-16.127 16.746-24.163 40.788-24.163 72.18 0 33.437 8.894 57.644 26.762 72.456C318.555 376.594 339.155 384 362.514 384c28.288 0 50.308-8.788 66.033-26.391 10.072-11.081 15.778-26.86 17.011-37.609h-46.879c-1.178 6-2.512 10.667-9.429 17.327-6.536 5.555-15.028 8.318-25.476 8.318-9.858 0-18.297-2.266-25.288-6.798-11.546-7.323-17.654-18.977-18.35-37.133h127.807c.24-15.641-.269-28.691-1.501-37.009z" />',viewBox:"0 0 512 512"},$l={name:"dribbble",content:'<path d="M256 32C132.469 32 32 132.469 32 256c0 123.5 100.469 224 224 224 123.5 0 224-100.5 224-224 0-123.531-100.5-224-224-224zm148.094 103.281c26.625 32.562 42.781 74.031 43.188 119.188-6.312-1.312-69.562-14.156-133.219-6.156a850.738 850.738 0 0 0-4.125-9.875c-3.969-9.312-8.25-18.594-12.688-27.719 70.75-28.875 102.812-69.969 106.844-75.438zM256 64.969c48.594 0 93.031 18.219 126.812 48.188-3.438 4.906-32.25 43.625-100.281 69.125-31.344-57.594-66.094-104.938-71.375-112A190.999 190.999 0 0 1 256 64.969zm-81.344 18.156c5.031 6.938 39.219 54.312 70.938 110.656-89.5 23.781-168.344 23.438-176.906 23.312 12.406-59.374 52.437-108.718 105.968-133.968zm-110 173.156c0-1.969.031-3.906.094-5.844 8.375.156 101.094 1.375 196.657-27.219 5.469 10.719 10.688 21.594 15.5 32.469a192.95 192.95 0 0 0-7.531 2.281c-98.688 31.875-151.188 118.812-155.531 126.25-30.564-33.937-49.189-78.812-49.189-127.937zM256 447.594c-44.25 0-85-15.094-117.438-40.375 3.438-7.031 42.156-81.875 150.094-119.5.406-.125.812-.281 1.25-.406 26.875 69.812 37.969 128.312 40.812 145.094-22.968 9.781-48.218 15.187-74.718 15.187zm106.875-32.719c-1.938-11.625-12.125-67.625-37.156-136.406 59.969-9.594 112.625 6.125 119.188 8.188-8.532 53.218-39.095 99.218-82.032 128.218z" />',viewBox:"0 0 512 512"},Gl={name:"dribbble-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM256 448c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm28-164.8c-82.9 28.9-118.1 83.4-126.7 98.7 27.2 21.3 61.5 34.1 98.7 34.1 22.5 0 43.9-4.6 63.3-13-3.3-18.4-13.1-65.2-34.2-120.1-.4 0-.8.2-1.1.3zm-95.5-172.3c-44.9 20.9-78.5 62.1-89 111.8 17.1-.1 78.6-1.7 147.6-20-24.3-43.2-50.3-80.1-58.6-91.8zm79 146.8c2.1-.7 4.3-1.3 6.5-2-4.1-9.3-8.6-18.6-13.3-27.8-74.1 22.2-146.1 23.4-164.6 23.4 0 1.6-.1 3.1-.1 4.7 0 40.8 15.3 78 40.4 106.3 10.5-16.7 54.6-79.9 131.1-104.6zm94.9-121.1C334.2 111.3 296.9 96 256 96c-12.4 0-24.5 1.4-36 4.1 8.7 11.9 34.9 48.8 58.8 92.7 50.7-19 76-46.7 83.6-56.2zm-46.6 138.7C335 328 344 371.9 346.9 387.8c35.2-24.3 60.2-62.5 67.2-106.6-13.2-3.7-53.4-13.1-98.3-5.9zm-24.4-58.1c3.8 7.8 7.5 15.8 10.9 23.8 1.2 2.8 2.4 5.7 3.5 8.5 48-6 95.7 1.8 110.2 4.5-.5-37.2-13.7-71.4-35.4-98.3-8.4 10-36.1 39.8-89.2 61.5z" />',viewBox:"0 0 512 512"},Yl={name:"rss",content:'<path d="M151.4 420c0 32.9-26.7 59.5-59.7 59.5S32 452.9 32 420s26.7-59.5 59.7-59.5 59.7 26.7 59.7 59.5zM32 184.3v85.9c56 0 108.5 21.8 148.1 61.3 39.6 39.6 61.4 92.3 61.4 148.5h86.2C327.6 317 195 184.3 32 184.3zM32 32v85.9c199.4 0 361.6 162.5 361.6 362.1h86.2C479.8 233 278.9 32 32 32z" />',viewBox:"0 0 512 512"},Xl={name:"rss-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM115.2 447.6c-28.3 0-51.2-22.8-51.2-51s22.9-51 51.2-51c28.3 0 51.2 22.8 51.2 51s-23 51-51.2 51zm128.8.4c0-48.1-18.7-93.3-52.8-127.3-34-33.9-79.2-52.6-127.2-52.6v-73.6c140.1 0 254.1 113.7 254.1 253.5H244zm129.9 0c0-171.2-139-310.4-309.9-310.4V64c211.6 0 383.8 172.3 383.8 384h-73.9z" />',viewBox:"0 0 512 512"},Zl={name:"vimeo",content:'<path d="M479.783 152.805c-2 43.26-32.469 102.444-91.344 177.477C327.532 408.792 275.969 448 233.782 448c-26.094 0-48.188-23.873-66.25-71.742-12.063-43.896-24.094-87.854-36.157-131.657-13.407-47.901-27.782-71.835-43.188-71.835-3.344 0-15.032 6.985-35.125 20.955L32 166.744c22.094-19.201 43.844-38.526 65.282-57.773 29.407-25.316 51.5-38.556 66.25-39.938 34.782-3.353 56.219 20.287 64.282 70.78 8.625 54.559 14.719 88.475 18.032 101.777 10.031 45.2 21.093 67.769 33.156 67.769 9.344 0 23.375-14.591 42.157-43.818 18.75-29.29 28.782-51.548 30.125-66.868 2.656-25.27-7.375-37.827-30.125-37.827-10.719 0-21.782 2.251-33.157 6.969C310.126 96.647 352.283 62.08 414.533 64.082c46.156 1.289 67.906 30.935 65.25 88.723z" />',viewBox:"0 0 512 512"},Jl={name:"vimeo-box",content:'<path d="M448 32H64c-17.664 0-32 14.336-32 32v384c0 17.664 14.336 32 32 32h384c17.664 0 32-14.336 32-32V64c0-17.664-14.336-32-32-32zm-.186 140.119c-1.714 37.08-27.831 87.809-78.295 152.123-52.206 67.294-96.402 100.901-132.563 100.901-22.366 0-41.304-20.462-56.786-61.493-10.339-37.625-20.652-75.303-30.991-112.849-11.491-41.058-23.813-61.573-37.018-61.573-2.866 0-12.884 5.987-30.107 17.961L64 184.066c18.938-16.458 37.581-33.022 55.956-49.519 25.206-21.7 44.143-33.048 56.786-34.232 29.813-2.874 48.188 17.389 55.099 60.668 7.393 46.765 12.616 75.835 15.456 87.237 8.598 38.743 18.08 58.087 28.419 58.087 8.009 0 20.036-12.506 36.134-37.559 16.071-25.106 24.67-44.184 25.822-57.315 2.277-21.66-6.321-32.423-25.822-32.423-9.188 0-18.67 1.929-28.42 5.974 18.964-61.001 55.099-90.63 108.456-88.914 39.562 1.105 58.205 26.516 55.928 76.049z" />',viewBox:"0 0 512 512"},Ql={name:"youtube",content:'<path d="M475.5 165s-4.4-31.4-17.8-45.2c-17-18.1-36.1-18.2-44.9-19.3C350.1 96 256.1 96 256.1 96h-.2s-94 0-156.7 4.6c-8.8 1.1-27.8 1.2-44.9 19.3C40.9 133.7 36.5 165 36.5 165S32 201.9 32 238.7v34.5c0 36.8 4.5 73.6 4.5 73.6s4.4 31.4 17.8 45.2c17 18.1 39.4 17.5 49.4 19.4C139.5 414.9 256 416 256 416s94.1-.1 156.8-4.7c8.8-1.1 27.9-1.2 44.9-19.3 13.4-13.8 17.8-45.2 17.8-45.2s4.5-36.8 4.5-73.6v-34.5c0-36.8-4.5-73.7-4.5-73.7zM192 336V176l144 80-144 80z" />',viewBox:"0 0 512 512"},ec={name:"youtube-box",content:'<path d="M448 32H64c-17.664 0-32 14.336-32 32v384c0 17.664 14.336 32 32 32h384c17.664 0 32-14.336 32-32V64c0-17.664-14.336-32-32-32zm0 237.749c0 29.454-3.835 58.909-3.835 58.909s-3.752 25.082-15.265 36.128c-14.602 14.497-30.97 14.569-38.476 15.417C336.689 383.885 256 384 256 384s-99.838-.864-130.559-3.656c-8.546-1.519-27.734-1.061-42.341-15.558-11.513-11.045-15.26-36.128-15.26-36.128S64 299.203 64 269.749v-27.614c0-29.454 3.84-58.909 3.84-58.909s3.747-25.082 15.26-36.128c14.607-14.497 30.969-14.569 38.476-15.417C175.313 128 255.917 128 255.917 128h.167s80.606 0 134.341 3.682c7.506.849 23.873.92 38.476 15.417 11.513 11.045 15.265 36.128 15.265 36.128S448 212.681 448 242.136v27.613zM192 176l144 80-144 80V176z" />',viewBox:"0 0 512 512"},tc={name:"folder",content:'<path d="m242.8 128-32-32H96v288h320V192H128v-32h288c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h128l64 64" />',viewBox:"0 0 512 512"},nc={name:"folder-open",content:'<path d="M425.6 160h-246c-17.6 0-37.2 14.4-43.6 32L64 384V96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h268.4c17.6 0 37.2-14.4 43.6-32l70-192c6.4-17.6-2.8-32-20.4-32zM346 373.1c-2 5.5-10.1 10.9-13.6 10.9H98.1L166 202.9c2-5.5 10.1-10.9 13.6-10.9h232.3L346 373.1z" />',viewBox:"0 0 512 512"},rc={name:"folder-add",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64h-32v-64H96v-32zm352 224h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192v-32H64V96z" />',viewBox:"0 0 512 512"},oc={name:"folder-up",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64l-32 32v-96H96v-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192l32-32H64V96zm336 240-80 80h64v64h32v-64h64l-80-80z" />',viewBox:"0 0 512 512"},ic={name:"folder-more",content:'<path d="M64 384h96v32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h128l64 64h-45.2l-32-32H64v288zm192-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160-64v-96c0-17.7-14.3-32-32-32H96v32h288v96h32zm32 64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z" />',viewBox:"0 0 512 512"},ac={name:"aggregate-fields",content:'<path d="M128 128c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H128V128zm-64 64c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H64V192zM448 64H192c-17.6 0-32 14.4-32 32v160c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zm1 192s0 .1 0 0l-256.9.1-.1-.1V96.1l.1-.1H448v160h1z" />',viewBox:"0 0 512 512"},sc={name:"file",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},lc={name:"file-add",content:'<path d="M512 416h-64v64h-32v-64h-64v-32h64v-64h32v64h64v32zM96 448V64h224v96h96v96h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h224v-32" />',viewBox:"0 0 512 512"},cc={name:"file-txt",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-96v32H128v-32h256zM256 160v32H128v-32m256 64v32H128v-32h256zm-256 96v-32h224v32H128z" />',viewBox:"0 0 512 512"},uc={name:"file-csv",content:'<path d="M178.6 224c-10 0-18.9 2.1-26.7 6.2-7.7 4.2-13.7 10.1-17.9 17.7-4.2 7.6-6.3 16.3-6.3 26.1 0 9.1 1.9 17.1 5.7 24.1s9.2 12.3 16.4 16.1c7.2 3.8 15.7 5.7 25.6 5.7 10 0 18.9-1.4 26.6-4.1v-24.9c-6.9 3.5-13.8 5.2-20.5 5.2-7.3 0-13.2-2.1-17.6-6.4-4.4-4.3-6.6-10.1-6.6-17.6s2.2-13.4 6.6-17.7 10.4-6.5 18-6.5c3.7 0 7.3.4 10.9 1.3s6.7 2.1 9.2 3.6V227c-7.6-2-15.3-2.9-23.4-3zm73.8.1c-11.5 0-20.6 2.7-27.5 8.1-6.8 5.4-10.2 12.5-10.2 21.5 0 12.8 7.5 22.1 22.4 27.8 4.6 1.7 7.8 3.1 9.5 4.1 1.7 1 3 2 3.8 3.2.8 1.2 1.2 2.5 1.2 4 0 2.1-.8 3.7-2.5 4.8-1.7 1.1-4.1 1.7-7.1 1.7-4.1 0-8.4-.9-13.2-2.6-4.7-1.8-9-4-12.9-6.9V315c8.1 3.3 17 4.9 26.7 4.9 8.4 0 15.5-1.1 21.5-3.4 6-2.2 10.6-5.7 13.9-10.2 3.3-4.6 5-9.9 5-16.1 0-6.3-2-11.8-6-16.4-4-4.6-10.8-8.9-20.4-12.8-4.9-2-8.1-3.7-9.6-5-1.5-1.3-2.3-2.9-2.3-4.8 0-2 1-3.6 2.8-4.8 1.9-1.2 4.4-1.8 7.5-1.8 7.6 0 15.2 2.1 23 6.4v-23.6c-4-1.1-7.1-1.8-9.3-2.2-2.2-.4-4.7-.7-7.4-1-2.7-.1-5.8-.1-8.9-.1zm39.8-.1 30 96h31.4l30.4-96h-29.1l-13.8 58.9c-1.1 4.4-1.8 8.1-2 11.1h-.6c-.1-2.4-.8-5.9-1.9-10.7L322.4 224h-30.2zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},hc={name:"file-excel",content:'<path d="m288 304 64 112h-48l-48-84.5-31.5 52.5H256v32h-96l64-112-64-112h48l48 84 48-84h48l-64 112zm64-272H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},dc={name:"file-word",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32.4-256-6.9 32-41.6 192h-46.7l-32.8-132.5L222.9 416h-46.7l-48.6-224h47.8l24.8 139.2L233.3 192h44.5l33.1 139.2L330.1 224H311v-32h72.6z" />',viewBox:"0 0 512 512"},pc={name:"file-mdb",content:'<path d="M231.1 192 144 416h80v-32h-25.5l14.8-38h85.6l27.2 70h42L281 192h-49.9zm-1.5 112 26.5-68 26.4 68h-52.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fc={name:"file-ppt",content:'<path d="m192 192-32 32h32v192h49v-80h25.6c16.4 0 29.1-1.5 38.2-4.4 14.4-4.5 25.9-12.9 34.4-25.4s12.8-26.6 12.8-42.6c0-15.8-4-29.5-12-41.1s-18.8-20.1-32.4-25.4c-10.3-3.7-24.4-5.5-42-5.5M241 225h20.1c11.2.3 20.2 2.1 26.9 5.6 12.1 6.4 23.3 17.6 23.3 33.5 0 17.3-11.9 29-25.2 35-6.7 2.9-15.1 4.4-25.2 3.9H241v-78zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},mc={name:"file-pdf",content:'<path d="M240.9 160c-7.6 0-13.8 4-15.4 9.9-4.9 18.6.2 46.3 9.4 82.3l-2.4 5.9c-6.6 16.4-14.8 33-22.1 47.6l-1 1.9c-7.7 15.3-14.6 28.4-21 39.4l-6.5 3.5c-.5.3-11.6 6.3-14.3 7.9-22.2 13.6-36.9 28.9-39.4 41.2-.8 3.9-.2 8.9 3.7 11.2l6.3 3.2c2.7 1.4 5.6 2.1 8.6 2.1 15.8 0 34.2-20.2 59.5-65.3 29.2-9.7 62.5-17.8 91.6-22.3 22.2 12.8 49.5 21.7 66.8 21.7 3.1 0 5.7-.3 7.8-.9 3.3-.9 6.1-2.8 7.8-5.4 3.4-5.2 4-12.2 3.1-19.5-.3-2.1-2-4.8-3.8-6.6-5.1-5.2-16.5-7.9-33.7-8.1-11.7-.1-25.8.9-40.6 3-6.6-3.9-13.5-8.2-18.8-13.3-14.4-13.8-26.5-32.9-34-53.9.5-2 .9-3.7 1.3-5.4 0 0 8.1-47.1 6-63.1-.3-2.2-.5-2.8-1.1-4.5l-.7-1.9c-2.2-5.2-6.5-10.7-13.3-10.4l-3.8-.2zm2.7 8.4c5.1 0 8 13.1 8.2 25.4.3 12.3-2.6 20.9-6 27.3-2.9-9.4-4.3-24.3-4.3-34-.1-.1-.3-18.7 2.1-18.7zm.4 104.1c8.6 16 19.3 29.5 31.9 40.4 1.6 1.3 3.2 2.7 5 4.1-25.6 5.2-47.7 11.5-67.1 19.1 3.6-6.5 7.2-13.3 11-20.6 9.1-17.7 14.9-31.6 19.2-43zm102.2 51.6c9.3 0 12 0 21.1 2.3 9.1 2.4 9.2 7.2 7.6 8.2-1.6 1-6 1.6-8.9 1.6-9.2 0-20.7-4.3-36.8-11.4 6.3-.4 11.9-.7 17-.7zm-165.4 35.8c-17.7 28.8-29.5 40.3-37.3 43.8 2.9-8.1 14.3-24 31.2-38.1 1.1-.9 3.7-3.4 6.1-5.7zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},vc={name:"file-psd",content:'<path d="M128 160v256h45v-91h21.4c24.2 0 43.5-7.8 57.9-23.4 14.4-15.6 21.6-36.1 21.6-61.3 0-53.4-25.2-80.2-75.5-80.2H128zm45 44h17.5c23.7 0 35.5 12.8 35.5 38.6 0 26.3-11.8 39.4-35.5 39.4H173v-78zm164.6 51.7c-8.1 0-15.9.9-23.4 2.8-7.5 1.9-14.2 4.7-20 8.6-5.8 3.9-10.4 9-14 15.2-3.5 6.2-5.2 13.6-5.2 22.1 0 6.2.8 11.7 2.3 16.3 1.5 4.5 3.7 8.6 6.7 12.1 2.9 3.5 6.5 6.5 10.8 9.2 4.3 2.7 9.3 5.1 15 7.4 3.5 1.5 7.2 2.8 11 4 3.8 1.2 7.3 2.5 10.5 4s5.8 3.2 7.8 5.2 3 4.5 3 7.5c0 4.7-2.2 8.2-6.7 10.4-4.5 2.3-10.6 3.4-18.5 3.4-6.4 0-13.3-1.2-20.5-3.4s-14.5-5.8-21.7-10.4v38.3c13.4 5.2 27.9 7.7 43.7 7.7 8.5 0 16.8-.9 24.7-2.8 7.9-1.8 15-4.8 21.1-8.8s10.9-9.2 14.7-15.7 5.5-14.2 5.5-23.3c0-6.5-.9-12-2.7-16.8-1.8-4.7-4.4-8.7-7.8-12.2-3.4-3.5-7.4-6.5-12.2-9.1-4.7-2.6-10-5-15.9-7.1-3.2-1.2-6.5-2.4-9.8-3.5s-6.3-2.4-9-3.9-4.9-3.1-6.5-5.2c-1.6-2.1-2.5-4.4-2.5-7.1 0-2.1.5-3.9 1.7-5.6 1.1-1.7 2.6-3 4.6-4 2-1 4.2-1.8 6.7-2.4s5.2-.8 8.1-.8c6.1 0 12.3.9 18.8 2.6 6.4 1.7 12.3 4.4 18 7.8v-36.4c-6.3-2-12.8-3.5-19.3-4.5s-13-1.6-19.3-1.6h.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},gc={name:"file-flash",content:'<path d="M352 191.3V237c-21 .2-46.6-3.2-69.6 45H320v45h-47.9s-37.4 91.1-111.9 90.1c-.6-10 0-30.8 0-45 49.3-7.6 65.4-62.1 76.8-89.4 26.5-82.8 73.9-92 93.4-92.1 5.6 0 21.6.7 21.6.7zm96-63.3v320c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h256l96 96zm-32 32h-96V64H96v384h320V160z" />',viewBox:"0 0 512 512"},bc={name:"file-config",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-41.8-124.6-23.7-17.9c1-5.7 1.6-11.5 1.6-17.4 0-6-.5-11.8-1.6-17.4l23.7-17.9c3.7-2.8 4.7-7.9 2.4-11.9l-19.4-33.5c-2.3-4-7.2-5.6-11.5-3.9L318.4 215c-8.8-7.5-19-13.5-30.2-17.4l-3.7-29.5c-.6-4.6-4.5-8-9.1-8h-38.7c-4.6 0-8.5 3.4-9.1 8l-3.7 29.5c-11.1 4-21.3 9.9-30.2 17.4l-27.4-11.6c-4.2-1.8-9.2-.1-11.5 3.9l-19.4 33.5c-2.3 4-1.3 9.1 2.4 11.9l23.7 17.9c-1 5.7-1.6 11.5-1.6 17.4 0 6 .5 11.8 1.6 17.4l-23.7 17.9c-3.7 2.8-4.7 7.9-2.4 11.9l19.4 33.5c2.3 4 7.2 5.6 11.5 3.9l27.4-11.6c8.8 7.5 19 13.5 30.2 17.4l3.7 29.5c.6 4.6 4.5 8 9.1 8h38.7c4.6 0 8.5-3.4 9.1-8l3.7-29.5c11.1-4 21.3-9.9 30.2-17.4l27.4 11.6c4.2 1.8 9.2.1 11.5-3.9l19.4-33.5c2.2-4 1.2-9-2.5-11.8zM256 336c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" />',viewBox:"0 0 512 512"},yc={name:"file-ascx",content:'<path d="M384 224h-96v-32h96v32zm0 160h-96v-32h96v32zM256 256H128v-96h128v96zm0 160H128v-96h128v96zm96-384H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},wc={name:"file-bac",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H289v-96h64l-96.5-96-95.5 96h64v96H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},xc={name:"file-zip",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h64v32h32v32h-32v32h32v32h-32v32h32v32h-32v32h32v34.7c-18.6 6.6-32 24.4-32 45.3 0 26.5 21.5 48 48 48s48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V256h32v-32h-32v-32h32v-32h-32v-32h32V96h-32V64h96v96h96v288zm-192-80c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16z" />',viewBox:"0 0 512 512"},kc={name:"film",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 448H96v-32h32v32zm0-96H96v-64h32v64zm0-128H96v-64h32v64zm0-128H96V64h32v32zm224 352H160v-96h192v96zm0-128H160V192h192v128zm0-160H160V64h192v96zm64 288h-32v-32h32v32zm0-96h-32v-64h32v64zm0-128h-32v-64h32v64zm0-128h-32V64h32v32z" />',viewBox:"0 0 512 512"},zc={name:"css3",content:'<path d="m64 32 30.2 384L256 480l161.8-64L448 32H64zm65.6 82h250.3l-4.9 48.9L255.4 214h115.9L358 366.1l-102.1 29.7-102.4-30.2-6.6-76.6h50.9l3.3 39.7 54.4 13.8.5-.1v-.1l56.3-15.8 3.9-64.4H143.7l-3.8-47.8 123-51.2H135.7l-6.1-49.1z" />',viewBox:"0 0 512 512"},Cc={name:"html5",content:'<path d="m64 32 30.4 384 161.3 64 161.7-64L448 32H64zm68 83h247.7l-1.2 13.2-2.2 24.8-1 11H186.1l4.5 51h180.1l-1.2 13.3-11.7 129.9-.7 8.4-101.3 37-101.2-37-6.9-77.6h49l3.5 39.7 55.5 24 55.6-24.1 5.8-64.6h-172L133 128.2l-1-13.2z" />',viewBox:"0 0 512 512"},_c={name:"code",content:'<path d="M512 256 384 384l-22.6-22.6L466.7 256 361.4 150.6 384 128l128 128zM150.6 361.4 45.3 256l105.4-105.4L128 128 0 256l128 128 22.6-22.6zM321.1 72.3 290.2 64l-99.4 375.7 30.9 8.3 99.4-375.7z" />',viewBox:"0 0 512 512"},Ic={name:"css",content:'<path d="m192 96-32 .1S96 96 96 160v48c0 27.8-21.8 31.4-32 32H48c-2.2 0-4.3.4-6.2 1.2-.5.2-1 .4-1.4.7s-.9.5-1.3.8c-1.3.9-2.4 1.9-3.4 3.1-.2.2-.3.4-.5.6-.9 1.2-1.7 2.6-2.2 4.1-.2.5-.3 1-.5 1.5-.3 1-.4 2.1-.5 3.2v1.6c.1 1.1.2 2.1.5 3.2.1.5.3 1 .5 1.5.5 1.5 1.3 2.8 2.2 4.1.2.2.3.4.5.6 1 1.2 2.1 2.2 3.4 3.1.4.3.9.5 1.3.8s.9.5 1.4.7c1.9.8 4 1.2 6.2 1.2h16c10.2.6 32 4.2 32 32v48c0 64 64 63.9 64 63.9l32 .1v-32l-31.8-.1s-32.2.1-32.2-32v-48.5s0-29-19.6-47.9c19.6-18.8 19.6-47.9 19.6-47.9v-47.9c0-31.9 32.2-31.8 32.2-31.8l31.8-.1V96zm128-.1V128l31.7.1S384 128 384 160v48s0 29.1 19.5 48C384 274.9 384 304 384 304v48c0 32-32.1 31.9-32.1 31.9l-31.9.1v32l32.1-.1s63.9.1 63.9-63.7V304c0-27.8 21.8-31.4 32-32h16c2.2 0 4.3-.4 6.2-1.2.5-.2 1-.4 1.4-.7s.9-.5 1.3-.8c1.3-.9 2.4-1.9 3.4-3.1.2-.2.3-.4.5-.6.9-1.2 1.7-2.6 2.2-4.1.2-.5.3-1 .5-1.5.3-1 .4-2.1.5-3.2v-1.6c-.1-1.1-.2-2.1-.5-3.2-.1-.5-.3-1-.5-1.5-.5-1.5-1.3-2.8-2.2-4.1-.2-.2-.3-.4-.5-.6-1-1.2-2.1-2.2-3.4-3.1-.4-.3-.9-.5-1.3-.8s-.9-.5-1.4-.7c-1.9-.8-4-1.2-6.2-1.2h-16.1c-10.2-.6-31.9-4.2-31.9-32v-48c0-64-64.1-63.9-64.1-63.9l-31.9-.2z" />',viewBox:"0 0 512 512"},Ec={name:"js",content:'<path d="M478.4 96C471 59.5 438.7 32 400 32H208c-38.7 0-71 27.5-78.4 64-1.1 5.2-1.6 10.5-1.6 16v272H32v16c0 5.5.5 10.8 1.6 16 7.4 36.5 39.7 64 78.4 64h192c38.7 0 71-27.5 78.4-64 1.1-5.2 1.6-10.5 1.6-16V128h96v-16c0-5.5-.5-10.8-1.6-16zm-124.8 0c-1.1 5.2-1.6 10.5-1.6 16v288c0 5.6-1 11-2.8 16-6.6 18.6-24.4 32-45.2 32-20.9 0-38.7-13.4-45.2-32-1.8-5-2.8-10.4-2.8-16v-16h-96V112c0-5.6 1-11 2.8-16 6.6-18.6 24.4-32 45.2-32h160c-7 9.3-12 20.2-14.4 32zM320 192H192v-32h128v32zm0 64H192v-32h128v32zm0 64H192v-32h128v32z" />',viewBox:"0 0 512 512"},Sc={name:"exe",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 160h384v288H64V160z" />',viewBox:"0 0 512 512"},Mc={name:"csproj",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm157.9 32.1c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zm96 0c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zm96 0c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zM64 160h384v288H64V160zm119.7 64c-17.3 0-32.7 3.5-46 10.4s-23.6 16.8-30.9 29.5c-7.3 12.8-10.9 27.3-10.9 43.6 0 15.2 3.3 28.6 9.8 40.2s15.9 20.6 28.3 26.8c12.4 6.3 27 9.4 44.1 9.4 17.3 0 32.6-2.3 45.9-6.9v-41.5c-11.9 5.8-23.7 8.6-35.4 8.6-12.6 0-22.8-3.6-30.3-10.7s-11.4-16.9-11.4-29.2c0-12.4 3.8-22.3 11.3-29.6s17.9-10.9 31-10.9c6.3 0 12.6.7 18.8 2.1s11.5 3.5 16 6v-43c-13.1-3.2-26.4-4.8-40.3-4.8zm114.2 0-8.3 39h-17.4l-5.7 29H284l-6.1 26H262l-6.1 29h15.4l-7.7 37h30.9l7.9-37h26.8l-7.7 37h30.4l8.2-37h16.3l7.2-29h-17.2l6.1-26h15l6.3-29h-14.7l8.3-39H356l-8.3 39h-26.4l8.3-39h-31.7zm16.8 68h26.8l-6.3 27h-26.7l6.2-27z" />',viewBox:"0 0 512 512"},Oc={name:"vbproj",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 160h384v288H64V160zm32 64 51.6 160h54.1L254 224h-50.2L180 321.9c-1.9 7.4-3 13.5-3.5 18.5h-1.1c-.2-3.9-1.3-9.9-3.2-17.9L147.8 224H96zm183.3 0v160h73c20.4 0 36.2-4.3 47.2-12.8s16.5-20.6 16.5-36.3c0-5.8-1.6-11.4-4.9-16.8s-7.9-9.9-14-13.5-12.8-5.9-20.4-6.8v-.4c6.5-1.3 12.5-3.6 18-7.1s9.5-7.6 12.2-12.2c2.7-4.6 4-9.8 4-15.3 0-25.8-21.2-38.7-63.7-38.7h-67.9v-.1zm48.2 32.3h8.9c15.6 0 23.3 5 23.3 14.8 0 4.5-1.7 8.3-5.1 11.1s-7.8 4.3-13.2 4.3h-14l.1-30.2zm0 62.5h19c5.5 0 9.9 1.5 13.3 4.4s5 6.8 5 11.4c0 5.2-1.9 9.3-5.7 12.3s-9 4.5-15.5 4.5h-16.1v-32.6z" />',viewBox:"0 0 512 512"},Rc={name:"cs",content:'<path d="M165.9 128c-26.4 0-49.8 5.6-70.1 16.7s-36 26.8-47.1 47.2S32 235.5 32 261.6c0 24.3 5 45.7 14.9 64.3s24.3 32.9 43.1 43 41.2 15.1 67.2 15.1c26.4 0 46.6-3.7 65.8-11v-66.5c-17.1 9.2-32 13.8-49.8 13.8-19.3 0-34.7-5.7-46.2-17.2s-17.3-27.1-17.3-46.9c0-19.9 5.8-35.7 17.3-47.3s27.3-17.4 47.2-17.4c9.6 0 16 1.2 25.4 3.5s17.5 5.5 24.4 9.7v-68.9c-19.7-5.2-37-7.8-58.1-7.8zm158.8 0-13.3 62h-29l-9.3 46h28.6l-10.3 43h-25.6l-9.8 46h25.2l-12.5 59h50l12.9-59h43.5l-12.5 59h49.2l13.3-59h26.8l11.5-46h-28.2l10.3-43h24.2l10.3-46h-23.7l13.5-63h-51.7l-13.5 63h-43.5l13.5-63h-50l.1 1zm26.9 108H395l-10.3 43h-43.3l10.2-43z" />',viewBox:"0 0 512 512"},Hc={name:"vb",content:'<path d="m32 160 73.2 224h76.7L256 160h-71.1l-33.7 137c-2.6 10.3-4.3 19-4.9 25.9h-1.6c-.3-5.5-1.8-13.9-4.6-25L105.5 160H32zm252 0v224h104.6c29.3 0 51.9-6 67.7-17.9 15.8-11.9 23.7-28.9 23.7-50.8 0-8.1-2.4-16-7-23.5-4.7-7.6-11.4-13.9-20-18.9-8.7-5-18.4-8.2-29.3-9.5v-.6c9.4-1.8 18-5.1 25.8-10 7.8-4.9 13.7-10.6 17.5-17.1 3.8-6.5 5.8-13.7 5.8-21.5 0-36.1-30.5-54.2-91.4-54.2H284zm69.1 45.2h12.8c22.3 0 33.4 6.9 33.4 20.8 0 6.4-2.5 11.5-7.4 15.5s-11.2 6-18.9 6h-20l.1-42.3zm0 87.6h27.2c7.9 0 14.3 2.1 19 6.2s7.2 9.5 7.2 15.9c0 7.3-2.7 13-8.1 17.2-5.4 4.2-12.9 6.3-22.2 6.3h-23v-45.6h-.1z" />',viewBox:"0 0 512 512"},Fc={name:"sln",content:'<path d="M352 32 172.5 211.5 64 128l-32 32v192l32 32 108.5-83.5L352 480l128-32V64L352 32zM64 320V192l64 64-64 64zm166.4-64L352 162.5v187.1L230.4 256z" />',viewBox:"0 0 512 512"},Vc={name:"cloud",content:'<path d="M442.2 243.6c3.7-11.2 5.8-23.2 5.8-35.6 0-61.9-50.1-112-112-112-37.8 0-71.3 18.8-91.6 47.5-15-9.8-33-15.5-52.3-15.5-52.9 0-95.8 42.9-95.8 95.8 0 1.8.1 3.6.2 5.5C58.9 242.3 32 278 32 320c0 53 43 96 96 96h256c53 0 96-43 96-96 0-31.1-14.8-58.8-37.8-76.4z" />',viewBox:"0 0 512 512"},Dc={name:"file-horizontal",content:'<path d="M384 64H64c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160l-96-96zm64 352H64V96h288v96h96v224z" />',viewBox:"0 0 512 512"},Bc={name:"subreport",content:'<path d="M448 480c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288V96H128v64H96V96c0-17.7 14.3-32 32-32h288c17.7 0 32 14.3 32 32v384zM63.9 32l254.3-.2L286.4 0 63.8.2C46.2.2 32 14.4 32 32l.1 128H64l-.1-128zm.1 351H32v32c0 17.7 14.3 32 32 32v-64zm-32-62.9S64 288 95 288v32l65-48.1L96 224v32c-32.1 0-64 32.1-64 64.1zM352 384l-160 .1V416l160-.1V384zm-96-192c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64h-64v-64zm32-32v64h64c0-35.3-28.7-64-64-64z" />',viewBox:"0 0 512 512"},Ac={name:"data",content:'<path d="M448 125.6v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 159.8 64 125.9v-.3c0-34 86-61.6 192-61.6s192 27.6 192 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 206.2 64 172.3v-.3l1 86.8v.5c.5 33.7 85.8 61 191 61s190.5-27.3 191-61v-.5l1-86.8zm0 128v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 334.2 64 300.3v-.3l1 86.8v.5c.5 33.7 85.8 61 191 61s190.5-27.3 191-61v-.5l1-86.8z" />',viewBox:"0 0 512 512"},Nc={name:"file-header",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm0 416H96V64h320v384zm-32-64H128v-32h256v32zm0-96H128v32h256v-32zm0-160H128v96h256v-96z" />',viewBox:"0 0 512 512"},Lc={name:"file-footer",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm0 416H96V64h320v384zm-32-224H128v-32h256v32zm0-96H128v32h256v-32zm0 160H128v96h256v-96z" />',viewBox:"0 0 512 512"},Pc={name:"group-header-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384h64zm320-320H128v96h320v-96zm0 160H128v32h320v-32zm0 64H128v32h320v-32z" />',viewBox:"0 0 512 512"},Tc={name:"group-footer-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384h64zm320-160H128v96h320v-96zm0-160H128v32h320v-32zm0 64H128v32h320v-32z" />',viewBox:"0 0 512 512"},jc={name:"page-header-section",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-160H128v-96h256v96zm0 96H128v32h256v-32zm0-64H128v32h256v-32z" />',viewBox:"0 0 512 512"},Uc={name:"page-footer-section",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-31-32H129v-96h256v96zm0-160H129v32h256v-32zm0-64H129v32h256v-32z" />',viewBox:"0 0 512 512"},Kc={name:"detail-section",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-33-224h-63v-32h63v32zm-96-32h-63v32h63v-32zm-96 0h-63v32h63v-32zm192 96h-63v32h63v-32zm-96 0h-63v32h63v-32zm-96 0h-63v32h63v-32z" />',viewBox:"0 0 512 512"},Wc={name:"toc-section",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-32-288H224v-32h160v32zm-64 64h-96v-32h96v32zm0 64h-96v-32h96v32zm64 64H224v-32h160v32z" />',viewBox:"0 0 512 512"},qc={name:"group-section",content:'<path d="m128 416 32 32H32V32h128l-32 32H64v352h64zm320-288H128v32h320v-32zm0 192H128v32h320v-32zm0-96H128v32h320v-32z" />',viewBox:"0 0 512 512"},$c={name:"parameters",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zM285.3 160c-8.9-25-36.3-38.1-61.4-29.2-13.7 4.8-24.4 15.6-29.2 29.2H128v32h66.7c8.9 25 36.3 38.1 61.4 29.2 13.7-4.8 24.4-15.6 29.2-29.2H384v-32h-98.7zM240 192c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm109.3 96c-8.9-25-36.3-38.1-61.4-29.2-13.7 4.8-24.4 15.6-29.2 29.2H128v32h130.7c8.9 25 36.3 38.1 61.4 29.2 13.7-4.8 24.4-15.6 29.2-29.2H384v-32h-34.7zM304 320c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z" />',viewBox:"0 0 512 512"},Gc={name:"data-csv",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zM271 420.8c-7.7 4.5-16.4 6.8-25.4 6.7-9.7 0-17.4-3-23.1-9s-8.6-14.1-8.6-24.3c0-10.6 3-19 9.1-25.2 6.1-6.2 14-9.3 23.9-9.3 8.4-.1 16.7 2 24 6.3v-22.8c-7-2.6-15.7-3.9-25.9-3.9-16.6 0-30 5.2-40.4 15.7-10.4 10.5-15.6 24.1-15.6 40.9 0 15.8 4.6 28.4 13.8 37.9 9.2 9.5 21.9 14.2 38 14.2 12.3 0 22.3-1.9 30-5.6l.2-21.6zm36.6 25.7c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.6-2.6-5.5-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.5-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.2-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.3-.8 2.1 0 4.1.2 6.2.4 2.2.3 4.4.8 6.5 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 2 12.8 6 17.9 4 4.9 10.1 9.1 18.3 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.5 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.2-.9-15.1-2.7-5.1-1.8-9.8-4.5-13.9-8V442c4.5 2.3 9 3.8 13.8 4.5zm147.7-105.4-21.8 72.8c-1.1 3.5-1.8 7.1-2.3 10.8h-.4c-.3-3.6-1.1-7.1-2.1-10.5l-21.9-73.1h-25.5l35.7 105h26.8l36.2-105h-24.7zm-295.3-15C85.7 317.7 32.4 295 32 268.3v-.3l.1 86.8v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8z" />',viewBox:"0 0 512 512"},Yc={name:"data-json",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zm-251.3 21.1h-23.6v62.4c0 16-5.4 24-16.2 24-4.9.1-9.7-1.5-13.6-4.5v22.2c4.9 1.9 10.1 2.9 15.3 2.8 12.4 0 21.8-3.7 28.3-11.2s9.8-18.2 9.8-32.3v-63.4zm31.7 105.4c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.6-2.6-5.4-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.6-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.2-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.4-.7 2.1 0 4.1.1 6.2.4 2.2.3 4.4.8 6.6 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 1.9 12.8 6 17.9 4 4.9 10.1 9.1 18.4 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.5 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.3-.9-15.1-2.7-5.1-1.8-9.7-4.5-13.8-8v23.4c4.1 2.2 8.7 3.7 13.4 4.4zm157.3-13.7c9.6-10.1 14.4-23.4 14.4-39.9 0-16.1-4.6-29-13.9-38.8-9.3-9.8-21.4-14.7-36.4-14.7-15.9 0-28.6 5.1-38.2 15.4-9.6 10.3-14.4 23.7-14.4 40.3 0 15.7 4.7 28.5 14.2 38.3s21.7 14.7 36.8 14.7c15.4-.1 27.9-5.2 37.5-15.3zm-17.5-64c4.6 6 6.9 14.5 7 25.4 0 10.4-2.4 18.6-7.2 24.5s-11.3 8.8-19.4 8.8c-7.5.2-14.6-3.2-19.2-9.1-4.9-6.1-7.3-14.3-7.3-24.7 0-10.2 2.4-18.5 7.3-24.7s11.5-9.3 19.8-9.3c8 0 14.4 3.1 19 9.1zM480 341.1h-22.3v58.1c-.1 4.8.1 9.6.6 14.4h-.3c-1.6-2.8-3.4-5.7-5.3-8.6L411 341.1h-25.5v105h22.3v-57.7c0-7.6-.2-13.3-.6-17h.3c1.6 3 3.4 5.9 5.3 8.7l43.3 66H480v-105zM96 313.9c-39-11.2-63.7-27.5-64-45.6v-.3l.1 86.8v.3c.3 18.1 24.9 34.3 63.9 45.6v-86.8z" />',viewBox:"0 0 512 512"},Xc={name:"data-sql",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zM209.1 448.6c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.5-2.6-5.4-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.6-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.3-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.3-.8 2.1 0 4.1.2 6.2.4 2.2.3 4.4.8 6.6 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 1.9 12.8 6 17.9 4 4.9 10.1 9.1 18.4 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.4 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.3-.9-15.1-2.7-5.1-1.8-9.7-4.5-13.8-8v23.4c4 2.3 8.6 3.8 13.4 4.5zm172.8-21.2c5.7-9 8.5-19.8 8.5-32.4 0-16.1-4.6-29-13.9-38.8s-21.3-14.7-36.2-14.8c-16 0-28.8 5.1-38.5 15.4s-14.4 23.7-14.4 40.3c-.1 7 1.1 13.9 3.4 20.4 2.1 6.1 5.4 11.7 9.6 16.6 4.2 4.7 9.3 8.6 15 11.2 6.1 2.8 12.8 4.4 19.5 4.5 3.8 4.2 7.4 8.1 10.9 11.8 3.3 3.5 6.9 6.7 10.8 9.6 3.6 2.6 7.4 4.8 11.6 6.4 4.2 1.6 8.7 2.4 13.2 2.3 3.4 0 6.7-.2 10.1-.7 2.2-.3 4.3-.8 6.5-1.3V458c-.8.3-1.6.6-2.4.8l-2.7.6c-.9.2-1.9.3-2.8.4s-1.8.1-2.6.1c-2.7 0-5.4-.2-8-.6-2.5-.4-4.9-1.1-7.1-2.1-2.5-1.1-4.8-2.5-6.9-4.2-2.6-2-5-4.3-7.3-6.7 9.9-3.4 18.2-10.1 23.7-18.9zm-23.3-56.3c4.6 6 6.9 14.5 6.9 25.3 0 10.4-2.4 18.6-7.2 24.5-4.8 6-11.3 8.9-19.4 8.8-7.5.2-14.7-3.2-19.3-9.1-4.8-6.1-7.3-14.3-7.3-24.7 0-10.4 2.4-18.6 7.3-24.7 4.9-6.2 11.5-9.4 19.8-9.4 8.3.1 14.6 3.1 19.2 9.3zm121.4 58h-38.9v-85.8h-23.7v105H480v-19.2zm-320-103C85.7 317.7 32.4 295 32 268.3v-.3l.1 86.8v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8z" />',viewBox:"0 0 512 512"},Zc={name:"data-web",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zm-151.1 23-14.5 70.1c-.8 3.9-1.3 7.8-1.5 11.7h-.3c-.3-3.8-.9-7.6-1.7-11.3L229.6 343h-25.3l-19.1 69.6c-1.1 4-1.9 8.1-2.1 12.3h-.4c-.2-4-.6-8-1.4-12l-14.8-70h-25.8l27.6 105h27.3l17.9-67.4c1-3.9 1.6-7.8 1.9-11.8h.3c.1 4 .7 7.9 1.7 11.8l17.4 67.4H261l27.8-105h-23.9zm109.8 85.8h-39.3v-24h34.4v-19.2h-34.4v-23.4h36.9V343h-60.6v105h63v-19.2zm66.8 19.2c11.9 0 21.3-2.8 28.2-8.5 6.9-5.6 10.3-13.3 10.3-22.9.1-6.3-2.3-12.3-6.7-16.8-4.5-4.6-10.4-7.3-17.9-8.3v-.3c5.6-1.5 10.8-4.5 14.7-8.9 3.8-4 5.8-9.4 5.8-14.9 0-7.8-3.2-13.9-9.5-18.2-6.3-4.3-15.3-6.5-27-6.5h-38.3v105h40.4zm-7.9-87.6c11.5 0 17.3 3.9 17.3 11.6.2 3.7-1.4 7.3-4.2 9.8-2.8 2.4-6.6 3.6-11.5 3.5h-10.4v-24.9h8.8zm4.1 42.5c5.5 0 9.7 1.2 12.8 3.6 3 2.4 4.7 6 4.6 9.9.2 4-1.5 7.9-4.6 10.4-3.1 2.5-7.4 3.8-12.9 3.8h-12.8v-27.7h12.9zM96 313.9c-39-11.2-63.7-27.5-64-45.6v-.3l.1 86.8v.3c.3 18.1 24.9 34.3 63.9 45.6v-86.8z" />',viewBox:"0 0 512 512"},Jc={name:"group-collection",content:'<path d="M448 352H160v-32h288v32zm0 32H160v32h288v-32zm0-288H160v32h288V96zm0 64H160v32h288v-32zM64 192V96h64l32-32H32v160h128l-32-32H64zm0 224v-96h64l32-32H32v160h128l-32-32H64z" />',viewBox:"0 0 512 512"},Qc={name:"parameter-boolean",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zM207 212h-39v114h-32V212H96v-26h111v26zm96.8-37-68.1 163h-27.5l67.9-163h27.7zM416 212h-49v34h45v26h-45v54h-32V186h81v26z" />',viewBox:"0 0 512 512"},eu={name:"parameter-date-time",content:'<path d="M416 202.8V128c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h304c61.9 0 112-50.1 112.1-111.9 0-43.3-25-82.8-64.1-101.3zM64.1 384 64 192h304c-61.9 0-112 50.2-112 112 0 30.1 12.1 58.9 33.6 80H64.1zm303.9 0c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80zm48-96v32h-64v-64h32v32h32zm-224 32H96v-96h96v96z" />',viewBox:"0 0 512 512"},tu={name:"parameter-float",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-276-55.6c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.9 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.1-16.3 19.1-48.8s-6.2-48.9-18.7-48.9zm83.8 121.3c-4.7.1-9.2-1.5-12.7-4.7-3.3-2.9-5.2-7.1-5.1-11.5-.1-4.4 1.8-8.7 5.2-11.5 3.6-3 8.3-4.6 13-4.5 5.3 0 9.6 1.5 12.9 4.5 6.4 5.9 6.7 15.9.8 22.2l-.9.9c-3.3 3.1-7.8 4.6-13.2 4.6zM390 326h-88v-24h29v-87.2l-30 6.4v-25.5l60-12.1V302h29v24z" />',viewBox:"0 0 512 512"},nu={name:"parameter-integer",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-262.6-58H96.8v-24.4h29v-87.2L96 220.8v-25l60.6-12.2v118h28.8V326zm59.2-26.2v.6h56.8V326h-92.2v-24l40.1-38.4c8.1-7.7 13.7-14.2 17-19.5 3.2-4.9 4.9-10.7 4.9-16.6 0-12.9-6.9-19.3-20.8-19.3-12 0-23.6 4.8-34.6 14.4v-27.2c12.2-7.9 25.9-11.8 41.2-11.8 14.3 0 25.5 3.6 33.5 10.8 8 7.2 12.1 16.9 12.1 29.1 0 16.3-9.8 33.2-29.4 50.7l-28.6 25.6zm82.1 21.6v-26.9c9.4 6.8 20.3 10.3 32.8 10.3 7.9 0 14-1.7 18.4-5.1 4.4-3.4 6.6-8.1 6.6-14.2 0-6.2-2.7-11.1-8.1-14.5-5.4-3.4-12.9-5.1-22.4-5.1h-12.6v-23.6H353c18.2 0 27.4-6.1 27.4-18.2 0-11.4-7-17.1-21-17.1-9.4 0-18.5 3-27.3 9.1V191c9.8-4.9 21.3-7.4 34.4-7.4 14.3 0 25.5 3.2 33.5 9.7 7.8 6 12.2 15.3 12 25.1 0 18.3-9.3 29.8-27.8 34.4v.5c9.9 1.2 17.7 4.8 23.4 10.8 5.7 5.9 8.8 13.8 8.6 21.9 0 13.1-4.8 23.4-14.4 31.1s-22.8 11.4-39.6 11.4c-14.7-.1-26.4-2.4-35.5-7.1z" />',viewBox:"0 0 512 512"},ru={name:"parameter-string",content:'<path d="M127.3 328.9c13.2 0 23.1-5.6 29.8-16.8h.4v14.4h29.2v-59.8c0-28.5-14.3-42.7-42.8-42.7-6.9.1-13.7.9-20.4 2.5-7.4 1.7-13.3 3.6-17.6 5.9v23.2c10.8-7.1 22.1-10.6 34-10.6s17.8 5.5 17.8 16.4l-27.2 3.6c-23 3-34.5 14.2-34.5 33.6 0 9.2 2.8 16.5 8.3 22s13.2 8.3 23 8.3zm12.2-47.5 18.2-2.3v6.7c0 6.1-1.8 11.2-5.5 15.2-3.6 4-8.8 6.2-14.2 6-4.2 0-7.5-1.1-9.9-3.4-2.4-2.2-3.8-5.4-3.7-8.6 0-7.7 5-12.3 15.1-13.6zm209 33.5c-9.5-9.3-14.3-21.3-14.3-36 0-17 5.1-30.4 15.3-40.2 10.2-9.8 23.8-14.7 40.9-14.7 11.8 0 20.3 1.6 25.6 4.7v26.2c-6.2-4.7-13.8-7.3-21.6-7.2-8.9 0-15.9 2.6-21 7.8-5.2 5.2-7.8 12.3-7.8 21.4 0 8.9 2.5 15.8 7.4 20.9 4.9 5 11.8 7.6 20.4 7.6 7.7 0 15.2-2.4 22.6-7.3v24.8c-7 4-17 6-30.2 6-15.3 0-27.8-4.7-37.3-14zm-104 .5h.4c6.3 9.4 15.6 14.1 27.9 14.1 13.6 0 24.5-5 32.6-15.1 8.1-10.1 12.2-23.5 12.2-40.1 0-15.3-3.5-27.4-10.5-36.3s-16.9-13.3-29.8-13.3c-14.1 0-24.9 5.8-32.5 17.5h-.4V179h-30.9v148h30.9l.1-11.6zm-.5-42.2c0-7.4 2-13.4 6.1-18.1 3.8-4.5 9.5-7.1 15.4-6.9 6.6 0 11.6 2.3 15.2 7 3.5 4.7 5.3 11.1 5.3 19.4 0 10-1.9 17.7-5.8 23.1-3.9 5.4-9.3 8.2-16.4 8.2-5.5.1-10.7-2.2-14.3-6.4-3.7-4.2-5.6-9.6-5.6-16l.1-10.3zM448 96H64c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32zm0 288H64V128h384v256z" />',viewBox:"0 0 512 512"},ou={name:"toc-section-level",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-32-288H192v-32h192v32zm0 64h-96v-32h96v32zm0 64h-96v-32h96v32zm0 64h-96v-32h96v32zm-192-32v-96l64 48-64 48z" />',viewBox:"0 0 512 512"},iu={name:"inherited",content:'<path d="M448 320v128H320V320h30.4L256 244.5 161.6 320H192v128H64V320h46.4l120-96H176V64h160v160h-54.4l120 96H448z" />',viewBox:"0 0 512 512"},au={name:"file-video",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM304 304.8v-.8c0-8.8-7.2-16-16-16h-10.1c24.2-3.1 42.8-24.3 41.8-49.6-1-24.8-21.2-45-46-46-27.4-1.1-49.9 20.8-49.9 48 0 24.4 18.2 44.6 41.8 47.6h-70.4c17.2-1.7 30.3-16.9 28.7-34.8-1.4-15.5-14.1-27.9-29.6-28.9-18.7-1.3-34.2 13.5-34.2 31.9 0 16.6 12.7 30.2 28.8 31.8H176c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h111.7c8.4 0 15.6-6.3 16.3-14.6.2-3.1-.3-6.1-1.7-8.7l1.8 1.1 44.9 27.1c1.3.8 2.7 1.2 4.1 1.2 1.3 0 2.7-.3 3.9-1 2.5-1.4 4.1-4.1 4.1-7v-95.8c0-2.9-1.5-5.5-4-6.9s-5.5-1.5-8 0L304 304.8zM193.5 272c-.5.1-1 .1-1.5.1s-1 0-1.5-.1h-.2c-8.6-.8-15.1-8.5-14.3-17.2.6-7.9 7.2-14.2 15.1-14.6 9.2-.5 16.8 6.9 16.8 16 .1 8.1-6.1 15-14.4 15.8zm82.3-.3c-.3 0-.6.1-.9.1-1 .1-2.1.2-3.1.2s-2.1 0-3.1-.2c-.3 0-.6-.1-.9-.1-15.9-2-27.9-15.7-27.9-31.7 0-17.6 14.4-32 32-32s32 14.4 32 32c-.1 16.1-12.1 29.7-28.1 31.7z" />',viewBox:"0 0 512 512"},su={name:"file-audio",content:'<path d="M218 353.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V256.6l96-22.6v87.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V192.2l-134 31.5v130.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},lu={name:"file-image",content:'<path d="M298.7 385.2S272.2 288 213.1 288s-85 128-85 128h256s-11.9-78.7-42.7-78.7-42.7 47.9-42.7 47.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM288 256c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32z" />',viewBox:"0 0 512 512"},cu={name:"file-presentation",content:'<path d="M127.5 214.4c0 9.9 6.1 18.2 14.5 21.2v113.1c0 12.4 9.6 22.4 21.3 22.4H246v11.8l-13.6 14.6c-1.9 2-3 4.8-3 8 0 6.3 4.7 11.3 10.5 11.3 2.8 0 5.5-1.3 7.4-3.3.1-.1.2-.3.4-.4l8.9-9.6 8.9 9.6c.1.1.2.3.4.4 1.9 2 4.5 3.3 7.4 3.3 5.8 0 10.5-5 10.5-11.3 0-3.1-1.2-6-3-8L267 382.8V371h78.8c11.1 0 20.1-9.3 20.9-21h1.3V235.9c9-2.6 15.7-11.3 15.7-21.6 0-12.4-9.5-22.4-21.3-22.4H148.8c-11.8.1-21.3 10.1-21.3 22.5zM299 237h43v89h-43v-89zm-64 26h43v63h-43v-63zm-64 18h43v45h-43v-45zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},uu={name:"file-data",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM128 229.3v149.4c0 20.6 19.1 37.3 42.7 37.3h170.6c23.6 0 42.7-16.7 42.7-37.3V229.3c0-20.6-19.1-37.3-42.7-37.3H170.7c-23.6 0-42.7 16.7-42.7 37.3zM247 379h-76v-47h76v47zm18-112h76v47h-76v-47zm0 65h76v47h-76v-47zm-18-19h-76v-47h76v47z" />',viewBox:"0 0 512 512"},hu={name:"file-disc-image",content:'<path d="M256.1 322.7c3.7 0 7.2-1.1 10.1-3s5.2-4.5 6.7-7.6c1.2-2.5 1.9-5.2 1.9-8.1 0-10.3-8.4-18.7-18.7-18.7-2.8 0-5.4.6-7.7 1.7-3.4 1.6-6.3 4.1-8.3 7.3-1.7 2.8-2.7 6.1-2.7 9.7 0 10.4 8.3 18.7 18.7 18.7zm-52.5-117.8c-19.1 10.1-34.9 25.5-45.4 44.4-9 16.1-14.1 34.7-14.1 54.4 0 61.7 50 111.7 111.7 111.7 20 0 38.8-5.3 55.1-14.5 18.6-10.6 33.9-26.4 43.9-45.4 8.1-15.5 12.7-33.1 12.7-51.8 0-61.7-50-111.7-111.7-111.7-18.9 0-36.7 4.7-52.2 12.9zm89.8 99.2c0 6.1-1.4 11.8-4 16.9l48.7 25.8c-8.3 15.8-20.9 28.9-36.3 37.7l-26.6-48.3c-5.6 3.3-12.1 5.3-19.1 5.3-20.6 0-37.4-16.7-37.4-37.4 0-6.8 1.8-13.2 5-18.7l-49.2-27.1c8.8-15.7 22-28.6 38-37l26.8 49.3c5-2.5 10.7-3.9 16.7-3.9 20.7 0 37.4 16.7 37.4 37.4zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},du={name:"file-programming",content:'<path d="m236 256-52.6-.2-48.6 48.6.1.1c-4.1 3.9-6.7 9.4-6.7 15.5 0 5.8 2.3 11 6 14.8l49.1 49.1 46.8-.2-59.7-59.7c.2-.9.3-1.8.3-2.8L236 256zm105.2 65.5c.1.9.2 1.9.3 2.8L281.9 384l46.8.2 49.1-49.1c3.7-3.8 6-9.1 6-14.8 0-6.1-2.6-11.6-6.7-15.5l.1-.1-48.6-48.7-52.6.2 65.2 65.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},pu={name:"parameters-byte-array",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-306.2-55.6c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.9 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.1-16.3 19.1-48.8s-6.2-48.9-18.7-48.9zm113.6 121.3c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.8 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.2-16.3 19.2-48.8s-6.3-48.8-18.8-48.9zM420 326h-88v-24h29v-87.2l-30 6.4v-25.4l61-12.3V302h28v24z" />',viewBox:"0 0 512 512"},fu={name:"parameters-unknown",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-64-64h-64v-32h64v32zm-96 0h-64v-32h64v32zm-96 0h-64v-32h64v32z" />',viewBox:"0 0 512 512"},mu={name:"file-error",content:'<path d="M160 320h32V160h-32v160zm16 32c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},vu={name:"files-error",content:'<path d="M64 64h224l-32-32H64c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h64v-32H64V64zm208 320c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zm-192-96h32V192h-32v160z" />',viewBox:"0 0 512 512"},gu={name:"data-rest",content:'<path d="M32 268v.33-.33zm0 .33.12 86.48v.32c.29 18.1 24.9 34.34 63.87 45.56l.01-86.77c-38.99-11.22-63.7-27.48-64-45.59zm192.01-113.1c105.67 0 191.4-27.41 191.93-61.29v-.33C415.94 59.59 330 32 224 32S32.06 59.59 32.07 93.61v.33c.53 33.88 86.27 61.29 191.94 61.29zM32 140.32s0 .01 0 0V140v.32zm384 86.81v-.32l-.12-86.81v.32c-.53 33.88-86.26 61.29-191.93 61.29-105.66 0-191.4-27.41-191.95-61.28l.12 86.48v.32c.53 33.88 86.26 61.29 191.93 61.29S415.46 261 416 227.13zM327 320h89l-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68zm-130.74 96.93 19.85 31.05h-27.17l-16.33-27.03c-1.22-2.05-2.39-3.88-3.52-5.49-1.12-1.61-2.26-2.99-3.41-4.14-1.15-1.15-2.34-2.03-3.59-2.64-1.25-.61-2.6-.92-4.06-.92h-6.37v40.21H128V342.95h37.5c25.49 0 38.23 9.52 38.23 28.56 0 3.66-.56 7.04-1.68 10.14-1.12 3.1-2.71 5.9-4.76 8.39s-4.53 4.64-7.43 6.45c-2.91 1.81-6.14 3.22-9.7 4.25v.29c1.56.49 3.08 1.28 4.54 2.38 1.46 1.1 2.88 2.38 4.25 3.85 1.37 1.46 2.67 3.04 3.92 4.72 1.23 1.69 2.37 3.34 3.39 4.95zm-17.43-42.48c0-9.18-5.49-13.77-16.48-13.77h-10.69v29.22h10.25c5.08 0 9.16-1.46 12.23-4.39 3.13-2.98 4.69-6.67 4.69-11.06zm70.75 30.32h34.35v-19.19h-34.35v-23.36h36.91v-19.26h-60.57v105.03h62.99V428.8h-39.33v-24.03zm115.58-6.01c-2.39-2.49-5.26-4.72-8.61-6.7-3.34-1.98-7.12-3.85-11.32-5.6-3.08-1.27-5.84-2.5-8.28-3.7-2.44-1.2-4.52-2.42-6.23-3.66-1.71-1.24-3.03-2.56-3.96-3.96-.93-1.39-1.39-2.97-1.39-4.72 0-1.61.41-3.06 1.25-4.36.83-1.29 2-2.4 3.52-3.33 1.51-.93 3.37-1.65 5.57-2.16 2.2-.51 4.64-.77 7.32-.77 1.95 0 4.02.15 6.19.44s4.36.75 6.56 1.36 4.33 1.38 6.41 2.31c2.07.93 3.99 2 5.75 3.22v-21.9c-3.56-1.37-7.46-2.38-11.68-3.04-4.22-.66-9.07-.99-14.54-.99-5.57 0-10.84.6-15.82 1.79s-9.36 3.06-13.15 5.6c-3.78 2.54-6.77 5.77-8.97 9.7-2.2 3.93-3.3 8.63-3.3 14.1 0 6.98 2.01 12.94 6.04 17.87 4.03 4.93 10.14 9.11 18.35 12.52 3.22 1.32 6.23 2.61 9.01 3.88 2.78 1.27 5.19 2.59 7.21 3.96 2.03 1.37 3.63 2.86 4.8 4.47s1.76 3.44 1.76 5.49c0 1.51-.37 2.92-1.1 4.21-.73 1.29-1.84 2.42-3.33 3.37-1.49.95-3.34 1.7-5.57 2.23-2.22.54-4.82.81-7.8.81-5.08 0-10.11-.89-15.09-2.67s-9.59-4.46-13.84-8.02v23.44c3.81 1.95 8.31 3.42 13.51 4.39s10.68 1.46 16.44 1.46c5.61 0 10.95-.54 16-1.61 5.05-1.07 9.49-2.84 13.29-5.31s6.82-5.69 9.05-9.67c2.22-3.98 3.33-8.9 3.33-14.76 0-4.25-.63-7.97-1.9-11.17a26.091 26.091 0 0 0-5.48-8.52zm14.94-55.81v19.26h29.81v85.77h23.73v-85.77h29.96v-19.26h-83.5z" />',viewBox:"0 0 512 512"},bu={name:"file-typescript",content:'<path d="M64 128h192v48h-72v208h-48V176H64v-48zm316.6 107.6c-35-12.6-50.1-21.6-50.1-40.6 0-14.6 12.9-29.9 43.3-29.9 24.6 0 42.9 7.1 52.3 11.8l11.5-36.6c-13.6-6.5-34.4-12.3-62.8-12.3-56.8 0-92.7 30.6-92.7 71.3 0 35.6 27.6 57.6 70.9 72.1 33.1 11.4 46.4 22.4 46.4 41.2 0 20.3-17.1 33.9-47.6 33.9-24.4 0-47.9-7.4-63.3-15.8l-10.6 37.6c14.3 8.3 43.1 15.8 70.8 15.8 67.6 0 99.3-34.6 99.3-74.6 0-35.8-21.9-57.4-67.4-73.9z" />',viewBox:"0 0 512 512"},yu={name:"table-position-start",content:'<path d="M480 320v32H32v-32h448zM32 416h448v-32H32v32zm192-160H32V32h224v224h-32zm-64-128h64V64h-64v64zm-32 32H64v64h64v-64zm0-96H64v64h64V64zm32 160h64v-64h-64v64zM32 480h320v-32H32v32z" />',viewBox:"0 0 512 512"},wu={name:"table-position-center",content:'<path d="M352 256V32H128v224h224zM256 64h64v64h-64V64zm-32 160h-64v-64h64v64zm0-96h-64V64h64v64zm32 32h64v64h-64v-64zM32 448h320v32H32v-32zm448-128v32H32v-32h448zM32 384h448v32H32v-32z" />',viewBox:"0 0 512 512"},xu={name:"table-position-end",content:'<path d="M32 384h448v32H32v-32zm0 96h320v-32H32v32zM480 32v224H256V32h224zM352 160h-64v64h64v-64zm0-96h-64v64h64V64zm96 96h-64v64h64v-64zm0-96h-64v64h64V64zM32 352h448v-32H32v32z" />',viewBox:"0 0 512 512"},ku={name:"list-roman-upper",content:'<path d="M32 32h32v128H32V32zm0 288h32V192H32v128zm64 0h32V192H96v128zM32 480h32V352H32v128zm64 0h32V352H96v128zm64 0h32V352h-32v128zM128 96h352v32H128V96zm64 160h288v32H192v-32zm64 160h224v32H256v-32zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z" />',viewBox:"0 0 512 512"},zu={name:"list-roman-lower",content:'<path d="M32 64h16v96H32V64zm0 256h16v-96H32v96zm32 0h16v-96H64v96zM32 480h16v-96H32v96zm32 0h16v-96H64v96zm32 0h16v-96H96v96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM128 96h352v32H128V96zm32 160h320v32H160v-32zm32 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},Cu={name:"import",content:'<path d="M96 480c-17.7 0-32-14.3-32-31.9V192c0-17.7 14.3-32 32-32h96.3v30.9H96.4V448h319.1V190.9h-95.9V160H416c17.7 0 32 14.3 32 31.9V448c0 17.7-14.3 32-31.9 32H96zm159.5-162 96.5-94h-64.5V32h-64v192H159l96.5 94z" />',viewBox:"0 0 512 512"},_u={name:"export",content:'<path d="M96 480c-4.3 0-8.5-.8-12.5-2.5-3.8-1.6-7.3-3.9-10.2-6.9-2.9-2.9-5.3-6.4-6.9-10.2-1.7-3.9-2.5-8.2-2.5-12.5V192c0-4.3.8-8.5 2.5-12.5 1.6-3.8 3.9-7.3 6.9-10.2 2.9-2.9 6.4-5.3 10.2-6.9 3.9-1.7 8.2-2.5 12.5-2.5h96.3v31.9H96.4v256.3h319.1V191.9h-95.9V160H416c17.7 0 32 14.3 32 31.9V448c0 17.7-14.3 32-31.9 32H96zm192-160V126h64.5L256 32l-96.5 94H224v194h64z" />',viewBox:"0 0 512 512"},Iu={name:"graph",content:'<path d="M64 448h416v32H32V32h32v416zm128-192-96 96v64h384V160L288 320l-96-64zM416 64l14.2 14.2L288 192l-96-64-96 96v64l96-96 96 64 174.5-145.4L480 128V64h-64z" />',viewBox:"0 0 512 512"},Eu={name:"chart-column-clustered",content:'<path d="M320 96v352h-32V288H128v160H64V32H32v448h448V96H320zm-64 352h-96V320h96v128z" />',viewBox:"0 0 512 512"},Su={name:"chart-column-stacked",content:'<path d="M320 192v256h-32V96H128v352H64V32H32v448h448V192H320zM160 448V256h96v192h-96zm192 0v-96h96v96h-96z" />',viewBox:"0 0 512 512"},Mu={name:"chart-column-stacked100",content:'<path d="M320 32v416h-32V32H128v416H64V32H32v448h448V32H320zM160 448V192h96v256h-96zm192 0V288h96v160h-96z" />',viewBox:"0 0 512 512"},Ou={name:"chart-column-range",content:'<path d="M480 448v32H32V32h32v416h416zM256 128h-96v224h96V128m32-32v288H128V96h160zm192-64H320v224h160V32z" />',viewBox:"0 0 512 512"},Ru={name:"chart-bar-clustered",content:'<path d="M64 448v-64h160V224H64v-32h352V32H32v448h448v-32H64zm128-192v96H64v-96h128z" />',viewBox:"0 0 512 512"},Hu={name:"chart-bar-stacked",content:'<path d="M64 448v-64h352V224H64v-32h256V32H32v448h448v-32H64zm0-384h96v96H64V64zm192 192v96H64v-96h192z" />',viewBox:"0 0 512 512"},Fu={name:"chart-bar-stacked100",content:'<path d="M480 192V32H32v448h448v-32H64v-64h416V224H64v-32h416zm-160 64v96H64v-96h256zM64 64h160v96H64V64z" />',viewBox:"0 0 512 512"},Vu={name:"chart-bar-range",content:'<path d="M480 448v32H32V32h32v416h416zm-96-192H160v96h224v-96m32-32v160H128V224h288zm64-192H256v160h224V32z" />',viewBox:"0 0 512 512"},Du={name:"chart-area-clustered",content:'<path d="m405.5 200.3-88.2-88.2-91.2 114L192 192l-37.6 45.1L64 146.8V32H32v448h448V96l-74.5 104.3zM320 160l66.7 66.7L320 320l-71.1-71.1L320 160zM64 192l69.8 69.8L64 345.6V192z" />',viewBox:"0 0 512 512"},Bu={name:"chart-area-stacked",content:'<path d="m320 165.3-128-64-128 128V32H32v448h448V32L320 165.3zm128 7.5L320 352 192 224 64 377.6v-103l134.3-134.3 126.1 63 123.6-103v72.5z" />',viewBox:"0 0 512 512"},Au={name:"chart-area-stacked100",content:'<path d="M32 32v448h448V32H32zm416 108.8L320 320 192 192 64 345.6V64h384v76.8z" />',viewBox:"0 0 512 512"},Nu={name:"chart-area-range",content:'<path d="M64 416v32h416v32H32V32h32v224l128-128 128 64L480 32v192L320 384l-127-64-129 96z" />',viewBox:"0 0 512 512"},Lu={name:"chart-line",content:'<path d="M64 448h416v32H32V32h32v416zm152.4-190.4L96 416v-51.2l97.2-129.6 41.2-33-27.3-34.1L96 224v-38l119.9-58.1 43.5 54.3 109-87.2 55.9 85.7L480 114v47l-38 46.7 38 58.3.5 53.3-58.5-87-82.5 101.3-85.1-106.4-38 30.4zm63-50.4 60.1 75.2 64.3-77.1-42.7-63.5-81.7 65.4z" />',viewBox:"0 0 512 512"},Pu={name:"chart-line-stacked",content:'<path d="M480 448v32H32V32h32v416h416zM224 292l128 64 128-96v-36l-128 96-128-64-128 96v36l128-96zm0-160 128 92 128-60v-36l-128 60-128-92-128 64v36l128-64z" />',viewBox:"0 0 512 512"},Tu={name:"chart-line-stacked100",content:'<path d="M480 448v32H32V32h32v416h416zM224 228l128 64 128-96v-36l-128 96-128-64-128 96v36l128-96zM480 32H96v32h384V32z" />',viewBox:"0 0 512 512"},ju={name:"chart-line-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-96c.1 17.7-14.2 32-31.9 32.1-17.7.1-32-14.2-32.1-31.9 0-1.3.1-2.7.2-4l-83.7-62.8c-8 3.4-17.1 3.4-25.2 0l-83.7 62.8c2.1 17.5-10.4 33.5-27.9 35.6s-33.5-10.4-35.6-27.9c-.7-6.2.3-12.4 3.1-18l-49-73.6-22.7 39.6c8.9 15.3 3.7 34.9-11.5 43.8s-34.9 3.7-43.8-11.5-3.7-34.9 11.5-43.8c4.9-2.8 10.4-4.3 16-4.4l30.6-53.5-28.4-42.6c-.7 0-1.4.1-2.1.1-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32c0 4.9-1.1 9.8-3.3 14.2l19.5 29.3 52.2-91.3c-8.9-15.3-3.8-34.9 11.5-43.8s34.9-3.8 43.8 11.5c2.5 4.4 4 9.2 4.3 14.3l78.4 39.2c14.7-9.7 34.6-5.7 44.3 9 .3.5.7 1.1 1 1.6h72.6c8.8-15.3 28.4-20.5 43.7-11.7 15.3 8.8 20.5 28.4 11.7 43.7s-28.4 20.5-43.7 11.7c-4.9-2.8-8.9-6.8-11.7-11.7h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-9.3-5.4-15.3-15.1-15.9-25.8l-78.4-39.2c-5.2 3.4-11.3 5.3-17.5 5.3l-60 105.2 57.9 86.9c.7 0 1.4-.1 2.1-.1 4.3 0 8.6.9 12.6 2.6l83.7-62.8c-2.2-17.5 10.3-33.5 27.8-35.7 17.5-2.2 33.5 10.3 35.7 27.8.3 2.6.3 5.2 0 7.8l83.7 62.8c16.2-7 35.1.6 42 16.8 1.6 4.1 2.5 8.4 2.5 12.7zm-48-192c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zm-128 0c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM176 96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zm-96 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm0 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 32c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},Uu={name:"chart-line-stacked-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-320c0 17.7-14.3 32-32 32-6.9 0-13.7-2.2-19.2-6.4L352 192c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.5.3-5 .9-7.4l-81.1-60.8c-11.1 6.3-24.8 5.4-35-2.2L96 160c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32c6.9 0 13.7 2.2 19.2 6.4L160 96c0-17.7 14.3-32 32-32s32 14.3 32 32c0 2.5-.3 5-.9 7.4l81.1 60.8c11.1-6.3 24.8-5.4 35 2.2L416 128c0-17.7 14.3-32 32-32s32 14.3 32 32zM80 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm16 128c0 17.7-14.3 32-32 32-5.5 0-11-1.4-15.8-4.2l-81.1 60.8c4.1 17.2-6.6 34.4-23.8 38.5-17.2 4.1-34.4-6.6-38.5-23.8-.6-2.4-.9-4.9-.9-7.4l-76.8-38.4c-10.2 7.6-23.9 8.5-35 2.2L95 376.5c4.1 17.2-6.6 34.4-23.8 38.5s-34.4-6.6-38.5-23.8 6.6-34.4 23.8-38.5c7.9-1.9 16.1-.7 23.1 3.3l81.1-60.8c-4.1-17.2 6.6-34.4 23.8-38.5 17.2-4.1 34.4 6.6 38.5 23.8.6 2.4.9 4.9.9 7.4l76.8 38.4c10.2-7.6 23.9-8.5 35-2.2l81.1-60.8c-4.1-17.2 6.5-34.5 23.7-38.6 17.2-4.1 34.5 6.5 38.6 23.7.6 2.5.9 5.1.9 7.6zM80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},Ku={name:"chart-line-stacked100-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-192c0 17.7-14.3 32-32 32-5.5 0-11-1.4-15.8-4.2l-81.1 60.8c4.1 17.2-6.6 34.4-23.8 38.5-17.2 4.1-34.4-6.6-38.5-23.8-.6-2.4-.9-4.9-.9-7.4l-76.8-38.4c-10.2 7.6-23.9 8.5-35 2.2L95 376.5c4.1 17.2-6.6 34.4-23.8 38.5s-34.4-6.6-38.5-23.8 6.6-34.4 23.8-38.5c7.9-1.9 16.1-.7 23.1 3.3l81.1-60.8c-4.1-17.2 6.6-34.4 23.8-38.5 17.2-4.1 34.4 6.6 38.5 23.8.6 2.4.9 4.9.9 7.4l76.8 38.4c10.2-7.6 23.9-8.5 35-2.2l81.1-60.8c-4.1-17.2 6.5-34.5 23.7-38.6 17.2-4.1 34.5 6.5 38.6 23.7.6 2.5.9 5.1.9 7.6zM80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm16-192c0 17.7-14.3 32-32 32-11.4 0-22-6.1-27.7-16h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-4.9-2.8-8.9-6.8-11.7-11.7h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-4.9-2.8-8.9-6.8-11.7-11.7H91.7C82.9 95.3 63.3 100.5 48 91.7S27.4 63.3 36.3 48 64.7 27.5 80 36.3c4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 9.9 5.7 16 16.3 16 27.7zM80 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},Wu={name:"chart-pie",content:'<path d="M473 310.3c.9-2.1 1.4-4.2 1.8-6.3l.1-.5c.5-2.1.9-4.1 1.3-6.2v-.2c.8-4.4 1.5-8.8 1.8-13.3v-.4c.5-2 .7-3.9.9-5.9l.1-1.7c.1-1.6.3-3.1.4-4.7 0-.7.1-1.4.1-2 .1-1.5.2-3.1.2-4.6 0-.6 0-1.3.1-1.9.1-2.2.1-4.3.1-6.5 0-31.8-6.7-63.2-19.8-92.2-1.5-3.3-3.1-6.6-4.7-9.8-4.1-8-8.7-15.8-13.8-23.3-5-7.4-10.5-14.6-16.4-21.3-1.2-1.3-2.4-2.7-3.6-4-2.4-2.7-4.9-5.3-7.4-7.8s-5.1-5-7.8-7.4c-2.7-2.4-5.4-4.7-8.1-7-4.1-3.4-8.4-6.7-12.8-9.8-20.7-14.8-43.8-25.9-68.3-32.9-5.3-1.5-10.7-2.8-16.2-4-3.6-.7-7.3-1.4-11-2s-7.4-1-11.2-1.3c-5.6-.6-11.3-.9-17.1-1.1-1.9 0-3.9-.1-5.8-.1C132.3 32 32 132.3 32 256s100.3 224 224 224c105 0 193.1-72.2 217-169.7zm-81.2 81.5c-74.4 75.6-195.9 76.6-271.5 2.2S43.7 198 118 122.5l2.2-2.2c36-36.2 84.9-56.4 135.8-56.3v192l186.3 46.6c-8.4 33.8-25.9 64.6-50.5 89.2z" />',viewBox:"0 0 512 512"},qu={name:"chart-doughnut",content:'<path d="M473 310.3c.9-2.1 1.4-4.2 1.8-6.3l.1-.5c.5-2.1.9-4.1 1.3-6.2v-.3c.8-4.4 1.5-8.8 1.8-13.3v-.4c.5-2 .7-3.9.9-5.9l.1-1.7c.1-1.6.3-3.1.4-4.7 0-.7.1-1.4.1-2 .1-1.5.2-3.1.2-4.6 0-.6 0-1.3.1-1.9.1-2.2.1-4.3.1-6.5 0-31.8-6.7-63.2-19.8-92.2-1.5-3.3-3.1-6.6-4.7-9.8-4.1-8-8.7-15.8-13.8-23.3-5-7.4-10.5-14.6-16.4-21.3-1.2-1.3-2.4-2.7-3.6-4-2.4-2.7-4.9-5.3-7.4-7.8s-5.1-5-7.8-7.4c-2.7-2.4-5.4-4.7-8.1-7-4.1-3.4-8.4-6.7-12.8-9.8-20.7-14.8-43.8-25.9-68.3-32.9-5.3-1.5-10.7-2.8-16.2-4-3.6-.7-7.3-1.4-11-2s-7.4-1-11.2-1.3c-5.6-.6-11.3-.9-17.1-1.1-1.9 0-3.9-.1-5.8-.1C132.3 32 32 132.3 32 256s100.3 224 224 224c105 0 193.1-72.2 217-169.7zM320 256c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64zm71.8 135.8c-74.4 75.6-195.9 76.6-271.5 2.2S43.7 198 118 122.4l2.2-2.2c36-36.1 84.9-56.3 135.8-56.2v96c-53 0-96 43-96 96s43 96 96 96c44 0 82.4-30 93.1-72.7l93.2 23.3c-8.4 33.8-25.9 64.6-50.5 89.2zm-39.8-133v.8-.8zm0 2.8v.9-.9zm-.4 2.9-.1.7.1-.7zm-.6 3.2v.2-.2zm-1 5.9v.1-.1zm0 2.8v.2-.2z" />',viewBox:"0 0 512 512"},$u={name:"chart-scatter",content:'<path d="M480 448v32H32V32h32v416h416zM160 96c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112-128c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},Gu={name:"chart-scatter-smooth-lines-markers",content:'<path d="M480 448v32H32V32h32v416h416zm0-384c0 17.7-14.3 32-32 32-15.6 0-28.9-11.2-31.5-26.5-9.2-1.3-22-1.8-39-.8C342.5 71 305.1 79.4 275 92c-19.1 7.9-47.9 23-60.7 45.1 12.7 12.3 13 32.6.6 45.3l-1.1 1.1c9.1 13.1 28.9 18.6 61.1 25.1 21 4.2 42.8 8.5 60.2 18.9 12.7 7.6 21.7 17.8 27 30.3 16.8 5.6 25.8 23.7 20.2 40.5-3.2 9.5-10.6 17-20.1 20.2-11.2 29.5-39.2 54.6-81.6 72.2-29.7 12.1-61.2 19.2-93.2 21.1-4 .2-7.8.3-11.4.3-9.6.1-19.3-.7-28.8-2.5-14.1 10.6-34.2 7.7-44.8-6.4-10.6-14.1-7.7-34.2 6.4-44.8s34.2-7.7 44.8 6.4c3.2 4.2 5.2 9.1 6 14.3 8.7 1 17.5 1.2 26.2.7 28.3-1.6 56.2-7.9 82.5-18.6 19.7-8.2 49.8-24.3 62-49.6-13-12-13.8-32.2-1.8-45.2.4-.5.8-.9 1.3-1.3-9.1-13.2-28.8-18.7-61.1-25.2-21-4.2-42.8-8.5-60.2-18.9-12.8-7.7-21.9-18-27.2-30.7-16.7-5.9-25.4-24.2-19.5-40.9 3.3-9.4 10.9-16.7 20.4-19.8 5-11 12-21 20.6-29.5 14.6-14.5 34.7-27.2 59.8-37.6C296 48.6 337 39.2 375.4 36.8c22.9-1.5 40-.4 52.8 2.1 13.9-11 34-8.6 44.9 5.3 4.5 5.6 6.9 12.6 6.9 19.8zm-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},Yu={name:"chart-scatter-smooth-lines",content:'<path d="M480 448v32H32V32h32v416h416zm-144-87.8c21.1-19.9 31.8-44.5 31.8-73.1 0-27.3-11-47.6-32.6-60.6-17.3-10.3-38.8-14.5-59.6-18.6-46.2-9-66.5-16.3-66.8-47.9-.4-41.2 71.8-65.5 114.8-76.4C385.4 68.1 448.4 64 449 64l-2-32c-2.7.2-66.2 4.3-130.8 20.5-38.7 9.7-69.8 21.8-92.4 36-31.4 19.8-47.3 43.9-47 71.7.2 27.2 11.3 47.6 32.9 60.5 17.3 10.3 38.9 14.5 59.7 18.6 19 3.7 36.9 7.2 49.3 14.6 11.9 7.1 17 17.1 17 33.2 0 19.7-7.1 36-21.7 49.7-24.1 22.8-68.9 38.2-129.3 44.6-29.2 3-58.5 3.9-87.8 2.6l-2 32c1.7.1 12.1.7 28 .7 51.4 0 159.8-6.4 213.1-56.5z" />',viewBox:"0 0 512 512"},Xu={name:"chart-scatter-straight-lines-markers",content:'<path d="M480 448v32H32V32h32v416h416zm0-384c0 17.7-14.3 32-32 32-7.4 0-14.6-2.6-20.3-7.3L224 165.1l116.4 93.1c16.5-6.4 35 1.7 41.4 18.2s-1.7 35-18.2 41.4c-10.3 4-22 2.4-30.8-4.2l-173.1 74.2c-2.1 17.5-18 30.1-35.6 28s-30.1-18-28-35.6c2.1-17.5 18-30.1 35.6-28 5.6.7 10.9 2.8 15.4 6.2l173.1-74.2c0-.4.1-.7.1-1l-116.7-93.4c-16.5 6.4-35-1.7-41.4-18.2s1.7-35 18.2-41.4c10.8-4.2 23-2.3 32 5.1l204.1-76.5c2.9-17.4 19.4-29.2 36.8-26.3C468.7 35.1 480 48.4 480 64zm-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},Zu={name:"chart-scatter-straight-lines",content:'<path d="M480 448v32H32V32h32v416h416zm-98.5-156.9-158.8-127L448 64V32L161.3 156l161.2 128.9L128 384v32l253.5-124.9z" />',viewBox:"0 0 512 512"},Ju={name:"chart-bubble",content:'<path d="M480 448v32H32V32h32v416h416zM192 256c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64m0-32c53 0 96 43 96 96s-43 96-96 96-96-43-96-96 43-96 96-96zm224 96c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32m0-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zM368 96c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zM176 64c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},Qu={name:"chart-candlestick",content:'<path d="M480 448v32H32V32h32v416h416zm-192-96h-64v64h-32v-64h-64V96h64V32h32v64h64v256zm-32-224h-96v192h96V128zm224 64h-64V64h-32v128h-64v128h64v64h32v-64h64V192z" />',viewBox:"0 0 512 512"},eh={name:"chart-ohlc",content:'<path d="M480 448v32H32V32h32v416h416zM224 320V96h-32v32h-64v32h64v256h32v-64h64v-32h-64zM416 96V32h-32v160h-64v32h64v96h32V128h64V96h-64z" />',viewBox:"0 0 512 512"},th={name:"chart-radar",content:'<path d="M272 32h-32v44L80.7 195.5l-41.1-10-7.6 31.1 42.3 10.3 81 148.5-62.7 86.3 25.9 18.8 67.2-92.5L344 412.3l49.5 68.2 25.9-18.8-46.8-64.4 40.8-163.1 65.8-15.3-7.3-31.2-74.9 17.4L272 80V32zm-32 202.2-119-28.9L240 116v118.2zm32 0v-109l88.4 88.4-88.4 20.6zm-95.9 112.5-59.8-109.6 118.5 28.8-58.7 80.8zm172 17.3-71-97.7 101.3-23.6L348.1 364zm-30.6 12-110.6-17 49.1-67.6 61.5 84.6z" />',viewBox:"0 0 512 512"},nh={name:"chart-radar-markers",content:'<path d="m472 187.7-51.2 11.9c-9.4-8-22.5-9.9-33.8-4.8L288.1 96c0-11.5-6.2-22.1-16.1-27.8V32h-32v36.4c-7.1 4.1-12.3 10.8-14.6 18.6L96.1 184c-8.6 0-16.7 3.4-22.8 9.5l-32.8-8-7.5 31.1 32.3 7.8c2.7 9.9 10 17.8 19.6 21.5l61 111.8c-3 8.9-2 18.7 2.9 26.7l-56.1 77.3 25.9 18.8L177 400c8.5-.2 16.5-3.8 22.3-10l122 18.8c3.9 13.8 16.5 23.2 30.8 23.2 1.9 0 3.9-.2 5.8-.5l35.6 49 25.9-18.8-37.1-51.1c3.7-10.4 1.7-22-5.2-30.6l31.4-125.2c11.8-3.2 20.8-12.9 23.1-24.9l47.7-11.1-7.3-31.1zm-111.4 25.9L272 234.2V125.1l88.6 88.5zM256 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm-21.1 39.9c1.6 1.4 3.3 2.6 5.1 3.7V234l-113.3-27.6c-.4-1.4-1-2.8-1.6-4.1l109.8-82.4zM96 232c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm80 152c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm7.2-47.2c-2.4-.5-4.8-.8-7.2-.8-1.8 0-3.7.2-5.5.5l-52.9-96.9c.7-.6 1.3-1.2 1.9-1.9l115.3 28-51.6 71.1zm23.6 22 49.1-67.6 61.5 84.6-110.6-17zM352 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm-3.9-52.3L277 265.9l97.4-22.6c.9 1.2 1.9 2.4 3 3.5l-29.3 116.9zM400 240c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z" />',viewBox:"0 0 512 512"},rh={name:"chart-radar-filled",content:'<path d="m354.4 372.1 65.1 89.6-25.9 18.8-75-103.2-109.2-21.8-90.8 125-25.9-18.8 90-123.8-67.3-101L32 216.6l7.5-31.1 65.8 16L240 107.2V32h32v80l99.2 99.2L472 187.7l7.3 31.2-98.8 23-26.1 130.2z" />',viewBox:"0 0 512 512"},oh={name:"chart-rose",content:'<path d="M226 251.4 44.3 329.3c-23.8-68.9-12.6-145.1 30-204.3L226 251.4zm-82.1-109.5L240 222V96.8c-36.2 3.6-70.1 19.6-96.1 45.1zm231.5 160.2L279 278l27.3 95.7c31.8-13.6 56.7-39.4 69.1-71.6zM96 353.4c37.3 69.1 115 106.1 192.2 91.4L244 290 96 353.4zM272 32v211.4l204.6 51.1c2.3-12.9 3.4-26 3.4-39.1C480 137.1 388.2 40.2 272 32z" />',viewBox:"0 0 512 512"},ih={name:"chart-choropleth",content:'<path d="M448 64v384H64V64h384m32-32H32v448h448V32zm-96 256v13.3l-64 64v37.5l13.3 13.3H416V264.6L384 288zm-50.7-160 64 64-32 32 18.8 23.4 32-21.3V96H288v18.8l13.3 13.3h32zM224 192l32 32-23.7 23.7L352 276v-20l-32-32 32-32-32-32h-32l-32-32V96h-32l-64 64 32 32h32zm0 86-32 10-32 32 32 32v32l-32 32h128v-64l50.4-50.4L224 278zm-29.4-37.8 16.2-16.2h-32l-64-64 64-64H96v167.5l98.6-23.3zM114.8 320l37.6-37.6L96 296.5V416h32v-13.3l32-32v-5.5L114.8 320z" />',viewBox:"0 0 512 512"}},3567:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ExternalDropZone:()=>wt,Upload:()=>yt,UploadActionButtons:()=>Oe,UploadAddButton:()=>Se,UploadDropZone:()=>De,UploadFileStatus:()=>r,UploadInput:()=>Ce,UploadList:()=>we,UploadListActionButton:()=>le,UploadListGroup:()=>ge,UploadListMultiItem:()=>fe,UploadListSingleItem:()=>he,UploadStatus:()=>Fe,UploadUI:()=>Ae,headerStatusUploaded:()=>p,headerStatusUploading:()=>f,invalidMaxFileSize:()=>m,uploadMessages:()=>M,uploadSelect:()=>b,uploadUtils:()=>P});var r,o=n(3899),i=n(8047);!function(e){e[e.UploadFailed=0]="UploadFailed",e[e.Initial=1]="Initial",e[e.Selected=2]="Selected",e[e.Uploading=3]="Uploading",e[e.Uploaded=4]="Uploaded",e[e.RemoveFailed=5]="RemoveFailed",e[e.Removing=6]="Removing"}(r||(r={}));var a,s=n(8130),l=n(2013),c=n(499),u="upload.cancel",h="upload.clearSelectedFiles",d="upload.dropFilesHere",p="upload.headerStatusUploaded",f="upload.headerStatusUploading",m="upload.invalidMaxFileSize",v="upload.remove",g="upload.retry",b="upload.select",y="upload.selectTitle",w="upload.selectNoFilesTitle",x="upload.uploadSelectedFiles",k="upload.total",z="upload.files",C="upload.statusUploaded",_="upload.statusUploadFailed",I="upload.dropZoneHint",E="upload.defaultDropZoneNote",S="upload.dropZoneNote",M=((a={})[u]="Cancel",a[h]="Clear",a[d]="Drop files here to upload",a[p]="Done",a[f]="Uploading...",a["upload.invalidFileExtension"]="File type not allowed.",a["upload.invalidFiles"]="Invalid file(s). Please check file upload requirements.",a[m]="File size too large.",a["upload.invalidMinFileSize"]="File size too small.",a[v]="Remove",a[g]="Retry",a[b]="Select files...",a[y]="Press to select more files",a[w]="No files selected",a[x]="Upload",a[k]="Total",a[z]="files",a[C]="File(s) successfully uploaded.",a[_]="File(s) failed to upload.",a[I]="Drag and drop files here to upload.",a[E]="",a[S]="Only {0} files are allowed.",a),O=n(3198),R=/&/g,H=/</g,F=/"/g,V=/'/g,D=/>/g,B=function(e){return(""+e).replace(R,"&").replace(H,"<").replace(D,">").replace(F,""").replace(V,"'")},A=function(e){var t=e.match(/\.([^\.]+)$/);return t?t[0]:""},N=function(e){var t=e.name,n=e.size;return{extension:A(t),name:B(t),getRawFile:function(){return e},size:n,status:r.Selected,progress:0,uid:""}},L=function(e){return!!(e.validationErrors&&e.validationErrors.length>0)};const P={fileHasValidationErrors:L,filesHaveValidationErrors:function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if(L(r))return!0}return!1},getTotalFilesSizeMessage:function(e){var t,n=0;if("number"!=typeof e[0].size)return"";for(t=0;t<e.length;t++)e[t].size&&(n+=e[t].size||0);return(n/=1024)<1024?n.toFixed(2)+" KB":(n/1024).toFixed(2)+" MB"},getAllFileInfo:function(e){var t,n=new Array;for(t=0;t<e.length;t++)n.push(N(e[t]));return n},getFileInfo:N,getFileExtension:A,htmlEncode:B,assignGuidToFiles:function(e,t){var n=(0,O.M)();return e.map((function(e){return e.uid=t?n:(0,O.M)(),e}))},getFileStatus:function(e){var t=!1,n=!1,o=!1,i=!1,a=function(e){e.forEach((function(e){e.status===r.Uploading&&(t=!0),e.status===r.Uploaded&&(n=!0),e.status===r.UploadFailed&&(o=!0),L(e)&&(i=!0)}))};return Array.isArray(e)?a(e):Object.keys(e).forEach((function(t){a(e[t])})),[t,n,o,i]}};var T=n(7037);const j={name:"arrow-rotate-cw-small",content:'<path d="M416 280c0 88.4-71.6 160-160 160S96 368.4 96 280s71.6-160 160-160V64l128 80-128 80v-56c-61.8 0-112 50.2-112 112s50.2 112 112 112 112-50.2 112-112c0-10-1.3-19.7-3.8-29l46.4-12.4c3.5 13.2 5.4 27.1 5.4 41.4z" />',viewBox:"0 0 512 512"},U={name:"cancel",content:'<path d="M256 32c-50.3 0-96.8 16.6-134.1 44.6-17.2 12.8-32.4 28.1-45.3 45.3C48.6 159.2 32 205.7 32 256c0 123.7 100.3 224 224 224 50.3 0 96.8-16.6 134.1-44.6 17.2-12.8 32.4-28.1 45.3-45.3 28-37.4 44.6-83.8 44.6-134.1 0-123.7-100.3-224-224-224zm0 384c-88.2 0-160-71.8-160-160 0-32.6 9.8-62.9 26.6-88.2l221.6 221.6C318.9 406.2 288.6 416 256 416zm133.4-71.8L167.8 122.6C193.1 105.8 223.4 96 256 96c88.2 0 160 71.8 160 160 0 32.6-9.8 62.9-26.6 88.2z" />',viewBox:"0 0 512 512"},K={name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},W={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},q={name:"upload",content:'<path d="M32 384v96h448v-96H32zm192-64h64V192h96L256 32 128 192h96v128z" />',viewBox:"0 0 512 512"},$={name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},G={name:"copy",content:'<path d="M384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zM64 384h64v32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h192l32 32H64v320z" />',viewBox:"0 0 512 512"},Y={name:"file",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},X={name:"file-txt",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-96v32H128v-32h256zM256 160v32H128v-32m256 64v32H128v-32h256zm-256 96v-32h224v32H128z" />',viewBox:"0 0 512 512"},Z={name:"file-pdf",content:'<path d="M240.9 160c-7.6 0-13.8 4-15.4 9.9-4.9 18.6.2 46.3 9.4 82.3l-2.4 5.9c-6.6 16.4-14.8 33-22.1 47.6l-1 1.9c-7.7 15.3-14.6 28.4-21 39.4l-6.5 3.5c-.5.3-11.6 6.3-14.3 7.9-22.2 13.6-36.9 28.9-39.4 41.2-.8 3.9-.2 8.9 3.7 11.2l6.3 3.2c2.7 1.4 5.6 2.1 8.6 2.1 15.8 0 34.2-20.2 59.5-65.3 29.2-9.7 62.5-17.8 91.6-22.3 22.2 12.8 49.5 21.7 66.8 21.7 3.1 0 5.7-.3 7.8-.9 3.3-.9 6.1-2.8 7.8-5.4 3.4-5.2 4-12.2 3.1-19.5-.3-2.1-2-4.8-3.8-6.6-5.1-5.2-16.5-7.9-33.7-8.1-11.7-.1-25.8.9-40.6 3-6.6-3.9-13.5-8.2-18.8-13.3-14.4-13.8-26.5-32.9-34-53.9.5-2 .9-3.7 1.3-5.4 0 0 8.1-47.1 6-63.1-.3-2.2-.5-2.8-1.1-4.5l-.7-1.9c-2.2-5.2-6.5-10.7-13.3-10.4l-3.8-.2zm2.7 8.4c5.1 0 8 13.1 8.2 25.4.3 12.3-2.6 20.9-6 27.3-2.9-9.4-4.3-24.3-4.3-34-.1-.1-.3-18.7 2.1-18.7zm.4 104.1c8.6 16 19.3 29.5 31.9 40.4 1.6 1.3 3.2 2.7 5 4.1-25.6 5.2-47.7 11.5-67.1 19.1 3.6-6.5 7.2-13.3 11-20.6 9.1-17.7 14.9-31.6 19.2-43zm102.2 51.6c9.3 0 12 0 21.1 2.3 9.1 2.4 9.2 7.2 7.6 8.2-1.6 1-6 1.6-8.9 1.6-9.2 0-20.7-4.3-36.8-11.4 6.3-.4 11.9-.7 17-.7zm-165.4 35.8c-17.7 28.8-29.5 40.3-37.3 43.8 2.9-8.1 14.3-24 31.2-38.1 1.1-.9 3.7-3.4 6.1-5.7zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},J={name:"file-config",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-41.8-124.6-23.7-17.9c1-5.7 1.6-11.5 1.6-17.4 0-6-.5-11.8-1.6-17.4l23.7-17.9c3.7-2.8 4.7-7.9 2.4-11.9l-19.4-33.5c-2.3-4-7.2-5.6-11.5-3.9L318.4 215c-8.8-7.5-19-13.5-30.2-17.4l-3.7-29.5c-.6-4.6-4.5-8-9.1-8h-38.7c-4.6 0-8.5 3.4-9.1 8l-3.7 29.5c-11.1 4-21.3 9.9-30.2 17.4l-27.4-11.6c-4.2-1.8-9.2-.1-11.5 3.9l-19.4 33.5c-2.3 4-1.3 9.1 2.4 11.9l23.7 17.9c-1 5.7-1.6 11.5-1.6 17.4 0 6 .5 11.8 1.6 17.4l-23.7 17.9c-3.7 2.8-4.7 7.9-2.4 11.9l19.4 33.5c2.3 4 7.2 5.6 11.5 3.9l27.4-11.6c8.8 7.5 19 13.5 30.2 17.4l3.7 29.5c.6 4.6 4.5 8 9.1 8h38.7c4.6 0 8.5-3.4 9.1-8l3.7-29.5c11.1-4 21.3-9.9 30.2-17.4l27.4 11.6c4.2 1.8 9.2.1 11.5-3.9l19.4-33.5c2.2-4 1.2-9-2.5-11.8zM256 336c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" />',viewBox:"0 0 512 512"},Q={name:"file-zip",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h64v32h32v32h-32v32h32v32h-32v32h32v32h-32v32h32v34.7c-18.6 6.6-32 24.4-32 45.3 0 26.5 21.5 48 48 48s48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V256h32v-32h-32v-32h32v-32h-32v-32h32V96h-32V64h96v96h96v288zm-192-80c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16z" />',viewBox:"0 0 512 512"},ee={name:"file-video",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM304 304.8v-.8c0-8.8-7.2-16-16-16h-10.1c24.2-3.1 42.8-24.3 41.8-49.6-1-24.8-21.2-45-46-46-27.4-1.1-49.9 20.8-49.9 48 0 24.4 18.2 44.6 41.8 47.6h-70.4c17.2-1.7 30.3-16.9 28.7-34.8-1.4-15.5-14.1-27.9-29.6-28.9-18.7-1.3-34.2 13.5-34.2 31.9 0 16.6 12.7 30.2 28.8 31.8H176c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h111.7c8.4 0 15.6-6.3 16.3-14.6.2-3.1-.3-6.1-1.7-8.7l1.8 1.1 44.9 27.1c1.3.8 2.7 1.2 4.1 1.2 1.3 0 2.7-.3 3.9-1 2.5-1.4 4.1-4.1 4.1-7v-95.8c0-2.9-1.5-5.5-4-6.9s-5.5-1.5-8 0L304 304.8zM193.5 272c-.5.1-1 .1-1.5.1s-1 0-1.5-.1h-.2c-8.6-.8-15.1-8.5-14.3-17.2.6-7.9 7.2-14.2 15.1-14.6 9.2-.5 16.8 6.9 16.8 16 .1 8.1-6.1 15-14.4 15.8zm82.3-.3c-.3 0-.6.1-.9.1-1 .1-2.1.2-3.1.2s-2.1 0-3.1-.2c-.3 0-.6-.1-.9-.1-15.9-2-27.9-15.7-27.9-31.7 0-17.6 14.4-32 32-32s32 14.4 32 32c-.1 16.1-12.1 29.7-28.1 31.7z" />',viewBox:"0 0 512 512"},te={name:"file-audio",content:'<path d="M218 353.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V256.6l96-22.6v87.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V192.2l-134 31.5v130.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},ne={name:"file-image",content:'<path d="M298.7 385.2S272.2 288 213.1 288s-85 128-85 128h256s-11.9-78.7-42.7-78.7-42.7 47.9-42.7 47.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM288 256c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32z" />',viewBox:"0 0 512 512"},re={name:"file-presentation",content:'<path d="M127.5 214.4c0 9.9 6.1 18.2 14.5 21.2v113.1c0 12.4 9.6 22.4 21.3 22.4H246v11.8l-13.6 14.6c-1.9 2-3 4.8-3 8 0 6.3 4.7 11.3 10.5 11.3 2.8 0 5.5-1.3 7.4-3.3.1-.1.2-.3.4-.4l8.9-9.6 8.9 9.6c.1.1.2.3.4.4 1.9 2 4.5 3.3 7.4 3.3 5.8 0 10.5-5 10.5-11.3 0-3.1-1.2-6-3-8L267 382.8V371h78.8c11.1 0 20.1-9.3 20.9-21h1.3V235.9c9-2.6 15.7-11.3 15.7-21.6 0-12.4-9.5-22.4-21.3-22.4H148.8c-11.8.1-21.3 10.1-21.3 22.5zM299 237h43v89h-43v-89zm-64 26h43v63h-43v-63zm-64 18h43v45h-43v-45zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},oe={name:"file-data",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM128 229.3v149.4c0 20.6 19.1 37.3 42.7 37.3h170.6c23.6 0 42.7-16.7 42.7-37.3V229.3c0-20.6-19.1-37.3-42.7-37.3H170.7c-23.6 0-42.7 16.7-42.7 37.3zM247 379h-76v-47h76v47zm18-112h76v47h-76v-47zm0 65h76v47h-76v-47zm-18-19h-76v-47h76v47z" />',viewBox:"0 0 512 512"},ie={name:"file-programming",content:'<path d="m236 256-52.6-.2-48.6 48.6.1.1c-4.1 3.9-6.7 9.4-6.7 15.5 0 5.8 2.3 11 6 14.8l49.1 49.1 46.8-.2-59.7-59.7c.2-.9.3-1.8.3-2.8L236 256zm105.2 65.5c.1.9.2 1.9.3 2.8L281.9 384l46.8.2 49.1-49.1c3.7-3.8 6-9.1 6-14.8 0-6.1-2.6-11.6-6.7-15.5l.1-.1-48.6-48.7-52.6.2 65.2 65.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"};var ae,se=(ae=function(e,t){return ae=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])},ae(e,t)},function(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}ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),le=function(e){function t(t){var n=e.call(this,t)||this;return n.buttonClassNames=function(e){var t=n.state,r=t.actionFocused,o=t.retryFocused;return(0,i.A)("k-icon-button k-upload-action",n.props.disabled?"k-disabled":"",r&&"action"===e||o&&"retry"===e?"k-focus":"")},n.onRetryFocus=function(){n.setState({retryFocused:!0})},n.onRetryBlur=function(){n.setState({retryFocused:!1})},n.onActionFocus=function(){n.setState({actionFocused:!0})},n.onActionBlur=function(){n.setState({actionFocused:!1})},n.onActionClick=function(){var e=n.props,t=e.status,o=e.uid,i=e.disabled,a=e.onCancel,s=e.onRemove;i||t===r.Removing||(t===r.Uploading?a.call(void 0,o):s.call(void 0,o))},n.onRetryClick=function(){var e=n.props,t=e.uid,r=e.disabled,o=e.onRetry;r||o.call(void 0,t)},n.state={retryFocused:!1,actionFocused:!1},n}return se(t,e),t.prototype.actionButtonTitle=function(e,t){return e===r.Uploading?t.toLanguageString(u,M[u]):t.toLanguageString(v,M[v])},t.prototype.retryButtonTitle=function(e){return e.toLanguageString(g,M[g])},t.prototype.render=function(){var e=this.props,t=e.status,n=e.progress,i=t===r.UploadFailed,a=t===r.Uploading,s=(t===r.Uploaded||t===r.Initial)&&!this.props.async.removeUrl,l=(0,c.provideLocalizationService)(this);return o.createElement("span",{className:"k-upload-actions"},a?o.createElement("span",{className:"k-upload-pct"},n,"%"):void 0,i?o.createElement(T.z,{type:"button",themeColor:"base",fillMode:"flat",tabIndex:-1,className:this.buttonClassNames("retry"),onFocus:this.onRetryFocus,onBlur:this.onRetryBlur,onClick:this.onRetryClick,"aria-label":this.retryButtonTitle(l),title:this.retryButtonTitle(l),icon:"arrow-rotate-cw-small",svgIcon:j}):void 0,s?void 0:o.createElement(T.z,{type:"button",themeColor:"base",fillMode:"flat",tabIndex:-1,className:this.buttonClassNames("action"),onFocus:this.onActionFocus,onBlur:this.onActionBlur,onClick:this.onActionClick,"aria-label":this.actionButtonTitle(t,l),title:this.actionButtonTitle(t,l),icon:t===r.Uploading?"cancel":"x",svgIcon:t===r.Uploading?U:W}))},t}(o.Component);(0,c.registerForLocalization)(le);var ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ue=function(){return ue=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},ue.apply(this,arguments)},he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ce(t,e),t.prototype.getFileExtension=function(e){return e.extension?e.extension.substring(1):""},t.prototype.getFileValidationMessage=function(e,t){var n=(0,c.provideLocalizationService)(this),r="";if(t)r=n.toLanguageString(_,M[_]);else if(e.validationErrors&&e.validationErrors.length>0){var o="upload.".concat(e.validationErrors[0]);r=n.toLanguageString(o,M[o])}return r},t.prototype.getFileExtensionIcon=function(e){switch(e.extension){case".png":case".jpg":case".jpeg":case".tiff":case".bmp":case".gif":return{name:"file-image",icon:ne};case".mp3":case".mp4":case".wav":return{name:"file-audio",icon:te};case".mkv":case".webm":case".flv":case".gifv":case".avi":case".wmv":return{name:"file-video",icon:ee};case".txt":return{name:"file-txt",icon:X};case".pdf":return{name:"file-pdf",icon:Z};case".ppt":case".pptx":return{name:"file-presentation",icon:re};case".csv":case".xls":case".xlsx":return{name:"file-data",icon:oe};case".html":case".css":case".js":case".ts":return{name:"file-programming",icon:ie};case".exe":return{name:"file-config",icon:J};case".zip":case".rar":return{name:"file-zip",icon:Q};default:return{name:"file",icon:Y}}},t.prototype.renderValidationError=function(e,t){return o.createElement("span",{className:"k-file-info",key:"2"},o.createElement("span",{className:"k-file-name",title:e.name},e.name),o.createElement("span",{className:"k-file-validation-message"},this.getFileValidationMessage(e,t)))},t.prototype.renderFileDetails=function(e){var t=(0,c.provideLocalizationService)(this).toLanguageString(C,M[C]);return o.createElement("span",{className:"k-file-info",key:"2"},o.createElement("span",{className:"k-file-name",title:e.name},e.name),100!==e.progress?o.createElement("span",{className:"k-file-size"},P.getTotalFilesSizeMessage([e])):o.createElement("span",{className:"k-file-validation-message"},t))},t.prototype.render=function(){var e=this.props,t=e.files,n=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,["files"]),r=t[0],a=P.getFileStatus([r]),c=a[1],u=a[2],h=a[3],d=!h&&!c&&!u;return o.createElement("div",{className:(0,i.A)("k-file-single")},d&&o.createElement(l.k,{value:r.progress||0}),o.createElement("span",{className:"k-file-icon-wrapper",key:"1"},o.createElement(s.a,ue({className:"k-file-icon"},this.getFileExtensionIcon(r))),o.createElement("span",{className:"k-file-state"})),h||u?this.renderValidationError(r,u):this.renderFileDetails(r),o.createElement(le,ue({uid:r.uid,status:r.status,progress:r.progress},n)))},t}(o.Component);(0,c.registerForLocalization)(he);var de=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pe=function(){return pe=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},pe.apply(this,arguments)},fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mapFiles=function(){return t.props.files.map((function(e){return o.createElement("span",{key:e.name,className:"k-file-info"},o.createElement("span",{className:"k-file-name",title:e.name},e.name),P.fileHasValidationErrors(e)?o.createElement("span",{className:"k-file-validation-message"},t.getFileValidationMessage(e)):o.createElement("span",{key:"".concat(e.name,"-size"),className:"k-file-size"},P.getTotalFilesSizeMessage([e])))}))},t.progress=function(){var e=t.props.files,n=0;return e.forEach((function(e){n+=e.progress||0})),n/e.length},t}return de(t,e),t.prototype.getFileValidationMessage=function(e){var t=(0,c.provideLocalizationService)(this),n="";if(e.validationErrors&&e.validationErrors.length>0){var r="upload.".concat(e.validationErrors[0]);n=t.toLanguageString(r,M[r])}return n},t.prototype.render=function(){var e=this.props,t=e.files,n=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,["files"]),r=P.getFileStatus(t),a=r[1],u=r[2],h=r[3],d=(0,c.provideLocalizationService)(this),p=d.toLanguageString(k,M[k]),f=d.toLanguageString(z,M[z]),m=d.toLanguageString(_,M[_]),v=d.toLanguageString(C,M[C]),g=this.progress();return o.createElement("div",{className:(0,i.A)("k-file-multiple")},!h&&!a&&!u&&o.createElement(l.k,{value:g||0}),o.createElement("span",{className:"k-file-icon-wrapper"},o.createElement(s.a,{className:"k-file-icon",name:"copy",icon:G})),o.createElement("span",{className:"k-multiple-files-wrapper"},this.mapFiles(),u?o.createElement("span",{className:"k-file-validation-message"},"".concat(t.length," ").concat(m)):100!==g?o.createElement("span",{className:"k-file-summary"},"".concat(p,": ").concat(t.length," ").concat(f,", ").concat(P.getTotalFilesSizeMessage(t))):o.createElement("span",{className:"k-file-summary k-text-success"},"".concat(t.length," ").concat(v))),o.createElement(le,pe({uid:t[0].uid,status:t[0].status,progress:g},n)))},t}(o.Component);(0,c.registerForLocalization)(fe);var me=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ve=function(){return ve=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},ve.apply(this,arguments)},ge=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t.onClick=function(){t.props.onClick.call(void 0,t.props.index)},t}return me(t,e),t.prototype.componentDidUpdate=function(){var e=this.props;e.navigationIndex===e.index&&this._element&&document.activeElement!==this._element&&this._element.focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.files,a=t.async,s=t.disabled,l=t.navigationIndex,c=t.index,u=t.listItemUI,h=t.onCancel,d=t.onRemove,p=t.onRetry,f=n[0],m=f.status===r.Uploaded||f.status===r.Initial,v=(0,i.A)("k-file",P.filesHaveValidationErrors(n)?"k-file-error k-file-invalid":"",f.status===r.UploadFailed||f.status===r.RemoveFailed?"k-file-error":"",f.status===r.Uploading?"k-file-progress":"",m?"k-file-success":"",l===c?"k-focus":""),g={async:a,disabled:s,onCancel:h,onRemove:d,onRetry:p},b=u||(1===n.length?he:fe);return o.createElement("li",{ref:function(t){return e._element=t},className:v,"data-uid":f.uid,tabIndex:-1,onClick:this.onClick},o.createElement(b,ve({files:n},g)))},t}(o.Component),be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(){return ye=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},ye.apply(this,arguments)},we=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return be(t,e),t.prototype.mapListGroups=function(){var e=this.props,t=e.groupedFiles,n=e.navigationIndex,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,["groupedFiles","navigationIndex"]);return Object.keys(t).map((function(e,i){var a=t[e];return o.createElement(ge,ye({key:e,files:a,index:i,navigationIndex:n},r))}))},t.prototype.render=function(){var e=(0,i.A)("k-upload-files","k-reset");return o.createElement("ul",{className:e},this.mapListGroups())},t}(o.Component),xe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ke=/(chrome)[ \/]([\w.]+)/i,ze=/(webkit)[ \/]([\w.]+)/i,Ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._input=null,t.onMouseDown=function(e){t.props.onMouseDown&&t.props.onMouseDown(e)},t.onAdd=function(){var e=navigator.userAgent,n=t._input;n&&(t.props.onAdd&&n.files&&t.props.onAdd.call(void 0,n.files),!e.match(ke)&&e.match(ze)||(n.type="",n.type="file"))},t}return xe(t,e),Object.defineProperty(t.prototype,"actionElement",{get:function(){return this._input},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.multiple,r=t.async,i=t.disabled,a=t.accept,s=t.hasFiles,l=t.ariaLabelledBy,u=t.ariaDescribedBy,h=t.id,d=(0,c.provideLocalizationService)(this),p=s?y:w,f=d.toLanguageString(p,M[p]),m=d.toLanguageString(b,M[b]);return o.createElement("input",{id:h,ref:function(t){return e._input=t},className:"k-hidden",autoComplete:"off",name:r.saveField,accept:a,type:"file",multiple:n,disabled:i,onChange:this.onAdd,onMouseDown:this.onMouseDown,title:f,"aria-label":void 0!==l?void 0:m,"aria-labelledby":l,"aria-describedby":u})},t}(o.Component);(0,c.registerForLocalization)(Ce);var _e=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ie=function(){return Ie=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},Ie.apply(this,arguments)},Ee=function(e){return o.createElement("span",{"aria-hidden":!0},e.message)},Se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t._uploadInput=null,t.focus=function(){t._element&&t._element.focus()},t.onClick=function(){t.actionElement&&t.actionElement.click(),t.props.onClick.call(void 0,t.props.addButtonIndex)},t.onInputMouseDown=function(e){t._element&&(e.preventDefault(),t._element.focus())},t}return _e(t,e),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadInput)return this._uploadInput.actionElement},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.navigationIndex,r=t.addButtonIndex,o=t.notFocusedIndex;n!==e.navigationIndex&&e.navigationIndex!==o&&n===r&&this._element&&this._element.focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.navigationIndex,r=t.addButtonIndex,a=t.tabIndex,s=t.id,l=t.selectMessageUI,u=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}(t,["navigationIndex","addButtonIndex","tabIndex","id","selectMessageUI"]),h=(0,c.provideLocalizationService)(this).toLanguageString(b,M[b]),d=l||Ee;return o.createElement("div",{className:"k-upload-button-wrap"},o.createElement(T.z,{type:"button",id:s,className:(0,i.A)("k-upload-button",n===r?"k-focus":""),themeColor:"base",tabIndex:a,onClick:this.onClick,"aria-label":h},o.createElement(d,{message:h})),o.createElement(Ce,Ie({id:s},u,{onMouseDown:this.onInputMouseDown,ref:function(t){return e._uploadInput=t}})))},t}(o.Component);(0,c.registerForLocalization)(Se);var Me=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._uploadElement=null,t._clearElement=null,t.onClearClick=function(){t.props.disabled||t.props.onClear&&t.props.onClear.call(void 0)},t.onUploadClick=function(){t.props.disabled||(t.props.onClick.call(void 0,t.props.uploadButtonIndex),t.props.onUpload&&t.props.onUpload.call(void 0))},t}return Me(t,e),t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.navigationIndex,r=t.clearButtonIndex,o=t.uploadButtonIndex;n!==e.navigationIndex&&(n===r&&this._clearElement&&this._clearElement.focus(),n===o&&this._uploadElement&&this._uploadElement.focus())},t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,r=t.navigationIndex,a=t.clearButtonIndex,s=t.uploadButtonIndex,l=t.actionsLayout,u=(0,c.provideLocalizationService)(this),d=(0,i.A)("k-actions","k-hstack",{"k-justify-content-start":"start"===l,"k-justify-content-center":"center"===l,"k-justify-content-end":"end"===l,"k-justify-content-stretch":"stretched"===l}),p=(0,i.A)("k-button k-button-md k-rounded-md k-button-solid k-button-solid-base","k-clear-selected",n?"k-disabled":"",r===a?"k-focus":""),f=(0,i.A)("k-button k-button-md k-rounded-md k-button-solid k-button-solid-primary","k-primary","k-upload-selected",n?"k-disabled":"",r===s?"k-focus":"");return o.createElement("div",{className:d},o.createElement("button",{ref:function(t){return e._clearElement=t},type:"button",className:p,tabIndex:-1,onClick:this.onClearClick},u.toLanguageString(h,M[h])),o.createElement("button",{ref:function(t){return e._uploadElement=t},type:"button",className:f,tabIndex:-1,onClick:this.onUploadClick},u.toLanguageString(x,M[x])))},t}(o.Component);(0,c.registerForLocalization)(Oe);var Re=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),He=function(){return He=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},He.apply(this,arguments)},Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Re(t,e),t.prototype.render=function(){var e=this.props,t=e.isUploading,n=e.isUploaded,r=e.isUploadFailed,a=(0,i.A)("k-upload-status"),l=t||r||!n?!t&&r?"exclamation-circle":t?"upload":"":"check",u=t||r||!n?!t&&r?{icon:$}:{}:{icon:K},h="",d=(0,c.provideLocalizationService)(this);return t?h=d.toLanguageString(f,M[f]):(n||r)&&(h=d.toLanguageString(p,M[p])),o.createElement("div",{className:a},o.createElement(s.a,He({name:l},u)),h)},t}(o.Component);(0,c.registerForLocalization)(Fe);var Ve=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),De=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastDocumentDragOver=null,t._lastElementDragOver=null,t._documentActive=!1,t._elementActive=!1,t.onDocumentDragEnter=function(){t.documentActive||(t.documentActive=!0,t._documentInterval=setInterval((function(){t.isDragOver(t._lastDocumentDragOver)&&(t.documentActive=!1,clearInterval(t._documentInterval),t._documentInterval=null,t._lastDocumentDragOver=null)}),100))},t.onDocumentDragOver=function(){t._lastDocumentDragOver=new Date},t.onElementDragEnter=function(){t.elementActive||(t.elementActive=!0,t._elementInterval=setInterval((function(){t.isDragOver(t._lastElementDragOver)&&(t.elementActive=!1,clearInterval(t._elementInterval),t._elementInterval=null,t._lastElementDragOver=null)}),100))},t.onElementDragOver=function(e){e.preventDefault(),t._lastElementDragOver=new Date},t.onDrop=function(e){e.preventDefault();var n=e.dataTransfer.files;n.length>0&&!t.props.disabled&&t.props.onAdd&&(t.props.multiple||n.length<=1)&&t.props.onAdd.call(void 0,n)},t.isDragOver=function(e){return(new Date).getTime()-(e||new Date).getTime()>100},t}return Ve(t,e),Object.defineProperty(t.prototype,"documentActive",{get:function(){return this._documentActive},set:function(e){var t=this.documentActive;this._documentActive=e,e!==t&&this.forceUpdate()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementActive",{get:function(){return this._elementActive},set:function(e){var t=this._elementActive;this._elementActive=e,e!==t&&this.setState({})},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){document.addEventListener("dragenter",this.onDocumentDragEnter),document.addEventListener("dragover",this.onDocumentDragOver)},t.prototype.componentWillUnmount=function(){document.removeEventListener("dragenter",this.onDocumentDragEnter),document.removeEventListener("dragover",this.onDocumentDragOver)},t.prototype.render=function(){var e=this.props,t=e.addButtonComponent,n=e.fileGroup,r=(0,c.provideLocalizationService)(this).toLanguageString(d,M[d]),a=(0,i.A)("k-dropzone k-upload-dropzone",this.documentActive?"k-dropzone-active":"",this.elementActive?"k-dropzone-hovered":""),s=P.getFileStatus(n),l=s[0],u=s[1],h=s[2],p=s[3],f=(0,i.A)("k-dropzone-hint",{});return o.createElement("div",{className:a,onDrop:this.onDrop,onDragEnter:this.onElementDragEnter,onDragOver:this.onElementDragOver},t,l||u||h||p?o.createElement(Fe,{isUploading:l,isUploaded:u,isUploadFailed:h}):o.createElement("div",{className:f},r))},t}(o.Component);(0,c.registerForLocalization)(De);var Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._container=null,t._uploadAddButton=null,t.focus=function(){if(t._uploadAddButton)return t._uploadAddButton.focus()},t.onAdd=function(e){t.props.onAdd&&t.props.onAdd.call(void 0,e)},t.onRetry=function(e){t.props.onRetry&&t.props.onRetry.call(void 0,e)},t.onCancel=function(e){t.props.onCancel&&t.props.onCancel.call(void 0,e)},t.onClear=function(){t.props.onClear&&t.props.onClear.call(void 0)},t.onUpload=function(){t.props.onUpload&&t.props.onUpload.call(void 0)},t.onRemove=function(e){t.props.onRemove&&t.props.onRemove.call(void 0,e)},t.onKeyDown=function(e){t.props.onKeyDown&&t.props.onKeyDown.call(void 0,e,t.isRtl)},t.onFocus=function(e){t.props.onFocus&&t.props.onFocus.call(void 0,e)},t.onBlur=function(e){t.props.onBlur&&t.props.onBlur.call(void 0,e)},t.onClick=function(e){t.props.onClick&&t.props.onClick.call(void 0,e)},t}return Be(t,e),Object.defineProperty(t.prototype,"async",{get:function(){var e=this.props;return{autoUpload:e.autoUpload,batch:e.batch,withCredentials:e.withCredentials,saveField:e.saveField,saveHeaders:e.saveHeaders,saveMethod:e.saveMethod,saveUrl:e.saveUrl,responseType:e.responseType,removeField:e.removeField,removeHeaders:e.removeHeaders,removeMethod:e.removeMethod,removeUrl:e.removeUrl}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupsCount",{get:function(){return Object.keys(this.props.groupedFiles).length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastGroupIndex",{get:function(){return this.groupsCount-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addButtonIndex",{get:function(){return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearButtonIndex",{get:function(){return this.lastGroupIndex+1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uploadButtonIndex",{get:function(){return this.lastGroupIndex+2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRtl",{get:function(){return this._container&&"rtl"===getComputedStyle(this._container).direction||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadAddButton)return this._uploadAddButton.actionElement},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.multiple,r=t.disabled,a=t.tabIndex,s=t.accept,l=t.showFileList,c=t.groupedFiles,u=t.navigationIndex,h=t.showActionButtons,d=t.actionsLayout,p=t.notFocusedIndex,f=t.listItemUI,m=t.id,v=t.ariaLabelledBy,g=t.ariaDescribedBy,b=t.selectMessageUI,y=(0,i.A)("k-upload",this.props.className,r?"k-disabled":""),w=o.createElement(Se,{id:m,ariaLabelledBy:v,ariaDescribedBy:g,ref:function(t){return e._uploadAddButton=t},accept:s,async:this.async,addButtonIndex:this.addButtonIndex,navigationIndex:u,notFocusedIndex:p,tabIndex:a,multiple:n,disabled:r,hasFiles:!!c&&Object.keys(c).length>0,selectMessageUI:b,onAdd:this.onAdd,onClick:this.onClick});return o.createElement("div",{ref:function(t){return e._container=t},className:y,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur},o.createElement(De,{addButtonComponent:w,fileGroup:c,disabled:r,multiple:n,onAdd:this.onAdd}),l?o.createElement(we,{groupedFiles:c,disabled:r,async:this.async,navigationIndex:u,listItemUI:f,onCancel:this.onCancel,onRemove:this.onRemove,onRetry:this.onRetry,onClick:this.onClick}):void 0,h?o.createElement(Oe,{disabled:r,navigationIndex:u,clearButtonIndex:this.clearButtonIndex,uploadButtonIndex:this.uploadButtonIndex,actionsLayout:d,onUpload:this.onUpload,onClear:this.onClear,onClick:this.onClick}):void 0)},t.defaultProps={disabled:!1,groupedFiles:{},multiple:!0,actionsLayout:"end"},t}(o.Component),Ne=n(189),Le=n(4703),Pe=n(3493),Te=n(7827),je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ue=function(){return Ue=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},Ue.apply(this,arguments)},Ke=-2,We=-1,qe=function(e){function t(t){var n=e.call(this,t)||this;return n._uploadUI=null,n.focus=function(){n._uploadUI&&n._uploadUI.focus()},n.onKeyDown=function(e,t){var r,o=n.navIndex,i=Object.keys(n.props.groupedFiles),a=i.length-1,s=n.props.autoUpload||0===i.length?a:a+1,l=a+1,c=l+1,u=o===Ke?We:o,h=o;switch(e.keyCode){case Pe.R.up:o>-1&&(h=u-1);break;case Pe.R.down:o<s&&(h=u+1);break;case Pe.R.left:t?o===l&&(h=u+1):o===c&&(h=u-1);break;case Pe.R.right:t?o===c&&(h=u-1):o===l&&(h=u+1);break;case Pe.R.enter:o!==We&&o!==Ke||n.actionElement&&Te.N&&-1===(null===(r=document.activeElement)||void 0===r?void 0:r.className.indexOf("k-upload-button"))&&n.actionElement.click(),o>=0&&o<=a&&n.onRetry(i[o]);break;case Pe.R.space:o!==We&&o!==Ke||n.actionElement&&n.actionElement.click(),e.preventDefault();break;case Pe.R.tab:h=Ke;break;case Pe.R.delete:o>=0&&o<=a&&(h=u-1,n.onRemove(i[o]));break;case Pe.R.esc:o>=0&&o<=a&&(h=u-1,n.onCancel(i[o]))}n.navIndex=h},n.onCancel=function(e){n.props.onCancel&&n.props.onCancel.call(void 0,e)},n.onClear=function(){n.navIndex=We,n.props.onClear&&n.props.onClear.call(void 0)},n.onUpload=function(){n.navIndex=We,n.props.onUpload&&n.props.onUpload.call(void 0)},n.onRetry=function(e){n.props.onRetry&&n.props.onRetry.call(void 0,e)},n.onRemove=function(e){n.navIndex=n.navIndex>We?n.navIndex-1:We,n.props.onRemove&&n.props.onRemove.call(void 0,e)},n.onAdd=function(e){n.navIndex=We,n.props.onAdd&&n.props.onAdd.call(void 0,e)},n.onClick=function(e){n.navIndex=e},n.onFocus=function(){n._blurTimeout&&(clearTimeout(n._blurTimeout),n._blurTimeout=void 0)},n.onBlurTimeout=function(){n.navIndex=Ke,n._blurTimeout=void 0},n.onBlur=function(){clearTimeout(n._blurTimeout),n._blurTimeout=window.setTimeout(n.onBlurTimeout)},n._navIndex=Ke,n}return je(t,e),Object.defineProperty(t.prototype,"navIndex",{get:function(){return this._navIndex},set:function(e){var t=this.navIndex;this._navIndex=e,e!==t&&this.forceUpdate()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadUI)return this._uploadUI.actionElement},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=Object.keys(e.groupedFiles).length,n=Object.keys(this.props.groupedFiles).length;t>n&&this.navIndex>We&&(this.navIndex=this.navIndex-(t-n))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onClear,t.onRemove,t.onRetry,t.onCancel,t.onUpload,t.onAdd,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}(t,["onClear","onRemove","onRetry","onCancel","onUpload","onAdd"]));return o.createElement(Ae,Ue({ref:function(t){return e._uploadUI=t},className:this.props.className,onKeyDown:this.onKeyDown,navigationIndex:this.navIndex,notFocusedIndex:Ke,onAdd:this.onAdd,onClear:this.onClear,onUpload:this.onUpload,onRemove:this.onRemove,onRetry:this.onRetry,onCancel:this.onCancel,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},n))},t}(o.Component),$e=n(4273),Ge=n.n($e),Ye=function(){return Ye=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},Ye.apply(this,arguments)},Xe=function(e,t){t.push(e)},Ze=function(e,t){Object.keys(e).forEach((function(n){t(e[n],n)}))};const Je=function(e){return(e||[]).map((function(e){return Ye({},e)}))},Qe=function(e,t){e.forEach((function(e){return Xe(e,t)}))},et=function(e){var t={};return e.forEach((function(e){t[e.uid]?t[e.uid].push(e):t[e.uid]=[e]})),t},tt=function(e){var t={};return Ze(e,(function(e,n){var o=!0;e.forEach((function(e){(e.status!==r.Selected||e.validationErrors&&e.validationErrors.length>0)&&(o=!1)})),o&&(t[n]=e)})),t},nt=function(e,t){Ze(e,(function(e){e.forEach((function(e){e.status=t}))}))},rt=function(e){var t=[];return Ze(e,(function(e){t.push.apply(t,e)})),t},ot=Ze;var it=function(){return it=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},it.apply(this,arguments)},at=function(e,t){Object.keys(t).forEach((function(n){e.append(n,t[n])}))};const st=function(e,t){return{headers:e,responseType:t.responseType,withCredentials:t.withCredentials}},lt=function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t},ct=function(e){var t=e.data,n=(e.config,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,["data","config"]));return it({response:t},n)};var ut="invalidMaxFileSize",ht="invalidMinFileSize",dt="invalidFileExtension",pt=function(e,t){t.length>0&&t.indexOf((e.extension||"").toLowerCase())<0&&(e.validationErrors=e.validationErrors||[],e.validationErrors.indexOf(dt)<0&&e.validationErrors.push(dt))},ft=function(e,t,n){0!==t&&(e.size||0)<t&&(e.validationErrors=e.validationErrors||[],e.validationErrors.indexOf(ht)<0&&e.validationErrors.push(ht)),0!==n&&(e.size||0)>n&&(e.validationErrors=e.validationErrors||[],e.validationErrors.indexOf(ut)<0&&e.validationErrors.push(ut))};var mt=n(4006),vt={name:"@progress/kendo-react-upload",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1684156432,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},gt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bt=function(){return bt=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},bt.apply(this,arguments)},yt=function(e){function t(t){var n=e.call(this,t)||this;return n._httpSubscriptions={},n._uploadNavigation=null,n.focus=function(){n._uploadNavigation&&n._uploadNavigation.focus()},n.triggerUpload=function(){n.onUpload()},n.uploadFiles=function(e){var t=n.async;nt(e,r.Uploading),ot(e,(function(e,r){var o=lt(t.saveHeaders||{}),i={target:n,files:e,headers:o,additionalData:{}};n.props.onBeforeUpload&&n.props.onBeforeUpload.call(void 0,i);var a,s,l,c,u=st(i.headers,n.async),h=(a=e,s=t.saveField,l=i.additionalData,c=new FormData,at(c,l),a.forEach((function(e){var t=e.getRawFile?e.getRawFile():"";t?c.append(s,t,e.name):c.append(s,t)})),c);if(n.isCustomSave)n.props.saveUrl(e,{formData:h,requestOptions:u},n.onUploadProgress).then((function(e){return n.onUploadSuccess(e.uid)})).catch((function(e){return n.onUploadError(e.uid)}));else{var d=Ge().CancelToken.source();n._httpSubscriptions[r]=d,Ge()(bt(bt({method:t.saveMethod,url:t.saveUrl,data:h,cancelToken:d.token},u),{onUploadProgress:function(e){return n.onUploadProgress(r,e)}})).then((function(e){return n.onUploadSuccess(r,e)})).catch((function(e){return n.onUploadError(r,e)}))}}))},n.removeFiles=function(e){var t=n.async;ot(e,(function(e,r){var o=lt(t.removeHeaders||{}),i={target:n,files:e,headers:o,additionalData:{}};n.props.onBeforeRemove&&n.props.onBeforeRemove.call(void 0,i);var a=e.map((function(e){return e.name})),s=st(i.headers,n.async),l=function(e,t,n){var r=new FormData;return at(r,n),e.forEach((function(e){r.append(t,e)})),r}(a,t.removeField,i.additionalData);n.isCustomRemove?n.props.removeUrl(e,{formData:l,requestOptions:s}).then((function(e){return n.onRemoveSuccess(e.uid)})).catch((function(e){return n.onRemoveError(e.uid)})):Ge()(bt({method:t.removeMethod,url:t.removeUrl,data:l},s)).then((function(e){return n.onRemoveSuccess(r,e)})).catch((function(e){return n.onRemoveError(r,e)}))}))},n.onUpload=function(){var e=n.fileStateCopy,t=et(e),r=tt(t);n.uploadFiles(r);var o=function(){if(n.props.onStatusChange){var t={target:n,newState:e,affectedFiles:rt(r)};n.props.onStatusChange.call(void 0,t)}};n.isControlled?o():n.setState({files:e},o)},n.onAdd=function(e){var t,r=P.getAllFileInfo(e);if(function(e,t){var n,r=(t.allowedExtensions||[]).map((function(e){return("."===e.substring(0,1)?e:"."+e).toLowerCase()})),o=t.maxFileSize||0,i=t.minFileSize||0;for(n=0;n<e.length;n++)pt(e[n],r),ft(e[n],i,o)}(r=P.assignGuidToFiles(r,n.async.batch),n.props.restrictions),t=n.props.multiple?n.fileStateCopy:[],Qe(r,t),n.async.autoUpload){var o=et(t);n.uploadFiles(tt(o))}var i=function(){if(n.props.onAdd){var e={target:n,newState:t,affectedFiles:r};n.props.onAdd.call(void 0,e)}};n.isControlled?i():n.setState({files:t},i)},n.onUploadProgress=function(e,t){var r=Math.round(100*t.loaded/t.total)||0,o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));if(i.length){i.forEach((function(e){e.progress=r}));var a=function(){if(n.props.onProgress){var e={target:n,newState:o,affectedFiles:i};n.props.onProgress.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)}},n.onUploadSuccess=function(e,t){var o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));i.forEach((function(e){e.status=r.Uploaded})),delete n._httpSubscriptions[e];var a=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i,response:t?ct(t):void 0};n.props.onStatusChange.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)},n.onUploadError=function(e,t){var o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));if(i.forEach((function(e){e.status=r.UploadFailed})),delete n._httpSubscriptions[e],i.length){var a=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i,response:t?ct(t):void 0};n.props.onStatusChange.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)}},n.onRemove=function(e){var t,o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e})),a=o.filter((function(t){return t.uid!==e}));if([r.Uploaded,r.Initial,r.RemoveFailed].indexOf(i[0].status)>-1){var s=((t={})[e]=i,t);nt(s,r.Removing),n.removeFiles(s);var l=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i};n.props.onStatusChange.call(void 0,e)}};n.isControlled?l():n.setState({files:o},l)}else{var c=function(){if(n.props.onRemove){var e={target:n,newState:a,affectedFiles:i};n.props.onRemove.call(void 0,e)}};n.isControlled?c():n.setState({files:a},c)}},n.onRemoveSuccess=function(e,t){var r=n.fileStateCopy,o=r.filter((function(t){return t.uid===e})),i=r.filter((function(t){return t.uid!==e})),a=function(){if(n.props.onRemove){var e={target:n,newState:i,affectedFiles:o,response:t?ct(t):void 0};n.props.onRemove.call(void 0,e)}};n.isControlled?a():n.setState({files:i},a)},n.onRemoveError=function(e,t){var o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));i.forEach((function(e){e.status=r.RemoveFailed}));var a=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i,response:t?ct(t):void 0};n.props.onStatusChange.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)},n.onRetry=function(e){var t=n.fileStateCopy,o=et(t.filter((function(t){return t.uid===e})));nt(o,r.Uploading),n.uploadFiles(o);var i=function(){if(n.props.onStatusChange){var e={target:n,newState:t,affectedFiles:rt(o)};n.props.onStatusChange.call(void 0,e)}};n.isControlled?i():n.setState({files:t},i)},n.onCancel=function(e){var t=n.fileStateCopy,r=t.filter((function(t){return t.uid!==e})),o=t.filter((function(t){return t.uid===e}));if(n._httpSubscriptions[e]&&(n._httpSubscriptions[e].cancel(),delete n._httpSubscriptions[e]),n.props.onCancel){var i={target:n,uid:e};n.props.onCancel.call(void 0,i)}var a=function(){if(n.props.onRemove){var e={target:n,newState:r,affectedFiles:o};n.props.onRemove.call(void 0,e)}};n.isControlled?a():n.setState({files:r},a)},n.onClear=function(){if(n.files.length){Object.keys(n._httpSubscriptions).forEach((function(e){n._httpSubscriptions[e].cancel()})),n._httpSubscriptions={};var e=function(){if(n.props.onRemove){var e={target:n,newState:[],affectedFiles:n.fileStateCopy};n.props.onRemove.call(void 0,e)}};n.isControlled?e():n.setState({files:[]},e)}},(0,mt.s)(vt),n.state={files:t.defaultFiles||[]},n}return gt(t,e),Object.defineProperty(t.prototype,"async",{get:function(){var e=this.props;return{autoUpload:e.autoUpload,batch:e.batch,removeField:e.removeField,removeHeaders:e.removeHeaders,removeMethod:e.removeMethod,removeUrl:e.removeUrl,responseType:e.responseType,saveField:e.saveField,saveHeaders:e.saveHeaders,saveMethod:e.saveMethod,saveUrl:e.saveUrl,withCredentials:e.withCredentials}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"files",{get:function(){return(this.isControlled?this.props.files:this.state.files)||[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isControlled",{get:function(){return!this.props.defaultFiles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCustomSave",{get:function(){return this.props.saveUrl&&"function"==typeof this.props.saveUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCustomRemove",{get:function(){return this.props.removeUrl&&"function"==typeof this.props.removeUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fileStateCopy",{get:function(){return this.isControlled?Je(this.props.files):Je(this.state.files)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadNavigation)return this._uploadNavigation.actionElement},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.showFileList,r=(t.onAdd,t.onRemove,t.onCancel,t.autoUpload),i=t.showActionButtons,a=t.actionsLayout,s=t.tabIndex,l=t.disabled,c=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}(t,["showFileList","onAdd","onRemove","onCancel","autoUpload","showActionButtons","actionsLayout","tabIndex","disabled"]),u=et(this.files),h=tt(u);return o.createElement(qe,bt({groupedFiles:u,className:this.props.className,showFileList:n&&!!Object.keys(u).length,showActionButtons:i&&!r&&!!Object.keys(h).length,actionsLayout:a,autoUpload:r,disabled:l,onAdd:this.onAdd,onRemove:this.onRemove,onClear:this.onClear,onUpload:this.onUpload,onRetry:this.onRetry,onCancel:this.onCancel,tabIndex:(0,Le.p)(s,l),ref:function(t){return e._uploadNavigation=t}},c))},t.defaultProps={autoUpload:!0,batch:!1,removeField:"fileNames",removeHeaders:{},removeMethod:"POST",removeUrl:"",responseType:"json",saveField:"files",saveHeaders:{},saveMethod:"POST",saveUrl:"",withCredentials:!0,restrictions:{allowedExtensions:[],maxFileSize:0,minFileSize:0},multiple:!0,showFileList:!0,showActionButtons:!0,actionsLayout:"end",disabled:!1},t.propTypes={autoUpload:Ne.bool,batch:Ne.bool,withCredentials:Ne.bool,saveField:Ne.string,saveHeaders:Ne.object,saveMethod:Ne.string,saveUrl:Ne.oneOfType([Ne.string,Ne.func]),responseType:Ne.oneOf(["arraybuffer","blob","json","text"]),removeField:Ne.string,removeHeaders:Ne.object,removeMethod:Ne.string,removeUrl:Ne.oneOfType([Ne.string,Ne.func]),multiple:Ne.bool,disabled:Ne.bool,showFileList:Ne.bool,showActionButtons:Ne.bool,actionsLayout:Ne.oneOf(["start","center","end","stretched"]),tabIndex:Ne.number,accept:Ne.string,listItemUI:Ne.oneOfType([Ne.func,Ne.string,Ne.shape({render:Ne.func.isRequired})]),restrictions:Ne.shape({allowedExtensions:Ne.arrayOf(Ne.string),maxFileSize:Ne.number,minFileSize:Ne.number}),files:Ne.arrayOf(Ne.shape({uid:Ne.string,name:Ne.string,extension:Ne.string,size:Ne.number,validationErrors:Ne.arrayOf(Ne.string),status:Ne.oneOf([r.Initial,r.RemoveFailed,r.Removing,r.Selected,r.UploadFailed,r.Uploaded,r.Uploading]),progress:Ne.number,getRawFile:Ne.func})),defaultFiles:Ne.arrayOf(Ne.shape({uid:Ne.string,name:Ne.string,extension:Ne.string,size:Ne.number,validationErrors:Ne.arrayOf(Ne.string),status:Ne.oneOf([r.Initial,r.RemoveFailed,r.Removing,r.Selected,r.UploadFailed,r.Uploaded,r.Uploading]),progress:Ne.number,getRawFile:Ne.func}))},t}(o.Component),wt=o.forwardRef((function(e,t){(0,mt.s)(vt);var n=o.useRef(null),r=o.useRef(null),a=o.useRef(null),l=o.useRef(!1),u=o.useRef(null),h=e.uploadRef,d=h.current,p=o.useState(!1),f=p[0],m=p[1],v=o.useMemo((function(){return new c.IntlService("en")}),[]),g=(0,c.useLocalization)(),b=g.toLanguageString(I,M[I]),y=o.useState(g.toLanguageString(E,M[E])),w=y[0],x=y[1],k=e.customHint||o.createElement("span",null,b),z=e.customNote||o.createElement("span",null,w),C=o.useCallback((function(){r.current&&r.current.focus()}),[r]);o.useImperativeHandle(n,(function(){return{element:r.current,focus:C,props:e}})),o.useImperativeHandle(t,(function(){return n.current})),o.useEffect((function(){if(d){var e=d.props.restrictions.allowedExtensions;if(e&&e.length){var t=v.format(g.toLanguageString(S,M[S]),[e]);x(t)}}}),[d,g,v]);var _=o.useCallback((function(e){return(new Date).getTime()-(e||new Date).getTime()>100}),[]),O=o.useCallback((function(t){t.preventDefault();var n=t.dataTransfer.files;n.length>0&&!e.disabled&&h&&h.current&&h.current.onAdd&&(t.preventDefault(),h.current.onAdd(n))}),[e.disabled,h]),R=o.useCallback((function(){l&&(l.current=!0,a.current=setInterval((function(){_(u.current)&&(m(!1),l.current=!1,clearInterval(a.current),a.current=null,u.current=null)}),100))}),[l,a,u,_]),H=o.useCallback((function(e){e.preventDefault(),u.current=new Date,m(!0)}),[u]);return o.createElement("div",{ref:r,id:e.id,className:(0,i.A)("k-external-dropzone",{"k-external-dropzone-hover":f,"k-disabled":e.disabled},e.className),tabIndex:(0,Le.p)(e.tabIndex,e.disabled,void 0),onDrop:O,onDragEnter:R,onDragOver:H},o.createElement("div",{style:e.style,className:"k-dropzone-inner"},o.createElement(s.a,{name:"upload",icon:q}),o.createElement("span",{className:"k-dropzone-hint"},k),o.createElement("span",{className:"k-dropzone-note"},z)))})),xt={id:Ne.string,tabIndex:Ne.number,editorRef:Ne.oneOfType([Ne.func,Ne.shape({current:Ne.any})]),disabled:Ne.bool};wt.displayName="KendoReactExternalDropZone",wt.propTypes=xt},4273:(e,t,n)=>{e.exports=n(1035)},7e3:(e,t,n)=>{"use strict";var r=n(4601),o=n(2466),i=n(8260),a=n(633),s=n(3150),l=n(896),c=n(7683),u=n(1305),h=n(8760),d=n(1875);e.exports=function(e){return new Promise((function(t,n){var p,f=e.data,m=e.headers,v=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(f)&&delete m["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+w)}var x=s(e.baseURL,e.url);function k(){if(b){var r="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),g()}),(function(e){n(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(k)},b.onabort=function(){b&&(n(u("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(u("Network Error",e,null,b)),b=null},b.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded",r=e.transitional||h.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},r.isStandardBrowserEnv()){var z=(e.withCredentials||c(x))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;z&&(m[e.xsrfHeaderName]=z)}"setRequestHeader"in b&&r.forEach(m,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete m[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new d("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),f||(f=null),b.send(f)}))}},1035:(e,t,n)=>{"use strict";var r=n(4601),o=n(3115),i=n(7491),a=n(4725),s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(8760));s.Axios=i,s.Cancel=n(1875),s.CancelToken=n(4470),s.isCancel=n(6460),s.VERSION=n(5017).version,s.all=function(e){return Promise.all(e)},s.spread=n(1140),s.isAxiosError=n(2784),e.exports=s,e.exports.default=s},1875:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4470:(e,t,n)=>{"use strict";var r=n(1875);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6460:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},7491:(e,t,n)=>{"use strict";var r=n(4601),o=n(633),i=n(7248),a=n(2519),s=n(4725),l=n(7646),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var h=e;n.length;){var d=n.shift(),p=n.shift();try{h=d(h)}catch(e){p(e);break}}try{o=a(h)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},7248:(e,t,n)=>{"use strict";var r=n(4601);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},3150:(e,t,n)=>{"use strict";var r=n(3660),o=n(9529);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},1305:(e,t,n)=>{"use strict";var r=n(1436);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},2519:(e,t,n)=>{"use strict";var r=n(4601),o=n(1189),i=n(6460),a=n(8760),s=n(1875);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},1436:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},4725:(e,t,n)=>{"use strict";var r=n(4601);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},2466:(e,t,n)=>{"use strict";var r=n(1305);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},1189:(e,t,n)=>{"use strict";var r=n(4601),o=n(8760);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},8760:(e,t,n)=>{"use strict";var r=n(4601),o=n(183),i=n(1436),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(7e3)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c},5017:e=>{e.exports={version:"0.22.0"}},3115:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},633:(e,t,n)=>{"use strict";var r=n(4601);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},9529:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},8260:(e,t,n)=>{"use strict";var r=n(4601);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},3660:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},2784:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7683:(e,t,n)=>{"use strict";var r=n(4601);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},183:(e,t,n)=>{"use strict";var r=n(4601);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},896:(e,t,n)=>{"use strict";var r=n(4601),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},1140:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7646:(e,t,n)=>{"use strict";var r=n(5017).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4601:(e,t,n)=>{"use strict";var r=n(3115),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},1779:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(3899),o=n(9844),i=r.forwardRef((function(e,t){var n=r.useRef(null),i=r.useRef(null),a=r.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);r.useImperativeHandle(i,(function(){return{element:a()||null}})),r.useImperativeHandle(t,(function(){return i.current})),r.useImperativeHandle(e.childRef,(function(){return n.current}));var s=r.useCallback((function(t){e.onPress&&e.onPress({element:a(),target:i.current,event:t})}),[a,e.onPress]),l=r.useCallback((function(t){e.onRelease&&e.onRelease({element:a(),target:i.current,event:t})}),[a,e.onRelease]),c=r.useCallback((function(t){e.onDragStart&&e.onDragStart({element:a(),target:i.current,event:t})}),[e,a]),u=r.useCallback((function(t){e.onDrag&&e.onDrag({element:a(),target:i.current,event:t})}),[a,e.onDrag]),h=r.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:a(),target:i.current,event:t})}),[a,e.onDragEnd]);return(0,o.O)(n,{onPress:s,onRelease:l,onDragStart:c,onDrag:u,onDragEnd:h},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));i.displayName="KendoReactDraggable"},3503:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=function(){return"undefined"!=typeof document?document:{}},o=function(){function e(){this.scrollbar=0}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=r();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML=" ",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!1,configurable:!0}),e}()},7827:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var r=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},8047:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={},r=function(e){return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r(e):function(e){return"object"==typeof e?Object.keys(e).forEach((function(t){n[t]=e[t]})):n[e]=!0}(e)}))};return r(e),Object.keys(n).map((function(e){return n[e]&&e||null})).filter((function(e){return null!==e})).join(" ")}},8259:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,u:()=>i});var r=n(3899),o=r.createContext(0),i=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext"},2333:(e,t,n)=>{"use strict";n.d(t,{Dg:()=>i,Gc:()=>a,Fg:()=>s,tk:()=>l});var r=n(3899),o=n(3228),i=r.createContext([void 0,o.Z]),a=r.createContext([void 0,o.Z]),s=r.createContext([[],o.Z,o.Z]),l=r.createContext([[],o.Z,o.Z])},5407:(e,t,n)=>{"use strict";function r(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}n.d(t,{N:()=>r})},4100:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function o(e){var t=[];return e.replace(r,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}},9124:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}}},4703:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var r=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0}},9659:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(4100),o={};function i(e){if(o[e])return o[e];var t=(0,r.E)(e);return o[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},o[e]}o.undefined=function(){}},3198:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var r=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n}},7191:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var r=n(7827),o=function(e){if(!r.N)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)";var o=t.createElement("div");o.appendChild(t.createTextNode("child")),o.style.position="fixed",o.style.top="10px",n.appendChild(o),t.body.appendChild(n);var i=10!==o.getBoundingClientRect().top;return t.body.removeChild(n),i}},848:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a,u:()=>s});var r=n(3899),o=n(9656),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)},a=function(){return r.createContext((function(e){return e}))},s=function(e,t){return r.forwardRef((function(n,a){var s=(0,o.Y)(e,n);return r.createElement(t,i({},s,{ref:a}))}))}},6059:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(3899),o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function i(e){var t=e.onFocus,n=e.onBlur,i=e.onSyncFocus,a=e.onSyncBlur,s=r.useRef(!1),l=r.useRef(0),c=r.useCallback((function(e){clearTimeout(l.current),l.current=window.setTimeout((function(){return e()}))}),[l]),u=r.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(l.current),i&&i.call(void 0,e[0]),s.current||(s.current=!0,t&&t.call.apply(t,o([void 0],e,!1)))}),[s,t,i]),h=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a&&a.call(void 0,e[0]),c((function(){s.current&&n&&(s.current=!1,n.call.apply(n,o([void 0],e,!1)))}))}),[s,c,n,a]);return r.useEffect((function(){return function(){clearTimeout(l.current)}}),[]),{onFocus:u,onBlur:h}}},9447:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=function(e){return[e,{}]}},8199:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(3899);function o(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}},9844:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var r,o=n(3899),i=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t},a=function(e){return e&&e.ownerDocument||window.document},s=function(e){var t=i(),n=a(e);return t.edge||t.safari?n.body:n.documentElement},l=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},c=function(e){var t=s(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&n.nodeType!==Node.DOCUMENT_NODE&&!l(n);)n=n.parentNode;return!n||n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?n:t};!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(r||(r={}));var u=function(){},h=function(e,t,n){void 0===n&&(n={});var o,i,l,h,d,p=n.onIsPressedChange,f=void 0===p?u:p,m=n.onIsScrollingChange,v=void 0===m?u:m,g=n.onVelocityChange,b=void 0===g?u:g,y=n.onOffsetChange,w=void 0===y?u:y,x=n.onPageOffsetChange,k=void 0===x?u:x,z=n.onClientOffsetChange,C=void 0===z?u:z,_=n.onScrollOffsetChange,I=void 0===_?u:_,E=n.onInitialScrollOffsetChange,S=void 0===E?u:E,M=t.payload,O=M.element,R=M.hint,H=e.autoScrollDirection,F=e.scrollableParent,V=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(t.event,e);switch(V.type){case r.POINTER_DOWN:if(V.type===r.POINTER_DOWN&&(!V.originalEvent.isPrimary||0!==V.originalEvent.button))break;case r.MOUSE_DOWN:if(V.type===r.MOUSE_DOWN&&V.originalEvent.which&&V.originalEvent.which>1||e.ignoreMouse)break;case r.TOUCH_START:if(V.type===r.TOUCH_START&&1!==V.originalEvent.touches.length)break;case r.START:var D=F||c(t.payload.element);S(D instanceof Window?{x:D.scrollX,y:D.scrollY}:{x:D.scrollLeft,y:D.scrollTop}),C({x:V.clientX,y:V.clientY}),k({x:V.pageX,y:V.pageY}),w({x:V.offsetX,y:V.offsetY}),f(!0),M.onPress&&M.onPress(V);break;case r.SCROLL:if(V.type===r.SCROLL&&!e.pressed)break;var B=F||c(O),A=B instanceof Window?{x:B.scrollX,y:B.scrollY}:{x:B.scrollLeft,y:B.scrollTop};V.scrollX=A.x-e.initialScrollOffset.x,V.scrollY=A.y-e.initialScrollOffset.y,I({x:V.scrollX,y:V.scrollY});case r.POINTER_MOVE:if(V.type===r.POINTER_MOVE&&!V.originalEvent.isPrimary)break;case r.MOUSE_MOVE:case r.TOUCH_MOVE:if(V.type===r.TOUCH_MOVE&&1!==V.originalEvent.touches.length)break;case r.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==V.originalEvent.type&&O){var N=a(O),L=F||c(N.elementFromPoint(V.clientX,V.clientY)),P=(o=V.clientX,i=V.clientY,l=function(e,t){var n=s(e);if(e===n)return{top:n.scrollTop,left:n.scrollLeft,bottom:n.scrollTop+t.innerHeight,right:n.scrollLeft+t.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(L,function(e){var t=a(e);return t&&t.defaultView||window}(O)),h={x:0,y:0},d=50,o-l.left<d?h.x=-(d-(o-l.left)):l.right-o<d&&(h.x=d-(l.right-o)),i-l.top<d?h.y=-(d-(i-l.top)):l.bottom-i<d&&(h.y=d-(l.bottom-i)),h);b({x:H&&!1===H.horizontal?0:P.x,y:H&&!1===H.vertical?0:P.y}),v(0!==P.y||0!==P.x)}!e.drag&&M.onDragStart&&M.onDragStart(V),M.onDrag&&M.onDrag(V);var T=function(e,t){var n=0,r=null;return t.forEach((function(t){if(t&&e){var o=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=Math.max(r.top,n.top),i=Math.max(r.left,n.left),a=Math.min(r.left+r.width,n.left+n.width),s=Math.min(r.top+r.height,n.top+n.height),l=a-i,c=s-o;if(i<a&&o<s){var u=r.width*r.height,h=n.width*n.height,d=l*c;return Number((d/(u+h-d)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r}(R||O,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(R||O)}))),j=e.drops.find((function(e){return e.element===T}));j&&T&&function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}(V.clientX,V.clientY,F||c(T))&&T!==O?(e.drop&&e.drop.element)!==T?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(V),j.onDragEnter&&j.onDragEnter(V)):j.onDragOver&&j.onDragOver(V):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(V)}C({x:V.clientX,y:V.clientY}),k({x:V.pageX,y:V.pageY});break;case r.POINTER_UP:if(V.type===r.POINTER_UP&&!V.originalEvent.isPrimary)break;case r.MOUSE_UP:case r.TOUCH_END:if(V.type===r.TOUCH_END&&1!==V.originalEvent.touches.length)break;case r.END:f(!1),v(!1),I({x:0,y:0}),M.onRelease&&M.onRelease(V),e.drop&&e.drop.onDrop&&e.drop.onDrop(V),e.drag&&M.onDragEnd&&M.onDragEnd(V);break;case r.POINTER_CANCEL:case r.CONTEXT_MENU:case r.TOUCH_CANCEL:case r.CANCEL:f(!1),v(!1),I({x:0,y:0}),M.onDragEnd&&M.onDragEnd(V),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(V)}},d=function(e,t){if(e){var n,r;e===s(e)?(n=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(n=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+t.y,i=n&&o>0&&o<e.scrollHeight,a=e.scrollLeft+t.x,l=r&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),l?e.scrollLeft+=t.x:r&&a<0&&(e.scrollLeft=0)}},p=n(3228),f=n(4912),m=n(2333),v=2e3;function g(e,t,n){void 0===n&&(n={});var r=t.onPress,i=void 0===r?p.Z:r,a=t.onRelease,s=void 0===a?p.Z:a,l=t.onDragStart,u=void 0===l?p.Z:l,g=t.onDrag,b=void 0===g?p.Z:g,y=t.onDragEnd,w=void 0===y?p.Z:y,x=n.hint,k=void 0===x?null:x,z=n.mouseOnly,C=void 0!==z&&z,_=n.autoScroll,I=void 0===_||_,E=n.scrollContainer,S=void 0===E?null:E,M=o.useState(!1),O=M[0],R=M[1],H=o.useState(!1),F=H[0],V=H[1],D=(0,f.W)(m.Gc)[0],B=(0,f.W)(m.Dg),A=B[0],N=B[1],L=o.useContext(m.tk)[0],P=o.useContext(m.Fg),T=P[0],j=P[1],U=P[2],K=o.useRef({x:0,y:0}),W=o.useRef(),q=o.useRef(!1),$=o.useRef(),G=o.useRef(null),Y=o.useRef(!1),X=o.useRef({x:0,y:0}),Z=o.useRef({x:0,y:0}),J=o.useRef({x:0,y:0}),Q=o.useRef({x:0,y:0}),ee=o.useRef({x:0,y:0}),te=o.useRef({x:0,y:0}),ne=Boolean("undefined"!=typeof window&&window.PointerEvent),re=!C&&ne,oe=o.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),ie=o.useCallback((function(){return k&&k.current&&k.current.element?k.current.element:k?k.current:null}),[k]),ae=o.useCallback((function(){return S&&S.current&&S.current.element?S.current.element:S?S.current:null}),[S]),se=o.useCallback((function(){return"object"==typeof I&&I.boundaryElementRef&&I.boundaryElementRef.current&&I.boundaryElementRef.current.element?I.boundaryElementRef.current.element:"object"==typeof I&&I.boundaryElementRef&&I.boundaryElementRef.current?I.boundaryElementRef.current:null}),[I]),le=o.useRef(null);o.useImperativeHandle(le,(function(){return{element:oe(),hint:ie(),onPress:xe,onDragStart:ze,onDrag:Ce,onDragEnd:_e,onRelease:ke,data:e.current}}));var ce=o.useCallback((function(){var e=oe();return e&&e.ownerDocument||document}),[oe]),ue=o.useCallback((function(){var e=ce();return e&&e.defaultView||window}),[ce]),he=o.useCallback((function(){return{drag:A?A.current:null,drop:D?D.current:null,drags:T.map((function(e){return e.current})),drops:L.map((function(e){return e.current})),pressed:O,ignoreMouse:q.current,scrollOffset:ee.current,offset:X.current,pageOffset:Z.current,initialScrollOffset:te.current,clientOffset:J.current,initialClientOffset:Q.current,velocity:K.current,autoScroll:Boolean("object"==typeof I?!1!==I.enabled:I),scrollableParent:se(),autoScrollDirection:"object"==typeof I?I.direction:{horizontal:!0,vertical:!0},isScrolling:F}}),[A,D,T,L,O,I,se,F]),de=o.useCallback((function(e){R(e)}),[]),pe=o.useCallback((function(e){V(e)}),[]),fe=o.useCallback((function(e){K.current=e}),[]),me=o.useCallback((function(e){X.current=e}),[]),ve=o.useCallback((function(e){J.current=e}),[]),ge=o.useCallback((function(e){Z.current=e}),[]),be=o.useCallback((function(e){Q.current=e}),[]),ye=o.useCallback((function(e){ee.current=e}),[]),we=o.useCallback((function(e){te.current=e}),[]),xe=o.useCallback((function(e){i(e)}),[i]),ke=o.useCallback((function(e){s(e)}),[s]),ze=o.useCallback((function(t){N(le,{target:e.current,event:t}),u(t)}),[N,e,u]),Ce=o.useCallback((function(e){b(e)}),[b]),_e=o.useCallback((function(t){Y.current||(N(null,{target:e.current,event:t}),w(t))}),[w,N,e]),Ie=o.useCallback((function(e){h(he(),{event:e,payload:le.current},{onVelocityChange:fe,onOffsetChange:me,onClientOffsetChange:ve,onPageOffsetChange:ge,onInitialClientOffsetChange:be,onScrollOffsetChange:ye,onInitialScrollOffsetChange:we,onIsPressedChange:de,onIsScrollingChange:pe})}),[he,fe,me,ge,ve,be,we,de,ye,pe]),Ee=o.useCallback((function(e){Ie(e)}),[Ie]),Se=o.useCallback((function(e){Ie(e)}),[Ie]),Me=o.useCallback((function(e){Ie(e)}),[Ie]),Oe=o.useCallback((function(e){Ie(e)}),[Ie]),Re=o.useCallback((function(e){Ie(e)}),[Ie]),He=o.useCallback((function(e){Ie(e)}),[Ie]),Fe=o.useCallback((function(e){Ie(e)}),[Ie]),Ve=o.useCallback((function(e){e.preventDefault(),Ie(e)}),[Ie]),De=o.useCallback((function(e){e.preventDefault(),Ie(e)}),[Ie]),Be=o.useCallback((function(e){e.preventDefault(),Ie(e)}),[Ie]),Ae=o.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=ue();q.current=!0,$.current=t.setTimeout((function(){q.current=!1}),v)}Ie(e)}),[Ie,ue]),Ne=o.useCallback((function(e){Ie(e)}),[Ie]),Le=o.useCallback((function(){var e=oe();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[oe]),Pe=o.useCallback((function(){return j(le),function(){U(le)}}),[U,j]);o.useEffect((function(){var e=ue();if(F){var t=ae()||c(document.elementFromPoint(J.current.x,J.current.y));e.clearInterval(W.current),W.current=e.setInterval((function(){d(t,{x:K.current.x,y:K.current.y})}),50)}return function(){e.clearInterval(W.current)}}),[oe,ae,ue,F]),o.useEffect(Le,[Le]),o.useEffect((function(){var e=ue(),t=oe(),n=ce();return re?(t&&(G.current=c(t),G.current&&G.current.addEventListener("scroll",Ne,{passive:!0}),t.addEventListener("pointerdown",Ee,{passive:!0})),O&&(n.addEventListener("pointermove",Se),n.addEventListener("pointerup",Oe,!0),n.addEventListener("contextmenu",Ve),n.addEventListener("pointercancel",Me,{passive:!0}))):(e.addEventListener("touchmove",p.Z,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",Re,{passive:!0}),C||(t.addEventListener("touchstart",De,{passive:!0}),O&&(t.addEventListener("touchmove",Be,{passive:!0}),t.addEventListener("touchend",Ae,{passive:!0})))),O&&(n.addEventListener("mousemove",He,{passive:!0}),n.addEventListener("mouseup",Fe,{passive:!0}))),function(){G.current&&G.current.removeEventListener("scroll",Ne),t&&(t.removeEventListener("pointerdown",Ee),t.removeEventListener("mousedown",Re),t.removeEventListener("touchstart",De),t.removeEventListener("touchmove",Be),t.removeEventListener("touchend",Ae)),n.removeEventListener("pointermove",Se),n.removeEventListener("pointerup",Oe,!0),n.removeEventListener("contextmenu",Ve),n.removeEventListener("pointercancel",Me),n.removeEventListener("mousemove",He),n.removeEventListener("mouseup",Fe),e.removeEventListener("touchmove",p.Z),e.clearTimeout($.current)}}),[O,ue,oe,ce,C,re,Ve,Re,He,Fe,Me,Ee,Se,Oe,Ae,Be,De,Ne]),o.useEffect((function(){return Y.current=!1,function(){Y.current=!0}}),[]),o.useLayoutEffect(Pe,[Pe])}},4912:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(3899),o=function(e,t){var n=r.useContext(e),o=n[0],i=n[1],a=r.useState(t),s=a[0],l=a[1];return[void 0!==o?o:s,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==o?i.apply(void 0,e):l(e[0])}]}},3322:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(3899),o=function(e,t,n){void 0===n&&(n={});var o=r.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),i=r.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:r.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:i,onMouseDown:o,onDoubleClick:r.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:r.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:r.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:r.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:r.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:r.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}}},9656:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(3899),o=function(e,t){return r.useContext(e)(t)}},1573:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var r=n(3899);function o(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}},7681:(e,t,n)=>{"use strict";n.d(t,{J:()=>u});var r=n(3899),o=n(189),i=n(8047),a=n(698),s=n(3218),l=n(3322),c=function(){return c=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},c.apply(this,arguments)},u=r.forwardRef((function(e,t){var n=e.className,o=e.name,u=e.themeColor,d=e.size,p=e.flip,f=e.style,m=e.id,v=e.tabIndex,g=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,["className","name","themeColor","size","flip","style","id","tabIndex"]),b=r.useRef(null),y=r.useRef(null);r.useImperativeHandle(b,(function(){return{element:y.current}})),r.useImperativeHandle(t,(function(){return b.current}));var w=r.useMemo((function(){return d||h.size}),[d]),x=r.useMemo((function(){return p||h.flip}),[p]),k=r.useMemo((function(){var e;return(0,i.A)("k-icon",o&&(0,s._z)(o),((e={})["k-color-".concat(u)]=u,e["k-flip-h"]="horizontal"===x||"both"===x,e["k-flip-v"]="vertical"===x||"both"===x,e),a.w[w],n)}),[o,u,w,x,n]),z=(0,l.i)(e,b);return r.createElement("span",c({ref:y},g,z,{className:k,id:m,tabIndex:v,style:f,role:"presentation"}))}));u.propTypes={style:o.object,classNames:o.string,name:o.string,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};var h={size:"default",flip:"default"};u.displayName="KendoIcon"},8130:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(3899),o=n(7681),i=n(6584),a=n(8300),s=function(){return s=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},s.apply(this,arguments)},l=r.forwardRef((function(e,t){var n,l=r.useContext(a.r),c=l.type,u=l.icons,h=e.icon,d=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,["icon"]),p=(null===(n=e.icon)||void 0===n?void 0:n.name)||e.name,f=p&&u&&u[p]&&"string"!=typeof u[p]?u[p]:h;return p=p&&u&&u[p]&&"string"==typeof u[p]?u[p]:p,"svg"===c&&f?r.createElement(i.l,s({},e,{icon:f,ref:t})):r.createElement(o.J,s({},d,{name:p,ref:t}))}));l.displayName="KendoIconWrap"},8300:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var r=n(3899).createContext({type:"svg"});r.displayName="KendoReactIconsContext"},6584:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(3899),o=n(189),i=n(8047),a=n(698),s=function(){return s=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},s.apply(this,arguments)},l=r.forwardRef((function(e,t){var n=e.children,o=e.className,l=e.svgClassName,u=e.icon,h=e.flip,d=e.id,p=e.tabIndex,f=e.size,m=e.style,v=e.svgStyle,g=e.themeColor,b=e.viewBox,y=(e.name,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,["children","className","svgClassName","icon","flip","id","tabIndex","size","style","svgStyle","themeColor","viewBox","name"])),w=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:w.current}}));var x=r.useMemo((function(){return u?u.name:c.icon}),[u]),k=r.useMemo((function(){return f||c.size}),[f]),z=r.useMemo((function(){return h||c.flip}),[h]),C=r.useMemo((function(){return b||c.viewBox}),[b]),_=r.useMemo((function(){var e;return(0,i.A)("k-svg-icon","k-svg-i-"+x,((e={})["k-color-".concat(g)]=g,e["k-flip-h"]="horizontal"===z||"both"===z,e["k-flip-v"]="vertical"===z||"both"===z,e),a.w[k],o)}),[x,g,k,z,o]),I=r.useMemo((function(){return e.width&&e.height?s({width:e.width,height:e.height},m):e.width?s({width:e.width,height:e.width},m):e.height?s({width:e.height,height:e.height},m):s({},m)}),[e.width,e.height,m]);return r.createElement("span",{className:_,style:I,ref:w},r.createElement("svg",s({id:d,className:l,style:v,"aria-hidden":!0,tabIndex:p,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:u?u.viewBox:C,dangerouslySetInnerHTML:u?{__html:u.content}:void 0},y),u?void 0:n))}));l.propTypes={style:o.object,classNames:o.string,children:o.any,icon:o.object,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};var c={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};l.displayName="KendoSvgIcon"},698:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var r={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"}},3218:(e,t,n)=>{"use strict";n.d(t,{iJ:()=>o,_z:()=>i,wi:()=>a});var r=n(189),o=function(e){return e.replace(/^k-i-/,"")},i=function(e){return"k-i-"+e},a=r.shape({name:r.string.isRequired,content:r.string.isRequired,viewBox:r.string.isRequired})},3493:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46}},6039:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AsyncFocusBlur:()=>F,BrowserSupportService:()=>o.O,COLLECTION_ACTION:()=>I,DragAndDrop:()=>ce,Draggable:()=>ue._,Droppable:()=>pe,FOCUSABLE_ELEMENTS:()=>be.x,FormComponent:()=>m,Icon:()=>U.J,IconWrap:()=>W.a,IconsContext:()=>q.r,Keys:()=>y.R,Navigation:()=>be.W,SvgIcon:()=>K.l,Typography:()=>ie,ZIndexContext:()=>r.$,canUseDOM:()=>i.N,canUseRef:()=>a,classNames:()=>s.A,clone:()=>u,cloneArray:()=>p,cloneDate:()=>c,cloneObject:()=>h,cloneValue:()=>d,createPropsContext:()=>V.Y,dispatchEvent:()=>O.N,extendDataItem:()=>E.u5,focusFirstFocusableChild:()=>f.n,getItemPath:()=>E.ym,getScrollbarWidth:()=>x.n,getTabIndex:()=>v.p,getter:()=>g.Y,guid:()=>b.M,hasRelativeStackingContext:()=>M.V,kendoThemeMaps:()=>me.G,mapTree:()=>E.Gy,mapTreeItem:()=>E.eY,memoizeOne:()=>ge,noop:()=>w.Z,setScrollbarWidth:()=>x.p,setter:()=>_,svgIconPropType:()=>$.wi,toIconClass:()=>$._z,toIconName:()=>$.iJ,useAsyncFocusBlur:()=>R.U,useCollection:()=>P,useCustomComponent:()=>N.A,useDir:()=>D.n,useDocument:()=>T,useDraggable:()=>fe.O,useDroppable:()=>de,useMouse:()=>A.i,usePropsContext:()=>L.Y,useRtl:()=>B.V,useWindow:()=>j,useZIndexContext:()=>r.u,validatePackage:()=>S.s,withPropsContext:()=>V.u});var r=n(8259),o=n(3503),i=n(7827),a=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},s=n(8047),l=n(3899),c=function(e){return e?new Date(e.getTime()):null};function u(e){var t={};return h(e,t),t}function h(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=d(r,t[n])}}function d(e,t){if(Array.isArray(e))return p(e);if(e instanceof Date)return c(e);if(l.isValidElement(e))return l.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return h(e,n),n}return e}function p(e){return e.map((function(e){return d(e,void 0)}))}var f=n(9124),m=function(){},v=n(4703),g=n(9659),b=n(3198),y=n(3493),w=n(3228),x=n(2665),k=n(4100),z={undefined:function(e){return e}},C=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function _(e){if(z[e])return z[e];var t=(0,k.E)(e);return z[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||C(t[a+1],r);o[t[i]]=n},z[e]}var I,E=n(8006),S=n(4006),M=n(7191),O=n(5407),R=n(6059),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)},F=function(e){var t=e.children,n=e.onFocus,r=e.onBlur,o=e.onSyncFocus,i=e.onSyncBlur,a=(0,R.U)({onFocus:n,onBlur:r,onSyncFocus:o,onSyncBlur:i});return l.createElement(l.Fragment,null,t.call(void 0,H({},a)))},V=n(848),D=n(8199),B=n(1573),A=n(3322),N=n(9447),L=n(9656);!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(I||(I={}));var P=function(e){void 0===e&&(e=[]);var t=l.useRef(e),n=l.useCallback((function(e){switch(e.type){case I.add:t.current.push(e.item);break;case I.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},T=function(e){var t=l.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]);return l.useCallback((function(){var e=t();return e&&e.ownerDocument||document}),[t])},j=function(e){var t=T(e);return l.useCallback((function(){var e=t();return e&&e.defaultView||window}),[t])},U=n(7681),K=n(6584),W=n(8130),q=n(8300),$=n(3218),G=n(189),Y={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},X={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},Z={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},J={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Q={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},ee={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},te={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ne={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},re=function(){return re=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},re.apply(this,arguments)},oe=function(e){var t=l.forwardRef((function(t,n){var r=t.id,o=t.style,i=t.className,a=t.fontSize,s=t.fontWeight,c=t.textAlign,u=t.textTransform,h=t.themeColor,d=t.margin,p=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}(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),f=l.useRef(null),m=l.useRef(null);l.useImperativeHandle(f,(function(){return{element:m.current,props:t}})),l.useImperativeHandle(n,(function(){return f.current}));var v=e;return l.createElement(v,re({id:r,ref:m,className:["k-".concat("p"===e?"paragraph":e),Y[a],X[s],ee[c],te[u],ne[h],function(){if(void 0!==d){if("string"==typeof d)return[Z[d]];if("number"==typeof d&&d>=0&&d<=24)return["k-m-".concat(d)];if("object"==typeof d){var e=[];return Object.keys(d).forEach((function(t){var n,r,o;null!==d[t]&&void 0!==d[t]&&e.push((n=t,o="string"==typeof(r=d[t])?J[r]:r,"".concat(Q[n]).concat(o)))})),e.join(" ")}}}(),i].filter((function(e){return void 0!==e})).join(" "),style:o},p),t.children)}));return t.propTypes={style:G.object,className:G.string,fontSize:G.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:G.oneOf(["light","normal","bold"]),margin:G.oneOfType([G.number,G.object,G.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:G.oneOf(["left","right","center","justify"]),textTransform:G.oneOf(["lowercase","uppercase","capitalize"]),themeColor:G.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography".concat(e.toUpperCase()),t},ie={h1:oe("h1"),h2:oe("h2"),h3:oe("h3"),h4:oe("h4"),h5:oe("h5"),h6:oe("h6"),p:oe("p"),code:oe("code"),pre:oe("pre")},ae=function(){return ae=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},ae.apply(this,arguments)},se=function(e,t,n){var r=l.useState(t||e),o=r[0],i=r[1];return[void 0!==t?t:o,l.useCallback((function(e,t){i(e),n&&n.call(void 0,ae(ae({},t),{value:e}))}),[n,i])]},le=n(2333),ce=function(e){var t=se(null,void 0),n=t[0],r=t[1],o=se(null,void 0),i=o[0],a=o[1],s=P([]),c=s[0],u=s[1],h=P([]),d=h[0],p=h[1];return l.createElement(le.Dg.Provider,{value:[n,r]},l.createElement(le.Gc.Provider,{value:[i,a]},l.createElement(le.Fg.Provider,{value:[c,function(e){u({type:I.add,item:e})},function(e){u({type:I.remove,item:e})}]},l.createElement(le.tk.Provider,{value:[d,function(e){p({type:I.add,item:e})},function(e){p({type:I.remove,item:e})}]},e.children))))};ce.displayName="KendoReactDragAndDrop";var ue=n(1779),he=n(4912);function de(e,t){void 0===t&&(t={onDragEnter:w.Z,onDragOver:w.Z,onDragLeave:w.Z,onDrop:w.Z});var n=t.onDragEnter,r=void 0===n?w.Z:n,o=t.onDragOver,i=void 0===o?w.Z:o,a=t.onDragLeave,s=void 0===a?w.Z:a,c=t.onDrop,u=void 0===c?w.Z:c,h=(0,he.W)(le.Gc)[1],d=l.useContext(le.tk),p=d[1],f=d[2],m=l.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),v=l.useRef(null);l.useImperativeHandle(v,(function(){return{element:m(),onDragEnter:g,onDragOver:b,onDragLeave:y,onDrop:x,data:e.current}}));var g=l.useCallback((function(t){h(v,{target:e.current,event:t}),r(t)}),[h,e,r]),b=l.useCallback((function(e){i(e)}),[i]),y=l.useCallback((function(t){h(null,{target:e.current,event:t}),s(t)}),[h,e,s]),x=l.useCallback((function(t){h(null,{target:e.current,event:t}),u(t)}),[h,e,u]),k=l.useCallback((function(){return p(v),function(){f(v)}}),[f,p]);l.useLayoutEffect(k,[k])}var pe=l.forwardRef((function(e,t){var n=l.useRef(null),r=l.useRef(null),o=l.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);l.useImperativeHandle(r,(function(){return{element:o()||void 0}})),l.useImperativeHandle(t,(function(){return r.current})),l.useImperativeHandle(e.childRef,(function(){return n.current}));var i=l.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:o(),target:r.current,event:t})}),[e.onDragEnter,o]),a=l.useCallback((function(t){e.onDragOver&&e.onDragOver({element:o(),target:r.current,event:t})}),[o,e.onDragOver]),s=l.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:o(),target:r.current,event:t})}),[e.onDragLeave,o]),c=l.useCallback((function(t){e.onDrop&&e.onDrop({element:o(),target:r.current,event:t})}),[e.onDrop,o]);return de(n,{onDragEnter:i,onDragOver:a,onDragLeave:s,onDrop:c}),e.children?l.cloneElement(l.Children.only(e.children),{ref:n}):null}));pe.displayName="KendoReactDroppable";var fe=n(9844),me=n(2697);function ve(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Number.isNaN(r)&&Number.isNaN(o)))return!1;var r,o;return!0}function ge(e,t){void 0===t&&(t=ve);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}var be=n(6604)},6604:(e,t,n)=>{"use strict";n.d(t,{x:()=>r,W:()=>o});var r=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],o=function(){function e(e){var t=this;this.rovingTabIndex=!0,this.update=function(){},this.focusNextIndex=function(e,n){var r=t.elements,o=r.indexOf(e)+n;o=o<0?r.length-1:o,t.focusElement(r[o%r.length],e)},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{}}return Object.defineProperty(e.prototype,"elements",{get:function(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this.elements;return e[e.length-1]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.elements.find((function(e){return e.matches(":focus")}))||null},enumerable:!1,configurable:!0}),e.prototype.focusNext=function(e){this.focusNextIndex(e,1)},e.prototype.focusPrevious=function(e){this.focusNextIndex(e,-1)},e.prototype.triggerKeyboardEvent=function(e){var t=e.target instanceof Element&&e.target.closest(this.selectors.join(",")),n=" "===e.key?"Space":e.key,r=e.nativeEvent.type;t&&this.keyboardEvents[r][n]&&this.keyboardEvents[r][n].call(void 0,t,this,e)},e.prototype.triggerMouseEvent=function(e){var t=e.target instanceof Element&&e.target.closest(this.selectors.join(",")),n=e.nativeEvent.type;t&&this.mouseEvents[n].call(void 0,t,this,e)},e.prototype.focusElement=function(e,t){e&&(t&&(this.rovingTabIndex&&t.removeAttribute("tabindex"),t.classList.remove("k-focus")),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),e.focus({preventScroll:!0}))},e}()},3228:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var r=function(){}},2665:(e,t,n)=>{"use strict";n.d(t,{n:()=>i,p:()=>a});var r=n(3503),o=n(7827),i=function(){return!(!o.N||!document.body)&&(new r.O).scrollbarWidth},a=function(){if(!o.N||!document.body)return!1;var e=(new r.O).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))}},2697:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var r={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},8006:(e,t,n)=>{"use strict";n.d(t,{Gy:()=>s,eY:()=>l,u5:()=>c,ym:()=>u});var r=function(){return r=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},r.apply(this,arguments)},o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function i(e,t,n){var i;return n?r(r({},e),((i={})[t]=n.length?o([],n,!0):void 0,i)):e&&e[t]?o([],e[t],!0):[]}function a(e,t,n){if(e[t]){var r=i(e,t).map((function(e){return a(e,t,n)}));return n(i(e,t,r))}return n(e)}var s=function(e,t,n){return o([],e.map((function(e){return a(e,t,n)})),!0)},l=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var s=i.length>1?i[i.length-2]:e,l=t[t.length-1],c=r(s[l]);s.splice(l,1,c)},c=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},u=function(e,t,n){var r=[],i=o([],t,!0);if(i.length){var a=e[i.shift()||0];for(r.push(a);i.length&&n;)a=a[n][i.shift()||0],r.push(a)}return r}},4006:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(9302);function o(e){if(void 0!==r)r.validatePackage(e);else{var t="License activation failed for ".concat(e.name,"\n");t+="The @progress/kendo-licensing script is not loaded.\n",t+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(t)}}},619:e=>{"use strict";e.exports=r},4407:e=>{"use strict";e.exports=n},9302:e=>{"use strict";e.exports=o},499:e=>{"use strict";e.exports=s},189:e=>{"use strict";e.exports=t},3899:t=>{"use strict";t.exports=e},994:e=>{"use strict";e.exports=i},6144:e=>{"use strict";e.exports=a}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return l[e].call(n.exports,n,n.exports,u),n.exports}return u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u(468)})()}));
|